busybox: Target both edison and HEAD in this overlay
One needs to use BBMASK or delete depending on the targeted OE-Core/Poky version.
This commit is contained in:
parent
d6415c8069
commit
97ba83f17a
|
@ -1,19 +1 @@
|
||||||
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
require ${PN}_sysmocom.inc
|
||||||
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:"
|
|
||||||
PRINC = "6"
|
|
||||||
|
|
||||||
SRC_URI += "file://busybox-ifplugd.sh \
|
|
||||||
file://ifplugd.sh"
|
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-ifplugd"
|
|
||||||
|
|
||||||
FILES_${PN}-ifplugd = "${sysconfdir}/ifplugd.sh ${sysconfdir}/init.d/busybox-ifplugd.sh"
|
|
||||||
|
|
||||||
INITSCRIPT_PACKAGES += "${PN}-ifplugd"
|
|
||||||
INITSCRIPT_NAME = "busybox-ifplugd.sh"
|
|
||||||
|
|
||||||
|
|
||||||
do_install_append() {
|
|
||||||
install -m 0755 ${WORKDIR}/ifplugd.sh ${D}${sysconfdir}/
|
|
||||||
install -m 0755 ${WORKDIR}/busybox-ifplugd.sh ${D}${sysconfdir}/init.d/
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
require ${PN}_sysmocom.inc
|
|
@ -0,0 +1,19 @@
|
||||||
|
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||||
|
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/files:"
|
||||||
|
PRINC = "6"
|
||||||
|
|
||||||
|
SRC_URI += "file://busybox-ifplugd.sh \
|
||||||
|
file://ifplugd.sh"
|
||||||
|
|
||||||
|
PACKAGES =+ "${PN}-ifplugd"
|
||||||
|
|
||||||
|
FILES_${PN}-ifplugd = "${sysconfdir}/ifplugd.sh ${sysconfdir}/init.d/busybox-ifplugd.sh"
|
||||||
|
|
||||||
|
INITSCRIPT_PACKAGES += "${PN}-ifplugd"
|
||||||
|
INITSCRIPT_NAME = "busybox-ifplugd.sh"
|
||||||
|
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
install -m 0755 ${WORKDIR}/ifplugd.sh ${D}${sysconfdir}/
|
||||||
|
install -m 0755 ${WORKDIR}/busybox-ifplugd.sh ${D}${sysconfdir}/init.d/
|
||||||
|
}
|
Loading…
Reference in New Issue