diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-10 15:36:29 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-10 15:36:29 +0100 |
commit | a0dd61eb2b4f65076d19d24a741feb6feb7c81e3 (patch) | |
tree | c17dacf69033d86860efad6ca5da070023246675 /meta | |
parent | c33529794a541a617dc9c291b57acae55dd50af6 (diff) | |
download | poky-a0dd61eb2b4f65076d19d24a741feb6feb7c81e3.tar.gz |
package.bbclass: Use --preserve-dates option when stripping kernel modules
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index d8e480f1ff..fa47cd0eb6 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -157,7 +157,7 @@ def runstrip(file, d): | |||
157 | 157 | ||
158 | # Handle kernel modules specifically - .debug directories here are pointless | 158 | # Handle kernel modules specifically - .debug directories here are pointless |
159 | if file.find("/lib/modules/") != -1 and file.endswith(".ko"): | 159 | if file.find("/lib/modules/") != -1 and file.endswith(".ko"): |
160 | return os.system("%s'%s' -g --remove-section=.comment --remove-section=.note '%s'" % (pathprefix, strip, file)) | 160 | return os.system("%s'%s' --strip-debug --remove-section=.comment --remove-section=.note --preserve-dates '%s'" % (pathprefix, strip, file)) |
161 | 161 | ||
162 | newmode = None | 162 | newmode = None |
163 | if not os.access(file, os.W_OK): | 163 | if not os.access(file, os.W_OK): |