mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-13 22:28:27 +00:00
Import patches-unapplied version 2.25 to ubuntu/oneiric
Imported using git-ubuntu import. Changelog parent: e6aabfe1aab53127accfc100450f825dda2f7862 New changelog entries: * include the md5 sum of the rootfs tarball in the initrd, so the installer can check against it for ac100 installs * post process the kernel and initrd for ac100 though abootimg to get a proper android boot image
This commit is contained in:
parent
e6aabfe1aa
commit
4236d780d0
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
||||
livecd-rootfs (2.25) oneiric; urgency=low
|
||||
|
||||
* include the md5 sum of the rootfs tarball in the initrd, so the installer
|
||||
can check against it for ac100 installs
|
||||
* post process the kernel and initrd for ac100 though abootimg to get a
|
||||
proper android boot image
|
||||
|
||||
-- Oliver Grawert <ogra@ubuntu.com> Wed, 17 Aug 2011 17:55:08 +0200
|
||||
|
||||
livecd-rootfs (2.24) oneiric; urgency=low
|
||||
|
||||
* add missing ;; to the mx5 case statement
|
||||
|
@ -164,6 +164,29 @@ if [ "$NUMFLAVOURS" = 1 ] && [ "$LB_LINUX_FLAVOURS" != "none" ]; then
|
||||
ln -sf "$PREFIX.initrd-$LB_LINUX_FLAVOURS" "$PREFIX.initrd"
|
||||
fi
|
||||
|
||||
if [ "$SUBARCH" = "ac100" ]; then
|
||||
# create the md5sum file for which we are actually doing all this
|
||||
md5sum $PREFIX.rootfs.tar.gz >chroot/installer.md5
|
||||
|
||||
# make sure update-initramfs feels cosy and warm in the environment
|
||||
lb chroot_proc install "$@"
|
||||
lb chroot_sysfs install "$@"
|
||||
lb chroot_devpts install "$@"
|
||||
|
||||
# re-create initrd to contain the installer.md5 file
|
||||
Chroot chroot "update-initramfs -k all -t -u -v"
|
||||
|
||||
# create boot.img
|
||||
Chroot chroot "abootimg --create /boot/installer-${KVERS}.img -f /boot/bootimg.cfg -r /boot/initrd.img-${KVERS} -k /boot/vmlinu?-${KVERS}"
|
||||
|
||||
# clean up
|
||||
lb chroot_devpts remove "$@"
|
||||
lb chroot_sysfs remove "$@"
|
||||
lb chroot_proc remove "$@"
|
||||
|
||||
cp "chroot/boot/installer-${KVERS}.img" "$PREFIX.installer-$FLAVOUR.img"
|
||||
fi
|
||||
|
||||
# LTSP chroot building (only in 32bit and for Edubuntu (DVD))
|
||||
case $PROJECT in
|
||||
edubuntu-dvd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user