Trigger full system relablel on the 1st boot
restorecon didn't work in appliance-tools setup. There is nothing in the logs and the issue persist. Full system relabeling on the 1st boot solves the problem, but will take a bit of time. Thankfully execution is with -T0 thus it was fast (~1 min) on 4 core VM. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
3c69de94e0
commit
01d2a8785e
|
@ -100,7 +100,7 @@ echo fedora_rocks! | passwd --stdin riscv
|
|||
#/usr/sbin/usermod -aG mock riscv
|
||||
|
||||
# Relabel after creating a new user
|
||||
/sbin/restorecon -T0 -R -v /home
|
||||
touch /.autorelabel
|
||||
|
||||
# Create Fedora RISC-V repo
|
||||
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
|
||||
|
|
Loading…
Reference in New Issue