grub: remove sed -i

This commit is contained in:
Dylan Araps 2021-07-03 20:22:55 +00:00
parent e594cf011f
commit 87b39eb0a7
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@ export PYTHON=/bin/true
# the Python tooling. The /bin/true above will create a
# blank file, this prevents the blank file from overwriting
# the existing one.
sed -i 's/mv $@.new $@/:/g' ./*/Makefile.in
for f in ./*/Makefile.in; do
sed 's/mv $@.new $@/:/g' "$f" > _
mv -f _ "$f"
done
# Strip '-march' from 'CFLAGS' as per advice from upstream.
# Fixes build fails on specific hardware.