From 6b320900b70ae1b288d35ca9182a70a933d7834d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 21 Mar 2018 20:22:47 +0100 Subject: Add arch and subarch as parameters --- build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index d27f559..0d4b24d 100755 --- a/build.sh +++ b/build.sh @@ -154,10 +154,8 @@ build_procd() { build_tarball() { export SDK="$(pwd)/${sdk}" - export ARCH=${arch} - export SUBARCH=${subarch} local opts="-m $metadata" - fakeroot scripts/build_rootfs.sh $rootfs $opts -o $lxc_tar --packages="${packages}" --files="${files}" + fakeroot scripts/build_rootfs.sh $rootfs $opts -o $lxc_tar --arch=${arch} --subarch=${subarch} --packages="${packages}" --files="${files}" } build_metadata() { -- cgit v1.2.3