mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 01:30:23 +00:00
systemd-compat-units: disable old style 'networking' script for the time being
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -3,6 +3,8 @@ DESCRIPTION = "Units to make systemd work better with existing sysvinit scripts"
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
inherit allarch
|
inherit allarch
|
||||||
|
|
||||||
SRC_URI = "file://opkg.service"
|
SRC_URI = "file://opkg.service"
|
||||||
@@ -18,7 +20,7 @@ cd $D${sysconfdir}/init.d
|
|||||||
|
|
||||||
echo -n "Disabling the following sysv scripts: "
|
echo -n "Disabling the following sysv scripts: "
|
||||||
|
|
||||||
for i in busybox-udhcpc dnsmasq hwclock.sh syslog syslog.busybox ; do
|
for i in busybox-udhcpc dnsmasq hwclock.sh networking syslog syslog.busybox ; do
|
||||||
if [ -e $i ] ; then
|
if [ -e $i ] ; then
|
||||||
echo -n "$i " ; ln -s /dev/null $D${base_libdir}/systemd/system/$i.service
|
echo -n "$i " ; ln -s /dev/null $D${base_libdir}/systemd/system/$i.service
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user