Skip to content

Commit

Permalink
go back to rpm-ostree
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Jul 19, 2024
1 parent b1bec69 commit 1c71bb9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,20 @@ find "$RPMS_DIR"/{config,akmods/ublue-os} -type f -name "*.rpm" -print0 | xargs
rpm-ostree cliwrap install-to-root /
if [[ "${KERNEL_VERSION}" == "${QUALIFIED_KERNEL}" ]]; then
echo "Installing signed kernel from kernel-cache."
rpm-ostree install zstd
rpm --install --replacefiles --replacepkgs \
rpm-ostree override remove \
--install=zstd \
kernel \
kernel-core \
kernel-modules \
kernel-modules-core \
kernel-modules-extra
rpm-ostree override replace \
--experimental \
"$RPMS_DIR"/kernel/kernel-[0-9]*.rpm \
"$RPMS_DIR"/kernel/kernel-core-*.rpm \
"$RPMS_DIR"/kernel/kernel-modules-*.rpm
"$RPMS_DIR"/kernel/kernel-modules-*.rpm \
--remove=kernel-debug-core \
--remove=kernel-debug-modules-core
else
echo "Install kernel version ${KERNEL_VERSION} from kernel-cache."
rpm-ostree override replace \
Expand Down

0 comments on commit 1c71bb9

Please sign in to comment.