summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-03-21 20:22:47 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2018-03-21 20:22:47 +0100
commit6b320900b70ae1b288d35ca9182a70a933d7834d (patch)
tree306fb383ae74f1abfc56bc2e6d74bdd508f0b1e4 /build.sh
parent50080615000bc3c924e592a28ee03fbb422b0e86 (diff)
Add arch and subarch as parameters
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 1 insertions, 3 deletions
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() {