From ec8c23b7eb93399d02c7364095c2efe54f97ffc7 Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Mon, 15 Apr 2013 18:41:46 +0200 Subject: [PATCH] enable universe in the build chroot for ubuntu-touch-android.sh --- debian/changelog | 6 ++++++ ubuntu-touch-android.sh | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index a53f33e3..0f23cf38 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.121) UNRELEASED; urgency=low + + * ubuntu-touch-android.sh: enable universe in the build chroot + + -- Oliver Grawert Mon, 15 Apr 2013 18:40:55 +0200 + livecd-rootfs (2.120) raring; urgency=low * fix typo in shebang of ubuntu-touch-android.sh diff --git a/ubuntu-touch-android.sh b/ubuntu-touch-android.sh index fa672635..727a2b81 100755 --- a/ubuntu-touch-android.sh +++ b/ubuntu-touch-android.sh @@ -4,9 +4,13 @@ set -e codename=$1 builddir=$codename-build +release=raring [ "$(dpkg --print-architecture)" = "amd64" ] || exit 1 +# enable universe in the build chroot +grep -q universe /etc/apt/sources.list || echo "deb http://ftpmaster.internal/ubuntu $release universe" >>/etc/apt/sources.list + # set up multiarch dpkg --print-foreign-architectures | grep -q i386 || dpkg --add-architecture i386 apt-get update