Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make Dockerfile friendlier to more build systems * Patch install-sysroot.py * Fix and hasten Docker Makefile * Clarify Makefile.docker --------- Co-authored-by: Andrew Brobston <400286+abrobston@users.noreply.github.com> Co-authored-by: Jerry Sievert <code@legitimatesounding.com>
- Loading branch information
1 parent
b410e8f
commit 42471e1
Showing
4 changed files
with
78 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/linux/sysroot_scripts/install-sysroot.py b/linux/sysroot_scripts/install-sysroot.py | ||
index eaa1c2e..abd7eb4 100755 | ||
--- a/linux/sysroot_scripts/install-sysroot.py | ||
+++ b/linux/sysroot_scripts/install-sysroot.py | ||
@@ -155,7 +155,7 @@ | ||
if sha1sum != tarball_sha1sum: | ||
raise Error('Tarball sha1sum is wrong.' | ||
'Expected %s, actual: %s' % (tarball_sha1sum, sha1sum)) | ||
- subprocess.check_call(['tar', 'xf', tarball, '-C', sysroot]) | ||
+ subprocess.check_call(['tar', 'mxf', tarball, '-C', sysroot]) | ||
os.remove(tarball) | ||
|
||
with open(stamp, 'w') as s: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/linux/sysroot_scripts/install-sysroot.py b/linux/sysroot_scripts/install-sysroot.py | ||
index eaa1c2e..abd7eb4 100755 | ||
--- a/linux/sysroot_scripts/install-sysroot.py | ||
+++ b/linux/sysroot_scripts/install-sysroot.py | ||
@@ -155,7 +155,7 @@ | ||
if sha1sum != tarball_sha1sum: | ||
raise Error('Tarball sha1sum is wrong.' | ||
'Expected %s, actual: %s' % (tarball_sha1sum, sha1sum)) | ||
- subprocess.check_call(['tar', 'mxf', tarball, '-C', sysroot]) | ||
+ subprocess.check_call(['tar', '--no-same-owner', '-mxf', tarball, '-C', sysroot]) | ||
os.remove(tarball) | ||
|
||
with open(stamp, 'w') as s: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters