meta-freescale-3rdparty/recipes-core/net-persistent-mac/net-persistent-mac.bb
Otavio Salvador 6d0e053823 net-persistent-mac: Use the license text from common-licenses
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>
2014-01-29 10:56:49 -02:00

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}"