Skip to contentSkip to conversation

tiny-init: Drop the bbappend

PATCH In review Khem Raj 3 participants 3 messages May 16, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 .../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
meta-fri2/recipes-core/tiny-init/tiny-init.bbappend deleted +0 -6
deleted file mode 100644
index 89416dc..0000000
@@ -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}"
meta-fri2/recipes-core/tiny-init/tiny-init/init deleted +0 -26
deleted file mode 100644
index 4b78f01..0000000
@@ -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
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Khem Raj

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

Thanks Khem!

Quoted 52 lines
---
 .../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
meta-fri2/recipes-core/tiny-init/tiny-init.bbappend deleted +0 -6
deleted file mode 100644
index 89416dc..0000000
@@ -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}"
meta-fri2/recipes-core/tiny-init/tiny-init/init deleted +0 -26
deleted file mode 100644
index 4b78f01..0000000
@@ -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
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
#2 lore raw

Pulled into meta-intel/master.

Thanks,

Tom

Quoted 69 lines · Darren Hart
Quoted 9 lines · Khem Raj

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

Thanks Khem!

Quoted 52 lines
---
 .../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
meta-fri2/recipes-core/tiny-init/tiny-init.bbappend deleted +0 -6
deleted file mode 100644
index 89416dc..0000000
@@ -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}"
meta-fri2/recipes-core/tiny-init/tiny-init/init deleted +0 -26
deleted file mode 100644
index 4b78f01..0000000
@@ -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