summaryrefslogtreecommitdiffstats
path: root/meta/packages/initscripts
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-08-04 13:45:06 +0000
committerRoss Burton <ross@openedhand.com>2008-08-04 13:45:06 +0000
commit4f1efa2226096e30d06e6b3e3e3eff5b4c225d6a (patch)
treea29fae482892fc1524c7f2f77ccc109e914b8374 /meta/packages/initscripts
parentcf55538e50b59558da695c921d40b3d7921440ef (diff)
downloadpoky-4f1efa2226096e30d06e6b3e3e3eff5b4c225d6a.tar.gz
initscripts: merge OE change of cpuinfo_id to machine_id, fixing gsmd's startup
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5016 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/initscripts')
-rw-r--r--meta/packages/initscripts/initscripts-1.0/functions4
-rw-r--r--meta/packages/initscripts/initscripts_1.0.bb2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/functions b/meta/packages/initscripts/initscripts-1.0/functions
index 514618770a..689fd32b39 100644
--- a/meta/packages/initscripts/initscripts-1.0/functions
+++ b/meta/packages/initscripts/initscripts-1.0/functions
@@ -4,8 +4,8 @@
4# shell scripts in the /etc/init.d directory. 4# shell scripts in the /etc/init.d directory.
5# 5#
6 6
7cpuinfo_id() { # return the Hardware module ID 7machine_id() { # return the machine ID
8 awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo 8 awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
9} 9}
10 10
11killproc() { # kill the named process(es) 11killproc() { # kill the named process(es)
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb
index d2fc3d5e52..377cc14102 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 = "r116" 7PR = "r117"
8 8
9SRC_URI = "file://functions \ 9SRC_URI = "file://functions \
10 file://halt \ 10 file://halt \