Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93c17af

Browse files
committed
make build tree read-only
1 parent 6aca85e commit 93c17af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

adt-runscript.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def parse_depends(self, d):
122122
# remove build-essential usually present in packaging chroots
123123
f.write("apt-get remove -f -y --force-yes libc6-dev gcc g++ make dpkg-dev\n")
124124
f.write("cd %s\n" % os.path.join(tmp, pkgdir))
125+
f.write("chmod a-w -R .\n")
125126
for t in tests:
126127
aptdep = " ".join(t.depends - loc_pkg_names)
127128

0 commit comments

Comments
 (0)