From: David Tardon Date: Thu, 3 Mar 2022 09:47:46 +0000 (+0100) Subject: fix(dracut.sh): drop restorecon call X-Git-Tag: 057~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3385989266ddb1c0685f9f7501f1835e9ce49730;p=thirdparty%2Fdracut.git 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). --- diff --git a/dracut.sh b/dracut.sh index 955740dc2..634ef87bf 100755 --- a/dracut.sh +++ b/dracut.sh @@ -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' }