summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2012-12-19 09:55:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-19 17:55:08 +0000
commit43926635693dc7aad78db7caa99c836c54b7491c (patch)
tree76583971357d125558a1a9b8edd937984fd51d7e /meta
parent681bfd4fe366da0aaadcf7477f4718f95d06eeae (diff)
downloadpoky-43926635693dc7aad78db7caa99c836c54b7491c.tar.gz
initscripts/urandom: create directory before staging into it
/etc/init.d/urandom fails to start/stop because it tries to save random-seed into /var/lib/urandom folder which does not exist in the file system. Fixed by creating /var/lib/urandom at do_install time. [YOCTO #3518] [ CQID: WIND00384168 ] (From OE-Core rev: 42e37058e06c76c6782d5371d4a60d260f00fa20) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index d25838b8ec..39be9a866e 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
3SECTION = "base" 3SECTION = "base"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6PR = "r137" 6PR = "r138"
7 7
8INHIBIT_DEFAULT_DEPS = "1" 8INHIBIT_DEFAULT_DEPS = "1"
9 9
@@ -133,4 +133,6 @@ do_install () {
133 fi 133 fi
134 134
135 install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table 135 install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table
136 # Holds state information pertaining to urandom
137 install -d ${D}/var/lib/urandom
136} 138}