mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-12 03:31:16 +00:00
Import patches-unapplied version 0.85 to ubuntu/karmic
Imported using git-ubuntu import. Changelog parent: 13d576c53f387b26c046be56081947ad9afa9652 New changelog entries: * Compress the initrd with LZMA by default, now that the kernel supports this across the board. Saves about 3MB on Ubuntu live CDs.
This commit is contained in:
parent
13d576c53f
commit
74f42c2ab3
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (0.85) karmic; urgency=low
|
||||
|
||||
* Compress the initrd with LZMA by default, now that the kernel supports
|
||||
this across the board. Saves about 3MB on Ubuntu live CDs.
|
||||
|
||||
-- Colin Watson <cjwatson@ubuntu.com> Tue, 23 Jun 2009 17:28:19 +0100
|
||||
|
||||
livecd-rootfs (0.84) karmic; urgency=low
|
||||
|
||||
* Don't force installation of libgoffice-gtk-0-6 on xubuntu; this package
|
||||
|
@ -70,6 +70,7 @@ export CASPER_GENERATE_UUID=1
|
||||
SRCMIRROR=http://archive.ubuntu.com/ubuntu
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
OPTMIRROR=
|
||||
INITRD_COMPRESSOR=lzma
|
||||
|
||||
select_mirror () {
|
||||
case $ARCH in
|
||||
@ -499,6 +500,12 @@ ${COMMENT}deb-src ${SECSRCMIRROR} ${STE}-security multiverse
|
||||
# ubiquity >= 1.9.4 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}"
|
||||
if [ "$INITRD_COMPRESSOR" != gz ]; then
|
||||
zcat "livecd.${FSS}.initrd-${SUBARCH}" | "$INITRD_COMPRESSOR" -9c \
|
||||
> "livecd.${FSS}.initrd-${SUBARCH}.new"
|
||||
mv "livecd.${FSS}.initrd-${SUBARCH}.new" \
|
||||
"livecd.${FSS}.initrd-${SUBARCH}"
|
||||
fi
|
||||
done
|
||||
NUMKVERS="$(set -- $KVERS; echo $#)"
|
||||
if [ "$NUMKVERS" = 1 ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user