|
|
|
@ -410,12 +410,12 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
|
|
|
|
|
lb chroot_sysfs install "$@"
|
|
|
|
|
lb chroot_devpts install "$@"
|
|
|
|
|
|
|
|
|
|
kpkg="$(apt-cache depends linux-image-$subarch|grep Depends|sed -e 's/ Depends: //')"
|
|
|
|
|
kpkg="$(Chroot chroot 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 "env FLASH_KERNEL_SKIP=1 update-initramfs -k $kver -c -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"
|
|
|
|
|