diff options
author | Phil Coval <rzr@users.sf.net> | 2020-02-22 09:54:56 +0100 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-02-27 16:54:54 -0500 |
commit | a3b36fbb1f5c3f476a7b6eb007171d5730e61b09 (patch) | |
tree | 1e7e5fed65cb157dc598e73f38252032dd6edd6c | |
parent | 15e9fc23ecaf0607880211c96818ffea8e4044fc (diff) | |
download | meta-virtualization-a3b36fbb1f5c3f476a7b6eb007171d5730e61b09.tar.gz |
docker: fix init script for busybox
Observed issue using BusyBox v1.30.1 not supporting bashism
/etc/init.d/docker.init: line 43: syntax error: unexpected redirection
Change-Id: I9f73564cfb56352fbf7d80723ea938b66eceb5c7
Forwarded: https://lists.yoctoproject.org/g/meta-virtualization
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/docker/files/docker.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init index b37ddc95..24f8fea6 100644 --- a/recipes-containers/docker/files/docker.init +++ b/recipes-containers/docker/files/docker.init | |||
@@ -40,7 +40,7 @@ start() { | |||
40 | if ! [ -f $pidfile ]; then | 40 | if ! [ -f $pidfile ]; then |
41 | printf "Starting $prog:\t" | 41 | printf "Starting $prog:\t" |
42 | echo -e "\n$(date)\n" >> $logfile | 42 | echo -e "\n$(date)\n" >> $logfile |
43 | "$unshare" -m -- $exec $other_args &>> $logfile & | 43 | "$unshare" -m -- $exec $other_args >> $logfile 2>&1 & |
44 | pid=$! | 44 | pid=$! |
45 | touch $lockfile | 45 | touch $lockfile |
46 | # wait up to 10 seconds for the pidfile to exist. see | 46 | # wait up to 10 seconds for the pidfile to exist. see |