From 0d82d4bcbb824c4732f4d97233e9189647e5bec0 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sat, 17 Feb 2024 09:28:01 -0700 Subject: [PATCH] add fixfiles to r8 --- Rocky-8-KDE.ks | 2 ++ Rocky-8-MATE.ks | 2 ++ Rocky-8-Workstation-Lite.ks | 2 ++ Rocky-8-Workstation.ks | 2 ++ Rocky-8-XFCE.ks | 2 ++ live/8/x86_64/prod/rocky-live-base-spin.ks | 2 ++ live/8/x86_64/prod/rocky-live-base.ks | 2 ++ live/8/x86_64/stage/rocky-live-base-spin.ks | 2 ++ live/8/x86_64/stage/rocky-live-base.ks | 2 ++ 9 files changed, 18 insertions(+) diff --git a/Rocky-8-KDE.ks b/Rocky-8-KDE.ks index 519fb31..6278d51 100644 --- a/Rocky-8-KDE.ks +++ b/Rocky-8-KDE.ks @@ -311,6 +311,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + # set default GTK+ theme for root (see #683855, #689070, #808062) cat > /root/.gtkrc-2.0 << EOF include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc" diff --git a/Rocky-8-MATE.ks b/Rocky-8-MATE.ks index 61fca39..5786d86 100644 --- a/Rocky-8-MATE.ks +++ b/Rocky-8-MATE.ks @@ -310,6 +310,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + %end %post --nochroot diff --git a/Rocky-8-Workstation-Lite.ks b/Rocky-8-Workstation-Lite.ks index dbf1fe1..83d9f70 100644 --- a/Rocky-8-Workstation-Lite.ks +++ b/Rocky-8-Workstation-Lite.ks @@ -309,6 +309,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + cat >> /etc/rc.d/init.d/livesys << EOF diff --git a/Rocky-8-Workstation.ks b/Rocky-8-Workstation.ks index 5d2bd5a..7f4376e 100644 --- a/Rocky-8-Workstation.ks +++ b/Rocky-8-Workstation.ks @@ -309,6 +309,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + cat >> /etc/rc.d/init.d/livesys << EOF diff --git a/Rocky-8-XFCE.ks b/Rocky-8-XFCE.ks index 87e7dd1..43fc31b 100644 --- a/Rocky-8-XFCE.ks +++ b/Rocky-8-XFCE.ks @@ -311,6 +311,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + # xfce configuration # create /etc/sysconfig/desktop (needed for installation) diff --git a/live/8/x86_64/prod/rocky-live-base-spin.ks b/live/8/x86_64/prod/rocky-live-base-spin.ks index 4831b29..4fa910e 100644 --- a/live/8/x86_64/prod/rocky-live-base-spin.ks +++ b/live/8/x86_64/prod/rocky-live-base-spin.ks @@ -332,6 +332,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + %end diff --git a/live/8/x86_64/prod/rocky-live-base.ks b/live/8/x86_64/prod/rocky-live-base.ks index abb59f6..f581e72 100644 --- a/live/8/x86_64/prod/rocky-live-base.ks +++ b/live/8/x86_64/prod/rocky-live-base.ks @@ -328,6 +328,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + %end diff --git a/live/8/x86_64/stage/rocky-live-base-spin.ks b/live/8/x86_64/stage/rocky-live-base-spin.ks index 4831b29..4fa910e 100644 --- a/live/8/x86_64/stage/rocky-live-base-spin.ks +++ b/live/8/x86_64/stage/rocky-live-base-spin.ks @@ -332,6 +332,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + %end diff --git a/live/8/x86_64/stage/rocky-live-base.ks b/live/8/x86_64/stage/rocky-live-base.ks index abb59f6..f581e72 100644 --- a/live/8/x86_64/stage/rocky-live-base.ks +++ b/live/8/x86_64/stage/rocky-live-base.ks @@ -328,6 +328,8 @@ rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id +/usr/sbin/fixfiles -R -a restore + %end