diff options
author | 2016-06-28 21:53:45 -0700 | |
---|---|---|
committer | 2016-06-28 22:09:12 -0700 | |
commit | be1d8297fc2261f430a52cef8a444deb96555c43 (patch) | |
tree | 9260d46d12331e25272817c6f933bd27fdf0ff24 /targets/livecd-stage1 | |
parent | fileops.py: Fix a traceback clearing teh old profile link (diff) | |
download | catalyst-be1d8297fc2261f430a52cef8a444deb96555c43.tar.gz catalyst-be1d8297fc2261f430a52cef8a444deb96555c43.tar.bz2 catalyst-be1d8297fc2261f430a52cef8a444deb96555c43.zip |
targets/*: Add shebangs for any scripts without one
This is to prevent errors like:
27 Jun 2016 21:29:02 EDT: ERROR : Exception running action sequence build_kernel
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1393, in run
getattr(self, x)()
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1508, in build_kernel
env=self.env)
File "/usr/lib64/python3.4/site-packages/catalyst/support.py", line 47, in cmd
proc = Popen(args, env=env)
File "/usr/lib64/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.4/subprocess.py", line 1457, in _execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error
Diffstat (limited to 'targets/livecd-stage1')
-rwxr-xr-x | targets/livecd-stage1/livecd-stage1-controller.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/targets/livecd-stage1/livecd-stage1-controller.sh b/targets/livecd-stage1/livecd-stage1-controller.sh index 19b8dd13..7bf3bce1 100755 --- a/targets/livecd-stage1/livecd-stage1-controller.sh +++ b/targets/livecd-stage1/livecd-stage1-controller.sh @@ -1,3 +1,4 @@ +#!/bin/bash source ${clst_shdir}/support/functions.sh |