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 livecd-rootfs (0.26) hoary-cat; urgency=low
[ Adam Conrad ] [ Adam Conrad ]

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

Loading…
Cancel
Save