summaryrefslogtreecommitdiff
path: root/src/stage3/stage3.sh
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-03-06 19:34:00 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-03-06 19:34:00 +0100
commit2bb95cbb525323af64f2af84a32336f0c9137976 (patch)
tree99c6b5d3d737c80a814410d36da9303e0a79642d /src/stage3/stage3.sh
parent2bcc8559a19b19081ee583f608480e5d80a73b0f (diff)
progress into stage3
Diffstat (limited to 'src/stage3/stage3.sh')
-rwxr-xr-xsrc/stage3/stage3.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stage3/stage3.sh b/src/stage3/stage3.sh
index b9f303f..e3ceed0 100755
--- a/src/stage3/stage3.sh
+++ b/src/stage3/stage3.sh
@@ -137,7 +137,8 @@ EOF
_config_sub="$_config;f=config.sub;hb=HEAD"
_config_guess="$_config;f=config.guess;hb=HEAD"
sed -i "s#@CONFIG_SUB@#curl \"$_config_sub\"#g; \
- s#@CONFIG_GUESS@#curl \"$_config_guess\"#g" \
+ s#@CONFIG_GUESS@#curl \"$_config_guess\"#g; \
+ s#@MULTILIB@#${MULTILIB:-disable}#g" \
PKGBUILD
# enable the target CARCH in arch array
@@ -170,4 +171,7 @@ EOF
sed -i "/^$_pkgname :/d; s/ $_pkgname\b//g" "$_deptree"
done
+# unmount
+umount "$_chrootdir"/native/$CARCH
+
echo "all packages built."