diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-07-16 19:14:19 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-07-16 19:19:24 +0300 |
commit | 4aa6e2ddff4e94f411b0851cf0c29f2706b0479c (patch) | |
tree | 43f4271c3ff4d6c4d08cb42b2fac46f56825a7a2 | |
parent | e7404e16330015cc80569b511556a1ff67cb78bf (diff) | |
download | abuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.tar.gz abuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.tar.bz2 abuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.tar.xz abuild-4aa6e2ddff4e94f411b0851cf0c29f2706b0479c.zip |
abuild: rootbld: improve version compatibility
-rw-r--r-- | abuild.in | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 } |