mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Merge pull request #420 from ishidawataru/rfs-bug-fix
rfs: fix bug that bash doesn't return on error
This commit is contained in:
@@ -389,8 +389,7 @@ class OnlRfsBuilder(object):
|
||||
script = os.path.join(dir_, "tmp/configure.sh")
|
||||
with open(script, "w") as f:
|
||||
os.chmod(script, 0700)
|
||||
f.write("""
|
||||
#!/bin/bash -ex
|
||||
f.write("""#!/bin/bash -ex
|
||||
/bin/echo -e "#!/bin/sh\\nexit 101" >/usr/sbin/policy-rc.d
|
||||
chmod +x /usr/sbin/policy-rc.d
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
Reference in New Issue
Block a user