Skip to content

Commit

Permalink
fix(dracut.sh): drop restorecon call
Browse files Browse the repository at this point in the history
AFAICT there is no need for it. cp already applies appropriate label on
the target file (unless --preserve=context is used).
  • Loading branch information
dtardon authored and johannbg committed Mar 9, 2022
1 parent 9a884b3 commit 3385989
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dracut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2572,8 +2572,6 @@ else
fi
fi
command -v restorecon &> /dev/null && restorecon -- "$outfile"
btrfs_uuid() {
btrfs filesystem show "$1" | sed -n '1s/^.*uuid: //p'
}
Expand Down

0 comments on commit 3385989

Please sign in to comment.