Import patches-unapplied version 2.135 to ubuntu/saucy-proposed

Imported using git-ubuntu import.

Changelog parent: 4f5da1d8d3

New changelog entries:
  [ Colin Watson ]
  * BuildLiveCD: Time out lockfile after 12 hours, which should be enough
    for even the longest build queue to clear.
  [ Oliver Grawert ]
  * add live-build script for subarch specific Ubuntu Touch initrd
    and boot image creation
impish
Oliver Grawert 12 years ago committed by usd-importer
parent 4f5da1d8d3
commit c29877b2fc

@ -97,7 +97,8 @@ fi
FS="$1" FS="$1"
shift shift
lockfile ~/buildLiveCD.lock || exit 1 # 12 hours should be enough for even the longest build queue to clear.
lockfile -8 -r$((12 * 60 * 60 / 8)) ~/buildLiveCD.lock || exit 1
trap "finish" 0 trap "finish" 0
trap "rm -f ~/buildLiveCD.lock; exit 1" 1 2 3 15 trap "rm -f ~/buildLiveCD.lock; exit 1" 1 2 3 15
exec > $BUILD_LOG 2>&1 exec > $BUILD_LOG 2>&1

12
debian/changelog vendored

@ -1,3 +1,15 @@
livecd-rootfs (2.135) saucy; urgency=low
[ Colin Watson ]
* BuildLiveCD: Time out lockfile after 12 hours, which should be enough
for even the longest build queue to clear.
[ Oliver Grawert ]
* add live-build script for subarch specific Ubuntu Touch initrd
and boot image creation
-- Oliver Grawert <ogra@ubuntu.com> Mon, 27 May 2013 14:34:17 +0200
livecd-rootfs (2.134) saucy; urgency=low livecd-rootfs (2.134) saucy; urgency=low
* remove qt5-proper PPA from ubuntu touch builds * remove qt5-proper PPA from ubuntu touch builds

@ -403,6 +403,33 @@ if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then
fi fi
if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
for subarch in maguro manta grouper mako; do
lb chroot_proc install "$@"
lb chroot_sysfs install "$@"
lb chroot_devpts install "$@"
kpkg="$(apt-cache depends linux-image-$subarch|grep Depends|sed -e 's/ Depends: //')"
kver=${kpkg#linux-image-}
Chroot chroot "apt-get -y install $kpkg"
bootimgcfg="/usr/share/initramfs-tools-ubuntu-touch/bootimg.cfg-${subarch}"
Chroot chroot "env FLASH_KERNEL_SKIP=1 update-initramfs -k $kver -t -u -v"
Chroot chroot "abootimg --create /boot/bootimg-${subarch}.img -f $bootimgcfg -r /boot/initrd.img-${kver} -k /boot/vmlinuz-${kver}"
Chroot chroot "apt-get -y purge $kpkg"
lb chroot_devpts remove "$@"
lb chroot_sysfs remove "$@"
lb chroot_proc remove "$@"
cp "chroot/boot/bootimg-${subarch}.img" "$PREFIX-${subarch}-boot.img"
rm "chroot/boot/bootimg-${subarch}.img" "/chroot/boot/initrd.img-"* "/chroot/boot/vmlinuz-"*
done
Chroot chroot "apt-get -y purge crda wireless-regdb"
fi
# LTSP chroot building (only in 32bit and for Edubuntu (DVD)) # LTSP chroot building (only in 32bit and for Edubuntu (DVD))
case $PROJECT in case $PROJECT in
edubuntu-dvd) edubuntu-dvd)

Loading…
Cancel
Save