From 838cd9b2eef8e210a46a51b0cd77dfee5d595635 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 14 Oct 2023 15:21:23 -0400 Subject: Initial import of descriptions --- root/etc/fstab.script | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 root/etc/fstab.script (limited to 'root/etc/fstab.script') diff --git a/root/etc/fstab.script b/root/etc/fstab.script new file mode 100755 index 0000000..94e99db --- /dev/null +++ b/root/etc/fstab.script @@ -0,0 +1,10 @@ +#!/bin/sh + +# Set ESP mount options to match what Fedora does +# https://github.com/OSInside/kiwi/issues/2201 +gawk -i inplace '$2 == "/boot/efi" { $4 = $4",umask=0077,shortname=winnt" } { print $0 }' /etc/fstab + +# Run selinux relabel at the right time +# https://github.com/OSInside/kiwi/issues/2192 +# https://github.com/OSInside/kiwi/pull/2282#issuecomment-1514399308 +setfiles -F -p -c /etc/selinux/targeted/policy/policy.* -e /proc -e /sys -e /dev /etc/selinux/targeted/contexts/files/file_contexts / -- cgit v1.3.1+13