mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-06 00:11:40 +00:00
Remove the kernel from the livefs; ubiquity >= 1.9.4 will copy it from
the CD root if it needs to (LP: #80385).
This commit is contained in:
parent
ab5872fb06
commit
2cb63fc7a5
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -3,6 +3,8 @@ livecd-rootfs (0.62) UNRELEASED; urgency=low
|
|||||||
* Use 'set -eu' rather than putting -eu on the #! line, so that running
|
* Use 'set -eu' rather than putting -eu on the #! line, so that running
|
||||||
'sh -x /usr/sbin/livecd.sh' for testing doesn't invoke different
|
'sh -x /usr/sbin/livecd.sh' for testing doesn't invoke different
|
||||||
error-handling behaviour.
|
error-handling behaviour.
|
||||||
|
* Remove the kernel from the livefs; ubiquity >= 1.9.4 will copy it from
|
||||||
|
the CD root if it needs to (LP: #80385).
|
||||||
|
|
||||||
-- Colin Watson <cjwatson@ubuntu.com> Tue, 08 Jul 2008 10:14:50 +0100
|
-- Colin Watson <cjwatson@ubuntu.com> Tue, 08 Jul 2008 10:14:50 +0100
|
||||||
|
|
||||||
|
@ -431,7 +431,9 @@ deb-src ${USERMIRROR} ${STE}-updates ${COMP}
|
|||||||
# we mv the initramfs, so it's not wasting space on the livefs
|
# we mv the initramfs, so it's not wasting space on the livefs
|
||||||
mv ${ROOT}/boot/initrd.img-"${KVER}" livecd.${FSS}.initrd-"${SUBARCH}"
|
mv ${ROOT}/boot/initrd.img-"${KVER}" livecd.${FSS}.initrd-"${SUBARCH}"
|
||||||
rm -f ${ROOT}/boot/initrd.img-"${KVER}".bak
|
rm -f ${ROOT}/boot/initrd.img-"${KVER}".bak
|
||||||
cp ${ROOT}/boot/vmlinu?-"${KVER}" livecd.${FSS}.kernel-"${SUBARCH}"
|
# ubiquity >= 1.9.3 copies the kernel from the CD root if it doesn't
|
||||||
|
# find one on the livefs, allowing us to save space
|
||||||
|
mv ${ROOT}/boot/vmlinu?-"${KVER}" livecd.${FSS}.kernel-"${SUBARCH}"
|
||||||
done
|
done
|
||||||
NUMKVERS="$(set -- $KVERS; echo $#)"
|
NUMKVERS="$(set -- $KVERS; echo $#)"
|
||||||
if [ "$NUMKVERS" = 1 ]; then
|
if [ "$NUMKVERS" = 1 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user