-
Notifications
You must be signed in to change notification settings - Fork 4
plug:rpm ostree install overlays
Keith edited this page Jan 15, 2020
·
5 revisions
This plug installs the overlays listed in the environment variable OSTREE_OVERLAY.
Environment variables set in file: plug:rpm-ostree-overlay.env
OSTREE_OVERLAY=htop nano
#OSTREE_OVERLAY=htop
OSTREE_OVERLAY_INSTALL_ACTION=rpm-ostree ex livefs --i-like-danger
#OSTREE_OVERLAY_INSTALL_ACTION=systemctl reboot
Adding overlays to rpm-ostree is risky due to the push model used for providing server updates. Upstream testing will not have been performed on your specific combination of packages.
systemd.units[+]:
name: rpm-ostree-install-overlays.service
enabled: true
contents: |
[Unit]
Description=Download & Ready Overlayed Packages
ConditionFirstBoot=yes
Before=boot-complete.target
[Service]
Type=oneshot
ExecStart=rpm-ostree install ${OSTREE_OVERLAY} ${COCKPIT_BASE} ${COCKPIT_EXTENSIONS}
# reboot OR rpm-ostree ex livefs --i-like-danger
ExecStart=${OSTREE_OVERLAY_INSTALL_ACTION}
[Install]
RequiredBy=boot-complete.target