include aufs in GPL download container

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-03-21 11:51:08 +00:00
parent 77a4671196
commit e734661558

View File

@ -12,16 +12,22 @@ rm -rf /output/*
mkdir -p /output/kernel mkdir -p /output/kernel
cd /output/kernel cd /output/kernel
cp /proc/config.gz .
wget ${KERNEL_SOURCE=} || ( printf "Failed to download kernel source\n" && exit 1 ) wget ${KERNEL_SOURCE=} || ( printf "Failed to download kernel source\n" && exit 1 )
# XXX download aufs git clone -b "$AUFS_BRANCH" "$AUFS_REPO" /output/kernel/aufs
cd /output/kernel/aufs
git checkout -q "$AUFS_COMMIT"
# to make it easier to check in the output of this script if necessary
rm -rf .git
# APORTS=https://github.com/alpinelinux/aports.git git clone ${AUFS_TOOLS_REPO} /output/aufs-util
# git clone ${APORTS} cd /output/aufs-util
git checkout "$AUFS_TOOLS_COMMIT"
rm -rf .git
mkdir -p /output cd /aports
git pull
cd /output
gpl.lua | while read l gpl.lua | while read l
do do