Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/build: strip all executables in /usr #3509

Merged
merged 1 commit into from
May 22, 2019

Conversation

kszaq
Copy link
Contributor

@kszaq kszaq commented May 13, 2019

Some packages install outside /usr/*bin, e.g. /usr/lib/bluetooth and executables remain unstripped. Try to strip everything executable except .ko and .so which are handled in separate cases.

All file size differences in an Amlogic-mainline build:

Before After Diff Diff %
/usr/lib/bluetooth/bluetoothd 783956 572456 -211500 -26.98%
/usr/lib/bluetooth/obexd 400816 305844 -94972 -23.69%
/usr/lib/dbus/dbus-daemon-launch-helper 59216 39172 -20044 -33.85%
/usr/lib/libinput/libinput-debug-events 105508 31584 -73924 -70.06%
/usr/lib/libinput/libinput-list-devices 66836 18516 -48320 -72.30%
/usr/lib/libinput/libinput-measure 48472 14280 -34192 -70.54%
/usr/lib/pulse/gsettings-helper 13280 5816 -7464 -56.20%
/usr/lib/udev/hid2hci 16668 9916 -6752 -40.51%
/usr/lib/udev/libinput-device-group 17408 5780 -11628 -66.80%
/usr/lib/udev/libinput-model-quirks 18264 5768 -12496 -68.42%
1530424 1009132 -521292 -34.06%

Some packages install outside /usr/*bin, e.g. /usr/lib/bluetooth
and executables remain unstripped. Try to strip everything
executable except .ko and .so which are handled in separate cases.
@MilhouseVH MilhouseVH merged commit 8d274fb into LibreELEC:master May 22, 2019
@kszaq kszaq deleted the topic/strip_executables branch May 22, 2019 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants