summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-13 14:20:37 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-13 14:20:37 +0000
commit7f5b6f93394116ce3a4868b386f3cee9f1129f9b (patch)
tree2888b252bee780cd830b5a694d35cd9d064d0e5e
parentb357bf3297830baa55e8e28c0c0a45535d7f650f (diff)
downloadpoky-7f5b6f93394116ce3a4868b386f3cee9f1129f9b.tar.gz
initscripts: rename simple shell scripts to *.sh so they are sourced instead of forking
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4642 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/initscripts/initscripts-1.0/banner.sh (renamed from meta/packages/initscripts/initscripts-1.0/banner)0
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/finish.sh (renamed from meta/packages/initscripts/initscripts-1.0/finish)0
-rw-r--r--meta/packages/initscripts/initscripts_1.0.bb18
3 files changed, 9 insertions, 9 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/banner b/meta/packages/initscripts/initscripts-1.0/banner.sh
index 0349ce1954..0349ce1954 100644
--- a/meta/packages/initscripts/initscripts-1.0/banner
+++ b/meta/packages/initscripts/initscripts-1.0/banner.sh
diff --git a/meta/packages/initscripts/initscripts-1.0/finish b/meta/packages/initscripts/initscripts-1.0/finish.sh
index 4f9f75f47c..4f9f75f47c 100755
--- a/meta/packages/initscripts/initscripts-1.0/finish
+++ b/meta/packages/initscripts/initscripts-1.0/finish.sh
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb
index 17abd0a0ba..6f65e12bb4 100644
--- a/meta/packages/initscripts/initscripts_1.0.bb
+++ b/meta/packages/initscripts/initscripts_1.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "required"
4DEPENDS = "makedevs" 4DEPENDS = "makedevs"
5RDEPENDS = "makedevs" 5RDEPENDS = "makedevs"
6LICENSE = "GPL" 6LICENSE = "GPL"
7PR = "r108" 7PR = "r109"
8 8
9SRC_URI = "file://functions \ 9SRC_URI = "file://functions \
10 file://halt \ 10 file://halt \
@@ -13,8 +13,8 @@ SRC_URI = "file://functions \
13 file://devpts \ 13 file://devpts \
14 file://hostname.sh \ 14 file://hostname.sh \
15 file://mountall.sh \ 15 file://mountall.sh \
16 file://banner \ 16 file://banner.sh \
17 file://finish \ 17 file://finish.sh \
18 file://bootmisc.sh \ 18 file://bootmisc.sh \
19 file://mountnfs.sh \ 19 file://mountnfs.sh \
20 file://reboot \ 20 file://reboot \
@@ -54,7 +54,7 @@ do_install () {
54 install -m 0755 ${WORKDIR}/functions ${D}${sysconfdir}/init.d 54 install -m 0755 ${WORKDIR}/functions ${D}${sysconfdir}/init.d
55 install -m 0755 ${WORKDIR}/bootmisc.sh ${D}${sysconfdir}/init.d 55 install -m 0755 ${WORKDIR}/bootmisc.sh ${D}${sysconfdir}/init.d
56 install -m 0755 ${WORKDIR}/checkroot.sh ${D}${sysconfdir}/init.d 56 install -m 0755 ${WORKDIR}/checkroot.sh ${D}${sysconfdir}/init.d
57 install -m 0755 ${WORKDIR}/finish ${D}${sysconfdir}/init.d 57 install -m 0755 ${WORKDIR}/finish.sh ${D}${sysconfdir}/init.d
58 install -m 0755 ${WORKDIR}/halt ${D}${sysconfdir}/init.d 58 install -m 0755 ${WORKDIR}/halt ${D}${sysconfdir}/init.d
59 install -m 0755 ${WORKDIR}/hostname.sh ${D}${sysconfdir}/init.d 59 install -m 0755 ${WORKDIR}/hostname.sh ${D}${sysconfdir}/init.d
60 install -m 0755 ${WORKDIR}/mountall.sh ${D}${sysconfdir}/init.d 60 install -m 0755 ${WORKDIR}/mountall.sh ${D}${sysconfdir}/init.d
@@ -77,7 +77,7 @@ do_install () {
77# 77#
78# Install device dependent scripts 78# Install device dependent scripts
79# 79#
80 install -m 0755 ${WORKDIR}/banner ${D}${sysconfdir}/init.d/banner 80 install -m 0755 ${WORKDIR}/banner.sh ${D}${sysconfdir}/init.d/banner.sh
81 install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d/umountfs 81 install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d/umountfs
82# 82#
83# Create runlevel links 83# Create runlevel links
@@ -100,7 +100,7 @@ do_install () {
100 ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt 100 ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt
101 ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc0.d/S25save-rtc.sh 101 ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc0.d/S25save-rtc.sh
102 ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc6.d/S25save-rtc.sh 102 ln -sf ../init.d/save-rtc.sh ${D}${sysconfdir}/rc6.d/S25save-rtc.sh
103 ln -sf ../init.d/banner ${D}${sysconfdir}/rcS.d/S02banner 103 ln -sf ../init.d/banner.sh ${D}${sysconfdir}/rcS.d/S02banner.sh
104 ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S10checkroot.sh 104 ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S10checkroot.sh
105# ln -sf ../init.d/checkfs.sh ${D}${sysconfdir}/rcS.d/S30checkfs.sh 105# ln -sf ../init.d/checkfs.sh ${D}${sysconfdir}/rcS.d/S30checkfs.sh
106 ln -sf ../init.d/mountall.sh ${D}${sysconfdir}/rcS.d/S35mountall.sh 106 ln -sf ../init.d/mountall.sh ${D}${sysconfdir}/rcS.d/S35mountall.sh
@@ -108,13 +108,13 @@ do_install () {
108 ln -sf ../init.d/mountnfs.sh ${D}${sysconfdir}/rcS.d/S45mountnfs.sh 108 ln -sf ../init.d/mountnfs.sh ${D}${sysconfdir}/rcS.d/S45mountnfs.sh
109 ln -sf ../init.d/bootmisc.sh ${D}${sysconfdir}/rcS.d/S55bootmisc.sh 109 ln -sf ../init.d/bootmisc.sh ${D}${sysconfdir}/rcS.d/S55bootmisc.sh
110# ln -sf ../init.d/urandom ${D}${sysconfdir}/rcS.d/S55urandom 110# ln -sf ../init.d/urandom ${D}${sysconfdir}/rcS.d/S55urandom
111 ln -sf ../init.d/finish ${D}${sysconfdir}/rcS.d/S99finish 111 ln -sf ../init.d/finish.sh ${D}${sysconfdir}/rcS.d/S99finish.sh
112 # udev will run at S04 if installed 112 # udev will run at S04 if installed
113 ln -sf ../init.d/sysfs.sh ${D}${sysconfdir}/rcS.d/S03sysfs 113 ln -sf ../init.d/sysfs.sh ${D}${sysconfdir}/rcS.d/S03sysfs.sh
114 ln -sf ../init.d/populate-volatile.sh ${D}${sysconfdir}/rcS.d/S37populate-volatile.sh 114 ln -sf ../init.d/populate-volatile.sh ${D}${sysconfdir}/rcS.d/S37populate-volatile.sh
115 ln -sf ../init.d/devpts.sh ${D}${sysconfdir}/rcS.d/S38devpts.sh 115 ln -sf ../init.d/devpts.sh ${D}${sysconfdir}/rcS.d/S38devpts.sh
116 if [ "${TARGET_ARCH}" = "arm" ]; then 116 if [ "${TARGET_ARCH}" = "arm" ]; then
117 ln -sf ../init.d/alignment.sh ${D}${sysconfdir}/rcS.d/S06alignment 117 ln -sf ../init.d/alignment.sh ${D}${sysconfdir}/rcS.d/S06alignment.sh
118 fi 118 fi
119 119
120 install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table 120 install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table