git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Create an MD variant of the dummy Fedora image
[libguestfs.git]
/
images
/
guest-aux
/
make-ubuntu-img.sh
diff --git
a/images/guest-aux/make-ubuntu-img.sh
b/images/guest-aux/make-ubuntu-img.sh
index
4ddb40a
..
0c4d60a
100755
(executable)
--- a/
images/guest-aux/make-ubuntu-img.sh
+++ b/
images/guest-aux/make-ubuntu-img.sh
@@
-14,7
+14,7
@@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+# Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
# Make an Ubuntu image which is enough to fool the inspection heuristics.
# Make an Ubuntu image which is enough to fool the inspection heuristics.
@@
-36,7
+36,7
@@
DISTRIB_DESCRIPTION="Ubuntu 10.10 (Phony Pharaoh)"
EOF
# Create a disk image.
EOF
# Create a disk image.
-../run ../fish/guestfish <<
'EOF'
+../run ../fish/guestfish <<
EOF
sparse ubuntu.img.tmp 512M
run
sparse ubuntu.img.tmp 512M
run
@@
-69,9
+69,9
@@
write /etc/debian_version "5.0.1"
upload release.tmp /etc/lsb-release
write /etc/hostname "ubuntu.invalid"
upload release.tmp /etc/lsb-release
write /etc/hostname "ubuntu.invalid"
-upload guest-aux/debian-packages /var/lib/dpkg/status
+upload
${SRCDIR}/
guest-aux/debian-packages /var/lib/dpkg/status
-upload
bin-i586
-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