copy out the initrd

ubuntu/precise
Adam Conrad 19 years ago
parent fc65dda734
commit 1931bf3870

4
debian/changelog vendored

@ -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 <lamont@ubuntu.com> Thu, 24 Nov 2005 10:15:44 -0700
-- Adam Conrad <adconrad@0c3.net> Wed, 14 Dec 2005 02:58:19 +1100
livecd-rootfs (0.25) hoary-cat; urgency=low

@ -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"

Loading…
Cancel
Save