Patchwork [2/2] sysvinit: remove unused files

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Sept. 9, 2013, 2:34 a.m.
Message ID <3db763ead1137e1be11252a64326f1321eea2c1c.1378694025.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/57635/
State Accepted
Commit 05ac5627208c98007cd4c7aed9d76f179cd974a9
Headers show

Comments

Qi.Chen@windriver.com - Sept. 9, 2013, 2:34 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

The 'need' and 'provide' files are there for simpleinit compatability,
according to the comments in these two files.

However, we don't use simpleinit and there's even no simpleinit recipe
in OE. Besides, these two files are not installed.

This patch removes these two unused files.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/sysvinit/sysvinit/need       |    6 ------
 meta/recipes-core/sysvinit/sysvinit/provide    |    6 ------
 meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb |    2 --
 3 files changed, 14 deletions(-)
 delete mode 100644 meta/recipes-core/sysvinit/sysvinit/need
 delete mode 100644 meta/recipes-core/sysvinit/sysvinit/provide

Patch

diff --git a/meta/recipes-core/sysvinit/sysvinit/need b/meta/recipes-core/sysvinit/sysvinit/need
deleted file mode 100644
index 4d84bbe..0000000
--- a/meta/recipes-core/sysvinit/sysvinit/need
+++ /dev/null
@@ -1,6 +0,0 @@ 
-#!/bin/sh
-
-# need binary that doesnt do anything, supplied for simpleinit
-# vs sysvinit compatibility for the supplied startup scripts
-
-exit 0
diff --git a/meta/recipes-core/sysvinit/sysvinit/provide b/meta/recipes-core/sysvinit/sysvinit/provide
deleted file mode 100644
index c90cf35..0000000
--- a/meta/recipes-core/sysvinit/sysvinit/provide
+++ /dev/null
@@ -1,6 +0,0 @@ 
-#!/bin/sh
-
-# provide binary that doesnt do anything, supplied for simpleinit
-# vs sysvinit compatibility for the supplied startup scripts
-
-exit 0
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index ac915b7..97ecc51 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -13,8 +13,6 @@  SRC_URI = "http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvini
            file://install.patch \
            file://crypt-lib.patch \
            file://pidof-add-m-option.patch \
-           file://need \
-           file://provide \
            file://rcS-default \
            file://rc \
            file://rcS \