From e734661558a595f71f376b58c444048b002debcc Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 21 Mar 2016 11:51:08 +0000 Subject: [PATCH] include aufs in GPL download container Signed-off-by: Justin Cormack --- licensing/license.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/licensing/license.sh b/licensing/license.sh index 8fe745715..b868afa45 100755 --- a/licensing/license.sh +++ b/licensing/license.sh @@ -12,16 +12,22 @@ rm -rf /output/* mkdir -p /output/kernel cd /output/kernel +cp /proc/config.gz . 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 ${APORTS} +git clone ${AUFS_TOOLS_REPO} /output/aufs-util +cd /output/aufs-util +git checkout "$AUFS_TOOLS_COMMIT" +rm -rf .git -mkdir -p /output - -cd /output +cd /aports +git pull gpl.lua | while read l do