1 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
3 SRC_URI += "file://e2fsck.conf \
4 file://automount-rules \
6 ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','systemd','file://wired.network','',d)} \
9 # enable networkd/resolved support
10 PACKAGECONFIG_append_pn-systemd = " \
11 ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','systemd','networkd resolved','',d)} \
15 # Install /etc/e2fsck.conf to avoid boot stuck by wrong clock time
16 install -m 644 -p -D ${WORKDIR}/e2fsck.conf ${D}${sysconfdir}/e2fsck.conf
18 if ${@bb.utils.contains('DISTRO_FEATURES', 'automount', 'true', 'false', d)}; then
19 install -m 644 -p -D ${WORKDIR}/automount-rules ${D}${sysconfdir}/udev/rules.d/10-automount.rules
20 install -m 755 -p -D ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
23 if ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','systemd','true','false',d)}; then
24 # Install DHCP configuration for Ethernet adapters
25 install -m 644 ${WORKDIR}/wired.network ${D}${sysconfdir}/systemd/network
29 FILES_${PN} += "${sysconfdir}/e2fsck.conf "