pmbootstrap/pmb/chroot
Oliver Smith 937686d164
Don't mark all packages as explicitly installed (#1247)
pmbootstrap does dependency resolving on its own, and passes the list
of resolved packages to apk when we want it to install something. The
reason was outlined in #129:

> fixing #120: packages do not get updated in "pmbootstrap install"
> after they have been rebuilt. For this to work, we specify all
> packages explicitly for abuild, instead of letting abuild do the
> resolving.

This new PR fixes #1212 (which noted that all of these dependencies
were explicitly marked for installation) by doing the following:
1. All packages and dependencies get attached to the virtual package
  .pmbootstrap instead of world
2. We install the packages (without depends) explcitly
3. .pmbootstrap gets removed, which means that all packages from 1.
  stay installed, but are no longer marked as explicitly installed.
  They will get removed automatically, when the depending packages get
  removed.

In addition, the mechanism for replacing the package of locally built
packages with their full path, was broken and has been fixed in this
commit. This is necessary to update packages of the same version with
apk.
2018-02-25 20:49:47 +00:00
..
__init__.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
apk.py Don't mark all packages as explicitly installed (#1247) 2018-02-25 20:49:47 +00:00
apk_static.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
binfmt.py Add a check for binfmt_misc (#1236) 2018-02-17 20:41:54 +00:00
distccd.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
init.py Fix screwed up progress bars in Travis output (#1213) 2018-02-09 18:43:58 +00:00
initfs.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
initfs_hooks.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
mount.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
other.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
root.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
shutdown.py Fix pmbootstrap zap -m / various zap improvements (#1166) 2018-01-31 19:34:02 +00:00
user.py Always use the BusyBox implementation of 'su' in the chroots (#1085) 2018-01-06 14:01:46 +00:00
zap.py zap_mismatch_bins: Adjust to new apkindex parsing 2018-02-20 21:41:03 +00:00