All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-intel][PATCH] tiny-init: Drop the bbappend
@ 2013-05-16  4:57 Khem Raj
  2013-05-16 19:15 ` Darren Hart
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2013-05-16  4:57 UTC (permalink / raw)
  To: meta-intel, yocto; +Cc: Darren Hart

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>
---
 .../recipes-core/tiny-init/tiny-init.bbappend      |    6 -----
 meta-fri2/recipes-core/tiny-init/tiny-init/init    |   26 --------------------
 2 files changed, 32 deletions(-)
 delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
 delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init/init

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 89416dc..0000000
--- a/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
+++ /dev/null
@@ -1,6 +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/meta-fri2/recipes-core/tiny-init/tiny-init/init b/meta-fri2/recipes-core/tiny-init/tiny-init/init
deleted file mode 100644
index 4b78f01..0000000
--- a/meta-fri2/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
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-intel][PATCH] tiny-init: Drop the bbappend
  2013-05-16  4:57 [meta-intel][PATCH] tiny-init: Drop the bbappend Khem Raj
@ 2013-05-16 19:15 ` Darren Hart
  2013-05-16 19:35   ` [meta-intel] [PATCH] " Tom Zanussi
  0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2013-05-16 19:15 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-intel, yocto



On 05/15/2013 09:57 PM, Khem Raj wrote:
> 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>

Thanks Khem!

> ---
>  .../recipes-core/tiny-init/tiny-init.bbappend      |    6 -----
>  meta-fri2/recipes-core/tiny-init/tiny-init/init    |   26 --------------------
>  2 files changed, 32 deletions(-)
>  delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
>  delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init/init
> 
> 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 89416dc..0000000
> --- a/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
> +++ /dev/null
> @@ -1,6 +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/meta-fri2/recipes-core/tiny-init/tiny-init/init b/meta-fri2/recipes-core/tiny-init/tiny-init/init
> deleted file mode 100644
> index 4b78f01..0000000
> --- a/meta-fri2/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 - Technical Lead - Linux Kernel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-intel] [PATCH] tiny-init: Drop the bbappend
  2013-05-16 19:15 ` Darren Hart
@ 2013-05-16 19:35   ` Tom Zanussi
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Zanussi @ 2013-05-16 19:35 UTC (permalink / raw)
  To: Darren Hart; +Cc: meta-intel, yocto

Pulled into meta-intel/master.

Thanks,

Tom

On Thu, 2013-05-16 at 12:15 -0700, Darren Hart wrote:
> 
> On 05/15/2013 09:57 PM, Khem Raj wrote:
> > 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>
> 
> Thanks Khem!
> 
> > ---
> >  .../recipes-core/tiny-init/tiny-init.bbappend      |    6 -----
> >  meta-fri2/recipes-core/tiny-init/tiny-init/init    |   26 --------------------
> >  2 files changed, 32 deletions(-)
> >  delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
> >  delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init/init
> > 
> > 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 89416dc..0000000
> > --- a/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
> > +++ /dev/null
> > @@ -1,6 +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/meta-fri2/recipes-core/tiny-init/tiny-init/init b/meta-fri2/recipes-core/tiny-init/tiny-init/init
> > deleted file mode 100644
> > index 4b78f01..0000000
> > --- a/meta-fri2/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
> > 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-16 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16  4:57 [meta-intel][PATCH] tiny-init: Drop the bbappend Khem Raj
2013-05-16 19:15 ` Darren Hart
2013-05-16 19:35   ` [meta-intel] [PATCH] " Tom Zanussi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.