make sure preinstalled images do not have the build machine set as hostname brefore oem-config runs (LP: #605972)

ubuntu/precise
Oliver Grawert 14 years ago
parent faecaae5c7
commit a82f62e107

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (1.163) UNRELEASED; urgency=low
* make sure preinstalled images do not have the build machine set as
hostname before oem-config runs (LP: #605972)
-- Oliver Grawert <ogra@ubuntu.com> Thu, 10 Mar 2011 14:43:43 +0100
livecd-rootfs (1.162) natty; urgency=low livecd-rootfs (1.162) natty; urgency=low
* the name of the flavour needs to be ubuntu-headless, not just headless * the name of the flavour needs to be ubuntu-headless, not just headless

@ -100,6 +100,9 @@ livefs_ext2()
dd if=/dev/zero of=${MOUNTPOINT}/SWAP.swap bs=1048576 count=512 dd if=/dev/zero of=${MOUNTPOINT}/SWAP.swap bs=1048576 count=512
mkswap ${MOUNTPOINT}/SWAP.swap mkswap ${MOUNTPOINT}/SWAP.swap
# make sure we dont have the buildd name set as hostname (LP: #605972)
echo "localhost" >${MOUNTPOINT}/etc/hostname
# clean up # clean up
umount ${MOUNTPOINT} umount ${MOUNTPOINT}
rm -rf ${MOUNTPOINT} rm -rf ${MOUNTPOINT}

Loading…
Cancel
Save