abuild: rootbld: improve version compatibility
This commit is contained in:
parent
e7404e1633
commit
4aa6e2ddff
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue