summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2013-07-03 11:05:43 +0100
committerTiago Gomes <tiago.gomes@codethink.co.uk>2013-07-03 11:05:43 +0100
commit6b2fca375fc9fe7833bb470d1ed5fa9ec0aec46b (patch)
treefe8425a981fe221e94dba2f95e73c611c716eb6c
parent8130cc243aa5f61d13cb68063351fa06e0ccc7ec (diff)
parent3612a1eebcf6901f2c98e374a308cfeb6017a402 (diff)
downloaddefinitions-6b2fca375fc9fe7833bb470d1ed5fa9ec0aec46b.tar.gz
Merge branch 'baserock/tiagogomes/bbgaw'
Reviewed by Lars Wirzenius
-rwxr-xr-xstrip-gplv3.configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/strip-gplv3.configure b/strip-gplv3.configure
index 44af2739..b0a1ff5f 100755
--- a/strip-gplv3.configure
+++ b/strip-gplv3.configure
@@ -55,6 +55,10 @@ class StripGPLv3ConfigureExtension(cliapp.Application):
for chunk in self.gplv3_chunks:
self.remove_chunk(target_root, chunk[0], chunk[1])
+ os.remove(os.path.join(target_root, 'usr', 'bin', 'awk'))
+ os.symlink(os.path.join(os.sep, 'bin', 'busybox'),
+ os.path.join(target_root, 'usr', 'bin', 'awk'))
+
def remove_chunk(self, target_root, chunk, pattern):
chunk_meta_path = os.path.join(target_root, 'baserock',
chunk + '.meta')