|
|
@ -429,6 +429,7 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
|
|
|
|
mv "${sourceslist}.d" "${sourceslist}.d.orig"
|
|
|
|
mv "${sourceslist}.d" "${sourceslist}.d.orig"
|
|
|
|
echo "deb http://ftpmaster.internal/ubuntu/ saucy main universe" >$sourceslist
|
|
|
|
echo "deb http://ftpmaster.internal/ubuntu/ saucy main universe" >$sourceslist
|
|
|
|
Chroot chroot "apt-get -y update"
|
|
|
|
Chroot chroot "apt-get -y update"
|
|
|
|
|
|
|
|
Chroot chroot "apt-get -y install ubuntu-touch-generic-initrd"
|
|
|
|
|
|
|
|
|
|
|
|
for subarch in $touchsubarches; do
|
|
|
|
for subarch in $touchsubarches; do
|
|
|
|
kpkg="$(Chroot chroot apt-cache depends linux-image-$subarch|awk '/Depends: linux-image/ {print $2}')"
|
|
|
|
kpkg="$(Chroot chroot apt-cache depends linux-image-$subarch|awk '/Depends: linux-image/ {print $2}')"
|
|
|
@ -436,13 +437,10 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
|
|
|
|
Chroot chroot "apt-get -y install $kpkg"
|
|
|
|
Chroot chroot "apt-get -y install $kpkg"
|
|
|
|
|
|
|
|
|
|
|
|
bootimgcfg="/usr/share/initramfs-tools-ubuntu-touch/bootimg.cfg-${subarch}"
|
|
|
|
bootimgcfg="/usr/share/initramfs-tools-ubuntu-touch/bootimg.cfg-${subarch}"
|
|
|
|
Chroot chroot "env FLASH_KERNEL_SKIP=1 update-initramfs -k ${kver} -c -v"
|
|
|
|
initrdimg="/usr/lib/ubuntu-touch-generic-initrd/initrd.img-touch"
|
|
|
|
Chroot chroot "abootimg --create /boot/bootimg-${subarch}.img -f ${bootimgcfg} -r /boot/initrd.img-${kver} -k /boot/vmlinuz-${kver}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cp "chroot/boot/bootimg-${subarch}.img" "$PREFIX.bootimg-${subarch}"
|
|
|
|
Chroot chroot "abootimg --create "$PREFIX.bootimg-${subarch}" -f ${bootimgcfg} -r ${initrdimg} -k /boot/vmlinuz-${kver}"
|
|
|
|
|
|
|
|
done`
|
|
|
|
Chroot chroot "apt-get -y purge $kpkg"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lb chroot_devpts remove "$@"
|
|
|
|
lb chroot_devpts remove "$@"
|
|
|
|
lb chroot_sysfs remove "$@"
|
|
|
|
lb chroot_sysfs remove "$@"
|
|
|
|