Skip to content

Commit

Permalink
Repository should also have i386 index, since Ubuntu is multi-arch by…
Browse files Browse the repository at this point in the history
… default
  • Loading branch information
jpetazzo committed Aug 21, 2013
1 parent abfa7a2 commit 8787200
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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" \
Expand All @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8787200

Please sign in to comment.