From d7297d4b2610ace209a478822fc911f2ea1d1836 Mon Sep 17 00:00:00 2001 From: Robert Sturla Date: Sun, 17 Nov 2024 17:51:18 +0000 Subject: [PATCH] chore: remove cliwrap (#231) --- scripts/_base/003-rpm-ostree-clirwap.sh | 5 ----- scripts/cleanup.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100755 scripts/_base/003-rpm-ostree-clirwap.sh diff --git a/scripts/_base/003-rpm-ostree-clirwap.sh b/scripts/_base/003-rpm-ostree-clirwap.sh deleted file mode 100755 index f5fa1986..00000000 --- a/scripts/_base/003-rpm-ostree-clirwap.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -set -euox pipefail - -rpm-ostree cliwrap install-to-root / diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh index 7624a744..77001838 100644 --- a/scripts/cleanup.sh +++ b/scripts/cleanup.sh @@ -8,4 +8,4 @@ sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/rpmfusion-{free,nonfree}{,-upd mkdir -p /var/tmp KERNEL_SUFFIX="" QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(|'"$KERNEL_SUFFIX"'-)(\d+\.\d+\.\d+)' | sed -E 's/kernel-(|'"$KERNEL_SUFFIX"'-)//')" -/usr/libexec/rpm-ostree/wrapped/dracut --no-hostonly --kver "$QUALIFIED_KERNEL" --reproducible -v --add ostree -f "/lib/modules/$QUALIFIED_KERNEL/initramfs.img" +/usr/bin/dracut --no-hostonly --kver "$QUALIFIED_KERNEL" --reproducible -v --add ostree -f "/lib/modules/$QUALIFIED_KERNEL/initramfs.img"