summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/files/docker.init
Commit message (Collapse)AuthorAgeFilesLines
* docker: move docker.init back to files directory to use it from docker-mobyMartin Jansa2020-07-021-0/+131
| | | | | | | | | | | | | * it was moved for some reason in: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=929372946aeb85953d1ca6acc428d73fbac52a56 but docker-moby uses it as well and now started to fail with: ERROR: docker-moby-19.03.12+git9dc6525e6118a25fab2be322d1914740ea842495-r0 do_fetch: Fetcher failure: Unable to find file file://docker.init anywhere. .. Signed-off-by: Martin Jansa <martin.jansa@lge.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce/docker-moby: fixup GO compiler callsBruce Ashfield2020-07-011-131/+0
| | | | | | | | | | | | | | | | | | | | With oe-core commit c23f9e80492e4b [tcmode-default: use go-binary-native by default], we must explictly call the proper cross go binary, versus just the go-native variant. These builds were working by luck, since the go compiler was capable of building the target binaries previously (in its build-from-source creation). We fixup the calls and we no longer see fpu build issues: fatal error: gnu/stubs-soft.h: No such file or directory 7 | # include <gnu/stubs-soft.h> | ^~~~~~~~~~~~~~~~~~ This commit also moves the docker-ce patches from "files" to a named directory to reduce confusion. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: fix init script for busyboxPhil Coval2020-02-271-1/+1
| | | | | | | | | | | 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>
* Add pidfile flag to store dockerd PID in /var/run/dockerd.pidTing Yu2018-12-041-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: fix broken init scriptChin Huat Ang2018-11-201-4/+8
| | | | | | | | | Fix numerous docker.init issues such as missing runtime dependency util-linux-unshare, incomplete handling of start/stop etc. operations and minor typos. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: Fix and update sysvinit scriptJan Kiszka2017-07-171-2/+3
| | | | | | | | | Fix daemonization, align args with docker.service, fix line breaks in log file - and fix INITSCRIPT_PARAMS (there is no variable OS_DEFAULT_INITSCRIPT_PARAMS). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: add sysvinit scriptBruce Ashfield2015-04-081-0/+126
Adding a basic sysvinit script to docker .. for those that still use sysvinit! Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>