diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 02:06:17 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 02:06:17 +0200 |
commit | 54eecdabe0cdfdc47d77b3e182fda5899702ded7 (patch) | |
tree | 8e28d750773f0aa38f0d2de83109b190faf0b425 /recipes-core/net-persistent-mac/net-persistent-mac.bb | |
download | meta-fsl-arm-extra-54eecdabe0cdfdc47d77b3e182fda5899702ded7.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-core/net-persistent-mac/net-persistent-mac.bb')
-rw-r--r-- | recipes-core/net-persistent-mac/net-persistent-mac.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-core/net-persistent-mac/net-persistent-mac.bb b/recipes-core/net-persistent-mac/net-persistent-mac.bb new file mode 100644 index 0000000..17111c0 --- /dev/null +++ b/recipes-core/net-persistent-mac/net-persistent-mac.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Network device MAC persistency" | ||
2 | DESCRIPTION = "Provides support to store/restore the MAC of a specific network device" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
6 | |||
7 | inherit update-rc.d | ||
8 | |||
9 | INITSCRIPT_NAME = "net-persistent-mac" | ||
10 | INITSCRIPT_PARAMS = "start 39 S ." | ||
11 | |||
12 | SRC_URI = "file://init \ | ||
13 | file://default" | ||
14 | |||
15 | do_install () { | ||
16 | install -d ${D}${sysconfdir}/init.d | ||
17 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${PN} | ||
18 | |||
19 | install -d ${D}${sysconfdir}/default | ||
20 | install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/${PN} | ||
21 | } | ||
22 | |||
23 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||