[meta-intel] [meta-minnow][PATCH] tiny-init: Remove bbappend

Darren Hart dvhart at linux.intel.com
Fri Oct 18 11:05:33 PDT 2013


On Wed, 2013-10-16 at 17:29 -0700, Khem Raj wrote:
> init file is exact copy whats in meta-yocto
> so delete it here

Hi Khem, was this for meta-minnow? I don't see this file in any of the
branches dylan, danny, dora, or master.

--
Darren

> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  recipes-core/tiny-init/tiny-init.bbappend |  5 -----
>  recipes-core/tiny-init/tiny-init/init     | 26 --------------------------
>  2 files changed, 31 deletions(-)
>  delete mode 100644 recipes-core/tiny-init/tiny-init.bbappend
>  delete mode 100644 recipes-core/tiny-init/tiny-init/init
> 
> diff --git a/recipes-core/tiny-init/tiny-init.bbappend b/recipes-core/tiny-init/tiny-init.bbappend
> deleted file mode 100644
> index ac8abbf..0000000
> --- a/recipes-core/tiny-init/tiny-init.bbappend
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -# Update the init script for the tiny image to manually mount devtmpfs and
> -# ensure the ttyPCH1 device is available for the console.
> -
> -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 
> -PRINC := "${@int(PRINC) + 1}"
> diff --git a/recipes-core/tiny-init/tiny-init/init b/recipes-core/tiny-init/tiny-init/init
> deleted file mode 100644
> index 4b78f01..0000000
> --- a/recipes-core/tiny-init/tiny-init/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
> -	source /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

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel





More information about the meta-intel mailing list