aboutsummaryrefslogtreecommitdiffstats
path: root/meta-yocto/recipes-core/tiny-init/files/init
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-16 16:42:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:31:17 +0000
commit9d5483c37523ff3d334c98cafb848282b54962cd (patch)
treeadb5f8967d92046bbd77d702caf33aeb63d5cccf /meta-yocto/recipes-core/tiny-init/files/init
parentab3a71833c7f446aeed7e2aebbd3e20d484c71ff (diff)
downloadopenembedded-core-contrib-9d5483c37523ff3d334c98cafb848282b54962cd.tar.gz
meta-yocto: Rename to meta-poky to better match its purpose
"poky" is the reference distribution for the Yocto Project. This renames the layer within the meta-yocto repository to meta-poky, better matching what that layer contains. A layer.conf file is left behind as this is the only way which allows existing builds to migrate safely to the new name. It will be removed at some future point. This change requires the corresponding OE-Core change to handle the migration and the changes to the infrastructure to support this. (From meta-yocto rev: d0c88df2e14672fca4ebbde93c5efbcd0e4fa9b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/recipes-core/tiny-init/files/init')
-rw-r--r--meta-yocto/recipes-core/tiny-init/files/init26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init
deleted file mode 100644
index 9140e9558e..0000000000
--- a/meta-yocto/recipes-core/tiny-init/files/init
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Mount the Linux kernel virtual filesystems
-mount none -t proc /proc
-mount none -t sysfs /sys
-
-# Ensure devtmpfs is mounted, it must be done manually with initramfs
-mount none -t devtmpfs /dev
-
-# Setup PTY infrastructure
-mkdir /dev/pts
-mount none -t devpts /dev/pts
-
-ifup lo
-
-# Allow for distro or local customizations
-if [ -f /etc/rc.local ] ; then
- . /etc/rc.local
-fi
-
-# Become session leader and try to find a real tty (e.g. ttyS0)
-while true; do
- setsid cttyhack sh
- echo "Console sh exited with $?, respawning..."
- sleep 1
-done