From 1b5c986fbb507a1869dcbe9d5d9e2f00083d4846 Mon Sep 17 00:00:00 2001 From: Adam Conrad Date: Wed, 29 May 2013 16:42:47 -0600 Subject: [PATCH] Clean up subarch loop for touch subarches to skip unwanted deps. --- debian/changelog | 6 ++++++ live-build/auto/build | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a3816f09..c9e24134 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.144) saucy; urgency=low + + * Clean up subarch loop for touch subarches to skip unwanted deps. + + -- Adam Conrad Wed, 29 May 2013 16:41:24 -0600 + livecd-rootfs (2.143) saucy; urgency=low * drop all the cleanup code, we already have the tarball and don't need to diff --git a/live-build/auto/build b/live-build/auto/build index 9f43f6e2..8e8dd38e 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -425,7 +425,7 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then Chroot chroot "apt-get -y update" for subarch in $touchsubarches; do - kpkg="$(Chroot chroot apt-cache depends linux-image-$subarch|grep Depends|sed -e 's/ Depends: //')" + kpkg="$(Chroot chroot apt-cache depends linux-image-$subarch|awk '/Depends: linux-image/ {print $2}')" kver=${kpkg#linux-image-} Chroot chroot "apt-get -y install $kpkg"