build-base -> base-build

This commit is contained in:
Rebekah 2020-05-11 08:00:05 -04:00
parent 9e1fc4ed1a
commit 13bf342e37

View File

@ -27,6 +27,7 @@ fi
: ${ADDGROUP:="abuild-addgroup"} : ${ADDGROUP:="abuild-addgroup"}
: ${CC:="clang"} : ${CC:="clang"}
: ${CXX:="clang++"} : ${CXX:="clang++"}
: ${ROOTBLD_PKGS="abuild azaezel-base base-build coreutils util-linux"}
apk_opt_wait="--wait 30" apk_opt_wait="--wait 30"
@ -2162,9 +2163,9 @@ builddeps() {
case "$BOOTSTRAP" in case "$BOOTSTRAP" in
no*) BUILD_BASE="";; no*) BUILD_BASE="";;
*) if cross_creating || cross_compiling; then *) if cross_creating || cross_compiling; then
BUILD_BASE="build-base-$CTARGET_ARCH" BUILD_BASE="base-build-$CTARGET_ARCH"
else else
BUILD_BASE="build-base" BUILD_BASE="base-build"
fi fi
esac esac
calcdeps "$BUILD_BASE" calcdeps "$BUILD_BASE"
@ -2282,23 +2283,16 @@ rootbld() {
fi fi
[ -s "$repo_template" ] || die "rootbld: $repo_template does not exist" [ -s "$repo_template" ] || die "rootbld: $repo_template does not exist"
( [ "$mirror" ] || mirror=http://dl-cdn.alpinelinux.org/alpine
for key in $(git config --list --name-only); do
k=${key#abuild.}
[ $k != $key ] && \
eval "export $k=\"$(git config --get $key)\""
done
export mirror version # todo, sed out http?
[ "$mirror" ] || mirror=http://dl-cdn.alpinelinux.org/alpine for i in $(cat $repo_template | tr "\n" " "); do
echo "$mirror/$i" >> "$BUILD_ROOT/etc/apk/repositories"
envsubst done
echo "$REPODEST/$repo"
) < "$repo_template" > "$BUILD_ROOT/etc/apk/repositories"
calcdeps calcdeps
$SUDO_APK add --initdb --root "$BUILD_ROOT" --update \ $SUDO_APK add --initdb --root "$BUILD_ROOT" --update \
abuild azaezel-base base-build coreutils util-linux $hostdeps $builddeps \ $ROOTBLD_PKGS $hostdeps $builddeps \
${USE_CCACHE:+ccache} ${USE_CCACHE:+ccache}
local bwrap_opts="" local bwrap_opts=""