enable universe in the build chroot for ubuntu-touch-android.sh

ubuntu/trusty
Oliver Grawert 12 years ago
parent 4cb1f74f6e
commit ec8c23b7eb

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.121) UNRELEASED; urgency=low
* ubuntu-touch-android.sh: enable universe in the build chroot
-- Oliver Grawert <ogra@chromebook> Mon, 15 Apr 2013 18:40:55 +0200
livecd-rootfs (2.120) raring; urgency=low livecd-rootfs (2.120) raring; urgency=low
* fix typo in shebang of ubuntu-touch-android.sh * fix typo in shebang of ubuntu-touch-android.sh

@ -4,9 +4,13 @@ set -e
codename=$1 codename=$1
builddir=$codename-build builddir=$codename-build
release=raring
[ "$(dpkg --print-architecture)" = "amd64" ] || exit 1 [ "$(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 # set up multiarch
dpkg --print-foreign-architectures | grep -q i386 || dpkg --add-architecture i386 dpkg --print-foreign-architectures | grep -q i386 || dpkg --add-architecture i386
apt-get update apt-get update

Loading…
Cancel
Save