mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00

The previous used license file (from OE-Core source) has changed so we now use the files from common-licenses to avoid this in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
24 lines
681 B
BlitzBasic
24 lines
681 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 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${PN}
|
|
|
|
install -d ${D}${sysconfdir}/default
|
|
install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/${PN}
|
|
}
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|