use fixfiles instead

This commit is contained in:
Louis Abel 2024-02-16 10:34:23 -07:00
parent 0a56a8d232
commit d4dcf58e37
Signed by: label
GPG Key ID: B37E62D143879B36
18 changed files with 36 additions and 18 deletions

View File

@ -125,7 +125,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -121,7 +121,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -125,7 +125,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -121,7 +121,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -125,7 +125,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -121,7 +121,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -127,7 +127,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -123,7 +123,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -127,7 +127,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -123,7 +123,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -127,7 +127,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -123,7 +123,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -125,7 +125,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -121,7 +121,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -125,7 +125,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -121,7 +121,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -125,7 +125,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot

View File

@ -121,7 +121,8 @@ rm -f /etc/machine-id
touch /etc/machine-id touch /etc/machine-id
# relabel # relabel
/usr/sbin/restorecon -RF / #/usr/sbin/restorecon -RF /
/usr/sbin/fixfiles -R -a restore
%end %end
%post --nochroot %post --nochroot