summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-07-16 19:14:19 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-07-16 19:19:24 +0300
commit4aa6e2ddff4e94f411b0851cf0c29f2706b0479c (patch)
tree43f4271c3ff4d6c4d08cb42b2fac46f56825a7a2 /abuild.in
parente7404e16330015cc80569b511556a1ff67cb78bf (diff)
downloadabuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.tar.gz
abuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.tar.bz2
abuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.tar.xz
abuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.zip
abuild: rootbld: improve version compatibility
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index b833f21..e49e548 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1997,6 +1997,13 @@ checksum() {
echo "sha512sums=\"$sha512sums\"" >>"$APKBUILD"
}
+rootbld_actions() {
+ local part
+ for part in symlinksrc unpack prepare build rootpkg; do
+ runpart $part
+ done
+}
+
rootbld() {
if apk_up2date && [ -z "$force" ]; then
msg "Package is up to date"
@@ -2082,7 +2089,7 @@ rootbld() {
--hostname "build-edge-$CARCH" \
--chdir "$startdir" \
--setenv PATH /bin:/usr/bin:/sbin:/usr/sbin \
- /usr/bin/abuild $force symlinksrc unpack prepare build rootpkg
+ /usr/bin/abuild $force rootbld_actions
update_abuildrepo_index
cleanup $CLEANUP
}