meta-freescale-3rdparty/recipes-core/net-persistent-mac/net-persistent-mac.bb
Dan McGregor d576b2f2f1 Fix issues with the UNPACKDIR transition
Update a few recipes to use UNPACKDIR instead of WORKDIR directly.
This fixes building against newer master openembedded-core.
2024-12-06 14:20:06 -06:00

24 lines
685 B
BlitzBasic

SUMMARY = "Network device MAC persistency"
DESCRIPTION = "Provides support to store/restore the MAC of a specific network device"
SECTION = "base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit update-rc.d
INITSCRIPT_NAME = "net-persistent-mac"
INITSCRIPT_PARAMS = "start 39 S ."
SRC_URI = "file://init \
file://default"
do_install () {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/${PN}
install -d ${D}${sysconfdir}/default
install -m 0644 ${UNPACKDIR}/default ${D}${sysconfdir}/default/${PN}
}
PACKAGE_ARCH = "${MACHINE_ARCH}"