Repository should also have i386 index, since Ubuntu is multi-arch by default

Upstream-commit: 87872006ceda36adc9d1e51e34177f4ba716542f
Component: engine
This commit is contained in:
Jérôme Petazzoni
2013-08-20 19:35:31 -07:00
parent 20d1f9978e
commit e0cb1690c7
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -35,6 +35,7 @@ VERSION=$(cat ./VERSION)
GIT_COMMIT=$(git rev-parse --short HEAD)
GIT_CHANGES=$(test -n "$(git status --porcelain)" && echo "+CHANGES" || true)
PACKAGE_ARCHITECTURE="$(dpkg-architecture -qDEB_HOST_ARCH)"
PACKAGE_URL="http://www.docker.io/"
PACKAGE_MAINTAINER="docker@dotcloud.com"
PACKAGE_DESCRIPTION="lxc-docker is a Linux container runtime
@@ -99,7 +100,7 @@ EOF
cd bundles/$VERSION/ubuntu
fpm -s dir -C $DIR \
--name lxc-docker-$VERSION --version $VERSION \
--architecture $(dpkg-architecture -qDEB_HOST_ARCH) \
--architecture "$PACKAGE_ARCHITECTURE" \
--prefix / \
--depends lxc --depends aufs-tools \
--description "$PACKAGE_DESCRIPTION" \
@@ -113,7 +114,7 @@ EOF
mkdir empty
fpm -s dir -C empty \
--name lxc-docker --version $VERSION \
--architecture all \
--architecture "$PACKAGE_ARCHITECTURE" \
--depends lxc-docker-$VERSION \
--description "$PACKAGE_DESCRIPTION" \
--maintainer "$PACKAGE_MAINTAINER" \
+1 -1
View File
@@ -76,7 +76,7 @@ release_ubuntu() {
cat > $APTDIR/conf/distributions <<EOF
Codename: docker
Components: main
Architectures: amd64
Architectures: amd64 i386
EOF
# Add the DEB package to the APT repo