Skip to content

Commit

Permalink
overlay: disable dracut stripping
Browse files Browse the repository at this point in the history
While looking at the boot space issue[1], I tested whether stripping
binaries saved anything. Currently, dracut tries to strip binaries if
`strip` (or `eu-strip`) are available, which isn't the case in FCOS.

Adding it as a test, it turns out stripping barely saves anything
because we've already split out debug symbols into separate RPMs, and
the remaining symbols don't take much space.

So let's just tell dracut to stop trying to opportunistically strip
anything to be consistent. This then squashes a message emitted about
`strip` not being found.

[1] coreos/fedora-coreos-tracker#1247
  • Loading branch information
jlebon authored and HuijingHei committed Oct 10, 2023
1 parent a57ff7d commit a218376
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# We don't ship `strip` or `eu-strip` today, and even if we did, it doesn't
# save much space. So let's disable it to avoid the error-looking message.
do_strip=no

0 comments on commit a218376

Please sign in to comment.