Skip to content

Commit 3385989

Browse files
dtardonjohannbg
authored andcommitted
fix(dracut.sh): drop restorecon call
AFAICT there is no need for it. cp already applies appropriate label on the target file (unless --preserve=context is used).
1 parent 9a884b3 commit 3385989

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: dracut.sh

-2
Original file line numberDiff line numberDiff line change
@@ -2572,8 +2572,6 @@ else
25722572
fi
25732573
fi
25742574
2575-
command -v restorecon &> /dev/null && restorecon -- "$outfile"
2576-
25772575
btrfs_uuid() {
25782576
btrfs filesystem show "$1" | sed -n '1s/^.*uuid: //p'
25792577
}

0 commit comments

Comments
 (0)