diff --git a/prepare-root.sh b/prepare-root.sh index cfedd0a..56677df 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -473,8 +473,6 @@ sed -i -e 's#^SELINUX=.*#SELINUX=permissive#g' "$sysroot"/etc/selinux/config chroot "$sysroot" semanage fcontext -a -e /etc /cfg chroot "$sysroot" semanage fcontext -a -e /etc /usr/share/factory/cfg chroot "$sysroot" semanage fcontext -a -e /var /usr/share/factory/var -#chroot "$sysroot" semanage fcontext -a -e /root /var/roothome -chroot "$sysroot" semanage fcontext -a -e /root /usr/share/factory/var/roothome chroot "$sysroot" semanage fcontext -a -s system_u -f f -t passwd_file_t /usr/lib/passwd chroot "$sysroot" semanage fcontext -a -s system_u -f f -t passwd_file_t /usr/lib/group chroot "$sysroot" semanage fcontext -a -s system_u -f f -t shadow_t /usr/lib/shadow