summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-core/systemd/systemd-compat-units.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd-compat-units.bb b/meta-oe/recipes-core/systemd/systemd-compat-units.bb
index 6fc040f55..2fd88abcd 100644
--- a/meta-oe/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta-oe/recipes-core/systemd/systemd-compat-units.bb
@@ -3,6 +3,8 @@ DESCRIPTION = "Units to make systemd work better with existing sysvinit scripts"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" 4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
5 5
6PR = "r1"
7
6inherit allarch 8inherit allarch
7 9
8SRC_URI = "file://opkg.service" 10SRC_URI = "file://opkg.service"
@@ -18,7 +20,7 @@ cd $D${sysconfdir}/init.d
18 20
19echo -n "Disabling the following sysv scripts: " 21echo -n "Disabling the following sysv scripts: "
20 22
21for i in busybox-udhcpc dnsmasq hwclock.sh syslog syslog.busybox ; do 23for i in busybox-udhcpc dnsmasq hwclock.sh networking syslog syslog.busybox ; do
22 if [ -e $i ] ; then 24 if [ -e $i ] ; then
23 echo -n "$i " ; ln -s /dev/null $D${base_libdir}/systemd/system/$i.service 25 echo -n "$i " ; ln -s /dev/null $D${base_libdir}/systemd/system/$i.service
24 fi 26 fi