diff options
| author | Christophe Vu-Brugier <cvubrugier@fastmail.fm> | 2015-09-03 09:55:26 +0200 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2015-10-03 14:21:07 +0200 |
| commit | c6ff869eee978eb82ae740c60a7282860a300d9d (patch) | |
| tree | efe4bb8486980eaa95cc6c0f451b00732a97e7d1 /package/targetcli-fb/targetcli-fb.mk | |
| parent | 9829b82caf2b5d5479da5f1c16a474466ab104d4 (diff) | |
| download | buildroot-c6ff869eee978eb82ae740c60a7282860a300d9d.tar.gz buildroot-c6ff869eee978eb82ae740c60a7282860a300d9d.zip | |
targetcli-fb: systemd support
The systemd service file is taken from Fedora.
Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/targetcli-fb/targetcli-fb.mk')
| -rw-r--r-- | package/targetcli-fb/targetcli-fb.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/targetcli-fb/targetcli-fb.mk b/package/targetcli-fb/targetcli-fb.mk index 0a64c4651d..cf7f29ff4e 100644 --- a/package/targetcli-fb/targetcli-fb.mk +++ b/package/targetcli-fb/targetcli-fb.mk @@ -12,7 +12,13 @@ TARGETCLI_FB_SETUP_TYPE = setuptools TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six define TARGETCLI_FB_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/targetcli-fb/S50target $(TARGET_DIR)/etc/init.d/S50target + $(INSTALL) -m 0755 -D package/targetcli-fb/S50target \ + $(TARGET_DIR)/etc/init.d/S50target +endef + +define TARGETCLI_FB_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 0644 -D package/targetcli-fb/target.service \ + $(TARGET_DIR)/usr/lib/systemd/system/target.service endef # Targetcli stores its configuration in /etc/target/saveconfig.json |

