diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2014-03-12 12:12:32 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2014-03-26 22:41:49 -0500 |
commit | 8d79fb4e0cec07fe05ca440578414eaa6be80a3a (patch) | |
tree | 067a7cc91fcd612e9d9797900378970f010f838f /meta-sys940x/recipes-bsp/genmac | |
parent | a1491bc54b60a1c622a9060756fd9b145bc01378 (diff) | |
download | meta-intel-8d79fb4e0cec07fe05ca440578414eaa6be80a3a.tar.gz |
Remove chiefriver, sys940x & n450 BSPs
Configuration for the chiefriver, sys940x, sys940x-noemgd, n450 BSPs are
deleted. The consolidated BSPs viz intel-corei7-64 and intel-core2-32
support these boards.
As part of the usual retirement process, a heads-up email was sent to the
meta-intel mailing list requesting any feedback regarding retirement of
these BSPs. The community did not had any concerning feedback to
reconsider the retirement decision.
The MAINTAINERS file and the layer version of the meta-intel layer are
updated to reflect removal of the BSPs.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
CC: Darren Hart <dvhart@linux.intel.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta-sys940x/recipes-bsp/genmac')
-rw-r--r-- | meta-sys940x/recipes-bsp/genmac/files/genmac | 46 | ||||
-rw-r--r-- | meta-sys940x/recipes-bsp/genmac/genmac.bb | 30 |
2 files changed, 0 insertions, 76 deletions
diff --git a/meta-sys940x/recipes-bsp/genmac/files/genmac b/meta-sys940x/recipes-bsp/genmac/files/genmac deleted file mode 100644 index 1899e95f..00000000 --- a/meta-sys940x/recipes-bsp/genmac/files/genmac +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: Random MAC address generator | ||
4 | # Required-Start: $syslog | ||
5 | # Required-Stop: $syslog | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: 0 1 6 | ||
8 | # Short-Description: Set a random MAC for tagged interfaces | ||
9 | # Description: Set a random MAC for interfaces with RANDOM_MAC | ||
10 | ### END INIT INFO | ||
11 | |||
12 | # Author: Darren Hart <dvhart@linux.intel.com> | ||
13 | # Based on /etc/init.d/skeleton | ||
14 | |||
15 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
16 | DESC="Set a random MAC for tagged interfaces" | ||
17 | NAME=genmac | ||
18 | RANPWD=`which ranpwd` | ||
19 | SCRIPTNAME=/etc/init.d/$NAME | ||
20 | |||
21 | # Exit if ranpwd is not installed | ||
22 | [ -x "$RANPWD" ] || exit 0 | ||
23 | |||
24 | do_start() { | ||
25 | # Replace every occurence of RANDOM_MAC with a unique locally | ||
26 | # administered, unicast, randomly generated MAC address. | ||
27 | while grep -q RANDOM_MAC /etc/network/interfaces; do | ||
28 | sed -i "1,/RANDOM_MAC/s/RANDOM_MAC/$($RANPWD -m)/" /etc/network/interfaces | ||
29 | done | ||
30 | } | ||
31 | |||
32 | case "$1" in | ||
33 | start) | ||
34 | echo "$NAME: Setting random MAC addresses" | ||
35 | do_start | ||
36 | ;; | ||
37 | stop) | ||
38 | ;; | ||
39 | *) | ||
40 | echo "Usage: $SCRIPTNAME {start|stop}" >&2 | ||
41 | exit 3 | ||
42 | ;; | ||
43 | esac | ||
44 | |||
45 | exit 0 | ||
46 | |||
diff --git a/meta-sys940x/recipes-bsp/genmac/genmac.bb b/meta-sys940x/recipes-bsp/genmac/genmac.bb deleted file mode 100644 index 29276603..00000000 --- a/meta-sys940x/recipes-bsp/genmac/genmac.bb +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | SUMMARY = "Provide a basic init script to generate a random MAC" | ||
2 | DESCRIPTION = "Set the MAC from the config file." | ||
3 | SECTION = "base" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" | ||
6 | |||
7 | PR = "r0" | ||
8 | |||
9 | inherit update-rc.d | ||
10 | |||
11 | RDEPENDS_${PN} = "ranpwd" | ||
12 | |||
13 | SRC_URI = "file://genmac" | ||
14 | |||
15 | INITSCRIPT_NAME = "genmac" | ||
16 | # Run as early as possible to ensure we are before the networking scripts | ||
17 | INITSCRIPT_PARAMS = "start 39 S ." | ||
18 | |||
19 | do_install() { | ||
20 | install -d ${D}${sysconfdir} \ | ||
21 | ${D}${sysconfdir}/init.d | ||
22 | install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d | ||
23 | cat ${WORKDIR}/${INITSCRIPT_NAME} | \ | ||
24 | sed -e 's,/etc,${sysconfdir},g' \ | ||
25 | -e 's,/usr/sbin,${sbindir},g' \ | ||
26 | -e 's,/var,${localstatedir},g' \ | ||
27 | -e 's,/usr/bin,${bindir},g' \ | ||
28 | -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
29 | chmod 755 ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
30 | } | ||