Commit Graph

3 Commits (master)

Author SHA1 Message Date
Dustin 3bbe380598 install-packages: Do not prevent login
There's really no reason why *install-packages.service* needs to
complete before users can log in.  Indeed, being able to log in while it
is running may be necessary in order to troubleshoot issues.
2024-01-25 20:49:53 -06:00
Dustin 9d941a9985 packages: Fix service start on first boot
The *install-packages.service* unit has to be enabled, and the condition
checking for `/etc/ignition/packages.installed` was inverted.
Sending standard output to the console as well as the journal allows
watching progress.
2024-01-06 19:41:07 -06:00
Dustin 2048713452 packages: Add framework for installing packages
Some machines may need to install multiple packages for separate use
cases.  Requiring each use case to define a systemd unit that runs
`rpm-ostree install` directly would be cumbersome and also quite slow,
as each one would have to run in turn.  Instead, now there is a single
*install-packages.service* which installs all of the packages listed in
files in `/etc/ignition/packages.d`.  On first boot, all files in that
directory are read and all the packages they list will be installed in a
single `rpm-ostree install` invocation.
2023-09-21 22:29:51 -05:00