diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2013-07-02 03:20:58 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2013-07-03 10:06:39 +0100 |
commit | 3612a1eebcf6901f2c98e374a308cfeb6017a402 (patch) | |
tree | fe8425a981fe221e94dba2f95e73c611c716eb6c /strip-gplv3.configure | |
parent | 8130cc243aa5f61d13cb68063351fa06e0ccc7ec (diff) | |
download | definitions-3612a1eebcf6901f2c98e374a308cfeb6017a402.tar.gz |
Create a symbolic link for awk pointing to busybox
Diffstat (limited to 'strip-gplv3.configure')
-rwxr-xr-x | strip-gplv3.configure | 4 |
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') |