summaryrefslogtreecommitdiff
path: root/recipes-core/usb-rndis
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-07-26 20:24:02 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2013-09-22 11:09:16 +0200
commit80d1028db9a00f89285680694947e1b70ffa81b2 (patch)
treecffc8a1ee12328474f403bb1fa9d9a6d4bac7f5b /recipes-core/usb-rndis
parent266e53b28f4365e537c8727fc0c554cefa66dd82 (diff)
systemd: adapt to new systemd handling
with the move from meta-openembedded to oe-core some things have changed, e.g. the config files have to explicitly installed
Diffstat (limited to 'recipes-core/usb-rndis')
-rw-r--r--recipes-core/usb-rndis/usb-rndis-systemd.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/usb-rndis/usb-rndis-systemd.bb b/recipes-core/usb-rndis/usb-rndis-systemd.bb
index 5d18b7a..ec4f4cf 100644
--- a/recipes-core/usb-rndis/usb-rndis-systemd.bb
+++ b/recipes-core/usb-rndis/usb-rndis-systemd.bb
@@ -25,6 +25,9 @@ do_install() {
install -m 0755 ${WORKDIR}/start-rndis.sh ${D}/${bindir}/
install -m 0644 ${WORKDIR}/usb-rndis.rules ${D}/${sysconfdir}/udev/rules.d/
install -m 0644 ${WORKDIR}/udhcpd-usb-rndis.conf ${D}/${sysconfdir}/
+
+ install -d ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/usb-rndis.service ${D}${systemd_unitdir}/system
}
NATIVE_SYSTEMD_SUPPORT = "1"