pmbootstrap/pmb
Oliver Smith fc1ba9ba7b
pmbootstrap install: don't screw up /etc/apk/world (MR 1981)
Do not attempt to upgrade packages in the rootfs chroot when running
"pmbootstrap install".

This was responsible for placing every single package in /etc/apk/world
(which should only hold the packages explicitly installed), because the
upgrade function was literally implemented as getting a list of
installed packages and explicitly running pmb.chroot.apk.install on each
of them. The intention was to rebuild these packages if they were outdated,
I guess I didn't realize that this makes /etc/apk/world unusable when I
introduced this three years ago in 51bdc243 ("Properly rebuild/install
packages when something changed").

Remove pmb.chroot.apk.upgrade altogether, because:
1) pmb.install.install builds and upgrades outdated pmaports
2) pmb.install.install is the only user of pmb.chroot.apk.upgrade
3) 'pmbootstrap init' is warning that the chroots do not get upgraded
   automatically, so let's not go against that expectation. users who
   want an updated rootfs chroot can simply run zap and install again.

Replace it with a call to pmb.helpers.repo.update, because we still need
to update the APKINDEX files before attempting to build/install the
generated list of packages.
2020-10-27 17:56:45 +01:00
..
aportgen pmbootstrap aportgen: replace arch=all with native (MR 1965) 2020-09-21 17:48:34 +02:00
build pmbootstrap kconfig edit: list all arches in error (MR 1957) 2020-09-16 21:38:16 +02:00
chroot pmbootstrap install: don't screw up /etc/apk/world (MR 1981) 2020-10-27 17:56:45 +01:00
config Prepare 1.23.0 release 2020-09-24 11:20:42 +02:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
flasher Add "flasher flash_vbmeta" support for heimdall devices (MR 1936) 2020-06-02 11:14:59 +02:00
helpers pmbootstrap log: use tail -F, not -f (MR 1982) 2020-10-07 20:50:14 +02:00
install pmbootstrap install: don't screw up /etc/apk/world (MR 1981) 2020-10-27 17:56:45 +01:00
parse pmbootstrap qemu: add aarch64 big/little hack (MR 1983) 2020-10-20 22:34:08 +02:00
qemu pmbootstrap qemu: add aarch64 big/little hack (MR 1983) 2020-10-20 22:34:08 +02:00
__init__.py pmb: Fail on device ports directly in device/* (!1879) 2020-03-14 08:44:53 +01:00