diff options
| author | Khem Raj <raj.khem@gmail.com> | 2013-05-15 21:57:19 -0700 |
|---|---|---|
| committer | Tom Zanussi <tom.zanussi@intel.com> | 2013-05-16 14:33:20 -0500 |
| commit | 2c9fb03aad0108f3ff2713de568632a117227c10 (patch) | |
| tree | aa550151748edab5fde550c963d0eb48782ec124 | |
| parent | 9ea3df3dd76528fa87e24912879123f42d9ae394 (diff) | |
| download | meta-intel-2c9fb03aad0108f3ff2713de568632a117227c10.tar.gz | |
tiny-init: Drop the bbappend
init file which it was providing is ditto as meta-yocto
so bbappend is redundant plus it gets rid of following warning
for non poky distros.
WARNING: No recipes available for:
/builds1/meta-intel/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CC: Darren Hart <dvhart@linux.intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
| -rw-r--r-- | meta-fri2/recipes-core/tiny-init/tiny-init.bbappend | 6 | ||||
| -rw-r--r-- | meta-fri2/recipes-core/tiny-init/tiny-init/init | 26 |
2 files changed, 0 insertions, 32 deletions
diff --git a/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend b/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend deleted file mode 100644 index 89416dc2..00000000 --- a/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | # Update the init script for the tiny image to manually mount devtmpfs and | ||
| 2 | # ensure the ttyPCH1 device is available for the console. | ||
| 3 | |||
| 4 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 5 | |||
| 6 | PRINC := "${@int(PRINC) + 1}" | ||
diff --git a/meta-fri2/recipes-core/tiny-init/tiny-init/init b/meta-fri2/recipes-core/tiny-init/tiny-init/init deleted file mode 100644 index 4b78f017..00000000 --- a/meta-fri2/recipes-core/tiny-init/tiny-init/init +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Mount the Linux kernel virtual filesystems | ||
| 4 | mount none -t proc /proc | ||
| 5 | mount none -t sysfs /sys | ||
| 6 | |||
| 7 | # Ensure devtmpfs is mounted, it must be done manually with initramfs | ||
| 8 | mount none -t devtmpfs /dev | ||
| 9 | |||
| 10 | # Setup PTY infrastructure | ||
| 11 | mkdir /dev/pts | ||
| 12 | mount none -t devpts /dev/pts | ||
| 13 | |||
| 14 | ifup lo | ||
| 15 | |||
| 16 | # Allow for distro or local customizations | ||
| 17 | if [ -f /etc/rc.local ] ; then | ||
| 18 | source /etc/rc.local | ||
| 19 | fi | ||
| 20 | |||
| 21 | # Become session leader and try to find a real tty (e.g. ttyS0) | ||
| 22 | while true; do | ||
| 23 | setsid cttyhack sh | ||
| 24 | echo "Console sh exited with $?, respawning..." | ||
| 25 | sleep 1 | ||
| 26 | done | ||
