mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
package.bbclass: Use --preserve-dates option when stripping kernel modules
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -157,7 +157,7 @@ def runstrip(file, d):
|
||||
|
||||
# Handle kernel modules specifically - .debug directories here are pointless
|
||||
if file.find("/lib/modules/") != -1 and file.endswith(".ko"):
|
||||
return os.system("%s'%s' -g --remove-section=.comment --remove-section=.note '%s'" % (pathprefix, strip, file))
|
||||
return os.system("%s'%s' --strip-debug --remove-section=.comment --remove-section=.note --preserve-dates '%s'" % (pathprefix, strip, file))
|
||||
|
||||
newmode = None
|
||||
if not os.access(file, os.W_OK):
|
||||
|
||||
Reference in New Issue
Block a user