pmb.chroot.init: upgrade pkgs at the end (MR 2273)
Upgrade packages in the chroot, in case alpine-base, apk etc. have been built from source with pmbootstrap. We build it from source for systemd currently, and sometimes it is useful to do that to debug apk.
This commit is contained in:
parent
9126d15452
commit
dce459984e
|
@ -162,3 +162,7 @@ def init(args, suffix="native", usr_merge=UsrMerge.AUTO,
|
|||
usr_merge = UsrMerge.ON
|
||||
if usr_merge is UsrMerge.ON:
|
||||
init_usr_merge(args, suffix)
|
||||
|
||||
# Upgrade packages in the chroot, in case alpine-base, apk, etc. have been
|
||||
# built from source with pmbootstrap
|
||||
pmb.chroot.root(args, ["apk", "--no-network", "upgrade", "-a"], suffix)
|
||||
|
|
Loading…
Reference in New Issue