diff --git a/debian/changelog b/debian/changelog index 18195436..9ac36533 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ livecd-rootfs (0.26) hoary-cat-UNRELEASED; urgency=low - * dummy entry + * Copy the initrd out of the livefs for us in the SimplifiedLiveCD setup - -- LaMont Jones Thu, 24 Nov 2005 10:15:44 -0700 + -- Adam Conrad Wed, 14 Dec 2005 02:58:19 +1100 livecd-rootfs (0.25) hoary-cat; urgency=low diff --git a/livecd.sh b/livecd.sh index 4d26135f..976251e5 100755 --- a/livecd.sh +++ b/livecd.sh @@ -277,6 +277,8 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP} echo set postfix/mailname | chroot ${ROOT} /usr/bin/debconf-communicate postfix fi chroot ${ROOT} dpkg-query -W --showformat='${Package} ${Version}\n' > livecd.${FS}.manifest + KVER=`chroot ${ROOT} dpkg -l linux-image-2\*|grep ^i|awk '{print $2}'|sed 's/linux-image-//'` + cp ${ROOT}/boot/initrd.img-"$KVER" livecd.${FS}.initrd mkdir -p livecd.mnt MOUNTS="$MOUNTS $(pwd)/livecd.mnt"