Skip to content

Commit

Permalink
fix: handle new F41 selinux policies for sulogin-generator
Browse files Browse the repository at this point in the history
Remove our in-repo copy of `ublue-sulogin-generator` and replace with
the current version from CoreOS. This way we will stay in sync with that
as an upstream, and comply with new Fedora 41 SElinux policy.

Safe for F39/F40 as well.

Fixes: #653
  • Loading branch information
bsherman committed Oct 26, 2024
1 parent 73e6d04 commit 1114c7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 65 deletions.
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ fi
## install packages direct from github
/ctx/github-release-install.sh sigstore/cosign x86_64

# use CoreOS' generator for emergency/rescue boot
# see detail: https://github.com/ublue-os/main/issues/653
CSFG=/usr/lib/systemd/system-generators/coreos-sulogin-force-generator
curl -sSLo ${CSFG} https://raw.githubusercontent.com/coreos/fedora-coreos-config/refs/heads/stable/overlay.d/05core/usr/lib/systemd/system-generators/coreos-sulogin-force-generator
chmod +x ${CSFG}

if [[ "${KERNEL_VERSION}" == "${QUALIFIED_KERNEL}" ]]; then
/ctx/initramfs.sh
fi

This file was deleted.

0 comments on commit 1114c7c

Please sign in to comment.