pmbootstrap/pmb
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
..
aportgen device packages: depend on postmarketos-base (#1258) 2018-02-25 18:40:54 +00:00
build Fix menuconfig arch check (#1259) 2018-02-25 17:44:01 +00:00
chroot Don't mark all packages as explicitly installed (#1247) 2018-02-25 20:49:47 +00:00
config Make proprietary drivers optional (1/2): pmbootstrap changes (#1254) 2018-02-24 21:49:10 +00:00
export Odin export: make sure temp folder is empty (#1141) 2018-01-22 22:35:07 +00:00
flasher Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
helpers Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
install Make proprietary drivers optional (1/2): pmbootstrap changes (#1254) 2018-02-24 21:49:10 +00:00
parse qemu: allow the user to specify the kernel flavor (#1256) 2018-02-25 19:20:22 +00:00
qemu qemu: allow the user to specify the kernel flavor (#1256) 2018-02-25 19:20:22 +00:00
__init__.py pmbootstrap: Disallow running as root (#1120) 2018-01-14 08:13:35 +00:00