Patchwork [1/1] initscripts: remove finish.sh

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Jan. 11, 2013, 4:11 a.m.
Message ID <7ffead0b32913021f84520c042dc40e1a5738b27.1357875161.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/42477/
State Accepted
Commit c7f170bcb86f14c34f96a13e2f427aa186bdb721
Headers show

Comments

Qi.Chen@windriver.com - Jan. 11, 2013, 4:11 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

Remove finish.sh from initscripts as it is no longer used.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../initscripts/initscripts-1.0/finish.sh          |   14 --------------
 meta/recipes-core/initscripts/initscripts_1.0.bb   |    7 ++-----
 2 files changed, 2 insertions(+), 19 deletions(-)
 delete mode 100755 meta/recipes-core/initscripts/initscripts-1.0/finish.sh

Patch

diff --git a/meta/recipes-core/initscripts/initscripts-1.0/finish.sh b/meta/recipes-core/initscripts/initscripts-1.0/finish.sh
deleted file mode 100755
index 183a384..0000000
--- a/meta/recipes-core/initscripts/initscripts-1.0/finish.sh
+++ /dev/null
@@ -1,14 +0,0 @@ 
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides:          finish.sh
-# Required-Start:    $remote_fs rmnologin
-# Required-Stop:
-# Default-Start:     2 3 4 5
-# Default-Stop:
-# Short-Description: Finish system start
-# Description:       
-### END INIT INFO
-
-if ! test -e /etc/.configured; then
-	> /etc/.configured
-fi
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 39be9a8..6e15f88 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -3,7 +3,7 @@  DESCRIPTION = "Initscripts provide the basic system startup initialization scrip
 SECTION = "base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-PR = "r138"
+PR = "r139"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
@@ -15,7 +15,6 @@  SRC_URI = "file://functions \
            file://hostname.sh \
            file://mountall.sh \
            file://banner.sh \
-           file://finish.sh \
            file://bootmisc.sh \
            file://mountnfs.sh \
            file://reboot \
@@ -31,7 +30,7 @@  SRC_URI = "file://functions \
            file://populate-volatile.sh \
            file://volatiles \
            file://save-rtc.sh \
-	   file://GPLv2.patch"
+           file://GPLv2.patch"
 
 SRC_URI_append_arm = " file://alignment.sh"
 
@@ -69,7 +68,6 @@  do_install () {
 	install -m 0644    ${WORKDIR}/functions		${D}${sysconfdir}/init.d
 	install -m 0755    ${WORKDIR}/bootmisc.sh	${D}${sysconfdir}/init.d
 	install -m 0755    ${WORKDIR}/checkroot.sh	${D}${sysconfdir}/init.d
-#	install -m 0755    ${WORKDIR}/finish.sh		${D}${sysconfdir}/init.d
 	install -m 0755    ${WORKDIR}/halt		${D}${sysconfdir}/init.d
 	install -m 0755    ${WORKDIR}/hostname.sh	${D}${sysconfdir}/init.d
 	install -m 0755    ${WORKDIR}/mountall.sh	${D}${sysconfdir}/init.d
@@ -123,7 +121,6 @@  do_install () {
 	ln -sf		../init.d/mountnfs.sh	${D}${sysconfdir}/rcS.d/S45mountnfs.sh
 	ln -sf		../init.d/bootmisc.sh	${D}${sysconfdir}/rcS.d/S55bootmisc.sh
 #	ln -sf		../init.d/urandom	${D}${sysconfdir}/rcS.d/S55urandom
-#	ln -sf		../init.d/finish.sh	${D}${sysconfdir}/rcS.d/S99finish.sh
 	ln -sf		../init.d/sysfs.sh	${D}${sysconfdir}/rcS.d/S02sysfs.sh
 	# udev will run at S03 if installed
 	ln -sf		../init.d/populate-volatile.sh	${D}${sysconfdir}/rcS.d/S37populate-volatile.sh