index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | build_stage1_package.sh | 2 | ||||
-rw-r--r-- | default.conf | 7 |
diff --git a/build_stage1_package.sh b/build_stage1_package.sh index a73cb17..1baee72 100755 --- a/build_stage1_package.sh +++ b/build_stage1_package.sh @@ -41,7 +41,7 @@ if test $(pacman --config "$STAGE1_CHROOT/etc/pacman.conf" -r "$STAGE1_CHROOT" - fi case $FETCH_METHOD in "asp") - asp export "$PACKAGE" + $ASP export "$PACKAGE" ;; "yaourt") yaourt -G "$PACKAGE" diff --git a/default.conf b/default.conf index 0301ee7..8ecfb3c 100644 --- a/default.conf +++ b/default.conf @@ -49,3 +49,10 @@ ARCHLINUX32_PACKAGES=$CROSS_HOME/packages32 # some default variables, not to be changed SCRIPT=$(sudo realpath -s "$0") SCRIPT_DIR=$(dirname "$SCRIPT") + +if test $(uname -m) = "x86_64"; then + ASP=asp +fi +if test $(uname -m) = "i686"; then + ASP=asp32 +fi |