Copy the kernel too

ubuntu/precise
Adam Conrad 19 years ago
parent a5e0a97664
commit 073c79e802

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (0.27) UNRELEASED; urgency=low
* Copy the kernel out of the livefs as well, so we have one that matches.
-- Adam Conrad <adconrad@0c3.net> Sat, 7 Jan 2006 00:25:10 +1100
livecd-rootfs (0.26) hoary-cat; urgency=low
[ Adam Conrad ]

@ -282,12 +282,14 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP}
SUBARCH="${KVER#*-*-}"
chroot ${ROOT} update-initramfs -k "${KVER}" -u
cp ${ROOT}/boot/initrd.img-"${KVER}" livecd.${FS}.initrd-"${SUBARCH}"
cp ${ROOT}/boot/vmlinu?-"${KVER}" livecd.${FS}.kernel-"${SUBARCH}"
done
NUMKVERS="$(set -- $KVERS; echo $#)"
if [ "$NUMKVERS" = 1 ]; then
# only one kernel
SUBARCH="${KVERS#*-*-}"
ln -s livecd.${FS}.initrd-"${SUBARCH}" livecd.${FS}.initrd
ln -s livecd.${FS}.kernel-"${SUBARCH}" livecd.${FS}.kernel
fi
mkdir -p livecd.mnt

Loading…
Cancel
Save