git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
out-of-tree build: generate ./run from template, fix image checks
[libguestfs.git]
/
images
/
guest-aux
/
make-fedora-img.sh
diff --git
a/images/guest-aux/make-fedora-img.sh
b/images/guest-aux/make-fedora-img.sh
index
a038432
..
3d6c471
100755
(executable)
--- a/
images/guest-aux/make-fedora-img.sh
+++ b/
images/guest-aux/make-fedora-img.sh
@@
-31,7
+31,7
@@
LABEL=ROOT / ext2 default 0 0
EOF
# Create a disk image.
EOF
# Create a disk image.
-../run ../fish/guestfish <<
'EOF'
+../run ../fish/guestfish <<
EOF
sparse fedora.img.tmp 512M
run
sparse fedora.img.tmp 512M
run
@@
-75,7
+75,7
@@
write /etc/sysconfig/network "HOSTNAME=fedora.invalid"
upload guest-aux/fedora-name.db /var/lib/rpm/Name
upload guest-aux/fedora-packages.db /var/lib/rpm/Packages
upload guest-aux/fedora-name.db /var/lib/rpm/Name
upload guest-aux/fedora-packages.db /var/lib/rpm/Packages
-upload bin-x86_64-dynamic /bin/ls
+upload
${SRCDIR}/
bin-x86_64-dynamic /bin/ls
mkdir /boot/grub
touch /boot/grub/grub.conf
mkdir /boot/grub
touch /boot/grub/grub.conf