target-finalize: avoid stripping kernel modules with incorrect permissions
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Wed, 30 Apr 2014 19:29:02 +0000 (21:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 1 May 2014 20:17:50 +0000 (22:17 +0200)
commit066359166fa9407382fd9ce40e002249dbdda9c7
tree82ea371287bdfc7d9b67bf06d4a2e2aacffe16db
parent9c3eb1d33dda088fd6a599cb2c72a5407975b723
target-finalize: avoid stripping kernel modules with incorrect permissions

If a kernel module is installed with incorrect permissions (0755 iso 0644),
it would get stripped in a way that would render the kernel module broken.
While the incorrect permissions are a developer error, it is a minor change
to prevent this mistake from causing incorrectly stripped modules.

This was reported with bug #6992:
https://bugs.busybox.net/show_bug.cgi?id=6992

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile