aboutsummaryrefslogtreecommitdiff
path: root/root/etc
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2023-10-14 15:21:23 -0400
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2023-10-14 15:21:23 -0400
commit838cd9b2eef8e210a46a51b0cd77dfee5d595635 (patch)
tree0fabc7fe6f90aaedc77d338c62414b4005cf7f29 /root/etc
parent14e2f2a0e1b4cca43e00d4f354be04378e1e78b0 (diff)
downloadkiwi-descriptions-838cd9b2eef8e210a46a51b0cd77dfee5d595635.tar.gz
kiwi-descriptions-838cd9b2eef8e210a46a51b0cd77dfee5d595635.zip
Initial import of descriptions
Diffstat (limited to 'root/etc')
-rwxr-xr-xroot/etc/fstab.script10
-rw-r--r--root/etc/sysconfig/kernel6
2 files changed, 16 insertions, 0 deletions
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 /
diff --git a/root/etc/sysconfig/kernel b/root/etc/sysconfig/kernel
new file mode 100644
index 0000000..8da1970
--- /dev/null
+++ b/root/etc/sysconfig/kernel
@@ -0,0 +1,6 @@
+# UPDATEDEFAULT specifies if kernel-install should make
+# new kernels the default
+UPDATEDEFAULT=yes
+
+# DEFAULTKERNEL specifies the default kernel package type
+DEFAULTKERNEL=kernel-core