-
Notifications
You must be signed in to change notification settings - Fork 384
Open
Description
mkosi commit the issue has been seen with
main
Used host distribution
postmarketOS
Used target distribution
postmarketOS
Linux kernel version used
6.16
CPU architectures issue was seen on
None
Unexpected behaviour you saw
RemovePackages was changed in b3d6e69 to scrub the package list BEFORE anything is installed, this differs from what the manpage says:
`RemovePackages=`, `--remove-package=`
: Takes a comma-separated list of package specifications for removal, in
the same format as `Packages=`. The removal will be performed as one
of the last steps. This step is skipped if `CleanPackageMetadata=no`
is used.
It would be nice to have the old RemovePackages behavior back, it would allow installing tools used in mkosi.postinst and cleaning them up after automatically. Excluding packages, which I believe is what b3d6e69 is going for, could be done with somethign like Packages=!foo bar bazz
(e.g. to exclude/remove foo
from the final pkg list if it was added by something).
In any case, if you want to keep RemovePackages as it works now, the manpage should be updated :)
Used mkosi config
mkosi output
Metadata
Metadata
Assignees
Labels
No labels