summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-07-08 12:45:02 +0100
committerJoshua Lock <josh@linux.intel.com>2010-07-08 12:45:02 +0100
commit4e3cb2adf518240d11d6c149dea075be086aeda1 (patch)
treee9a9138eab0701b06c6c728de1b0644e3a42e26e
parentda9f079481ed65d541cf5b95b47b3b1db6d79c5e (diff)
parente0a1238b227e3e846c220f218c614c52300b3f7a (diff)
downloadpoky-4e3cb2adf518240d11d6c149dea075be086aeda1.tar.gz
Merge branch 'tk/master'
-rw-r--r--meta/classes/siteinfo.bbclass1
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/populate-volatile.sh15
-rw-r--r--meta/packages/initscripts/initscripts_1.0.bb2
3 files changed, 15 insertions, 3 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 8b7d3dfcf6..506a7aa1d2 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -76,7 +76,6 @@ def siteinfo_get_files(d):
76 76
77 # Determine which site files to look for 77 # Determine which site files to look for
78 sites = get_siteinfo_list(d) 78 sites = get_siteinfo_list(d)
79 sites.append("common");
80 79
81 # Check along bbpath for site files and append in reverse order so 80 # Check along bbpath for site files and append in reverse order so
82 # the application specific sites files are last and system site 81 # the application specific sites files are last and system site
diff --git a/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh b/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
index 8742dbfc6b..1813fd1240 100755
--- a/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
+++ b/meta/packages/initscripts/initscripts-1.0/populate-volatile.sh
@@ -168,7 +168,20 @@ apply_cfgfile() {
168 168
169 } 169 }
170 170
171if test -e /etc/volatile.cache -a "$VOLATILE_ENABLE_CACHE" = "yes" -a "x$1" != "xupdate" 171clearcache=0
172exec 9</proc/cmdline
173while read line <&9
174do
175 case "$line" in
176 *clearcache*) clearcache=1
177 ;;
178 *) continue
179 ;;
180 esac
181done
182exec 9>&-
183
184if test -e /etc/volatile.cache -a "$VOLATILE_ENABLE_CACHE" = "yes" -a "x$1" != "xupdate" -a "x$clearcache" = "x0"
172then 185then
173 sh /etc/volatile.cache 186 sh /etc/volatile.cache
174else 187else
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb
index 20503e1c6a..0d79b53a8c 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 = "GPLv2" 6LICENSE = "GPLv2"
7PR = "r121" 7PR = "r122"
8 8
9SRC_URI = "file://functions \ 9SRC_URI = "file://functions \
10 file://halt \ 10 file://halt \