build-base -> base-build
This commit is contained in:
parent
9e1fc4ed1a
commit
13bf342e37
22
abuild.in
22
abuild.in
@ -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"
|
||||||
(
|
|
||||||
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
|
|
||||||
[ "$mirror" ] || mirror=http://dl-cdn.alpinelinux.org/alpine
|
[ "$mirror" ] || mirror=http://dl-cdn.alpinelinux.org/alpine
|
||||||
|
|
||||||
envsubst
|
# todo, sed out http?
|
||||||
echo "$REPODEST/$repo"
|
for i in $(cat $repo_template | tr "\n" " "); do
|
||||||
) < "$repo_template" > "$BUILD_ROOT/etc/apk/repositories"
|
echo "$mirror/$i" >> "$BUILD_ROOT/etc/apk/repositories"
|
||||||
|
done
|
||||||
|
|
||||||
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=""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user