mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-05 05:15:24 +02:00

Update a few recipes to use UNPACKDIR instead of WORKDIR directly. This fixes building against newer master openembedded-core.
24 lines
685 B
BlitzBasic
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}"
|