Skip to content
Commit 01354e1a authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

fs/ubifs: work around fakeroot / sed -i issue on systems with SELinux enabled



Fixes #9386

GNU sed -i misbehaves on systems with SELinux enabled, as it tries to copy
to the SELinux security context (xattr) from the source file to to the new
destination file, which fails under fakeroot and leaves the file with 000
permissions, causing ubinize to fail when it cannot read to configuration
file.

So as a workaround, combine the install and tweak steps in a single
sed with a redirect to the destination file instead.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent c1115627
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment