diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-04-09 17:35:17 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-04-09 17:35:17 +1000 |
commit | 346d8cc4e116bd44a6303eeebfcccbec71e8b378 (patch) | |
tree | beaa55d0d3e6c5045d7f43cbf910b946d9690c2f /recipes-core | |
parent | 1b3ba7ccc0e7c1c803270b3f2e39cebef679767c (diff) | |
download | meta-xilinx-346d8cc4e116bd44a6303eeebfcccbec71e8b378.tar.gz |
sysvinit-inittab: Remove postinst package override
* This is not required for MicroBlaze/Zynq
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend deleted file mode 100644 index a14f28b4..00000000 --- a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | |||
2 | pkg_postinst_${PN} () { | ||
3 | #!/bin/sh | ||
4 | # run this on the target | ||
5 | if [ "x$D" == "x" ]; then | ||
6 | tmp="${SERIAL_CONSOLES_CHECK}" | ||
7 | for i in $tmp | ||
8 | do | ||
9 | j=`echo ${i} | sed s/^.*\;//g` | ||
10 | if [ -z "`cat /proc/consoles | grep ${j}`" ]; then | ||
11 | sed -i /^.*${j}$/d /etc/inittab | ||
12 | fi | ||
13 | done | ||
14 | kill -HUP 1 | ||
15 | elif [ -d "$D" ]; then | ||
16 | exit 0 | ||
17 | else | ||
18 | exit 1 | ||
19 | fi | ||
20 | } | ||
21 | |||