<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/06/2012 03:30 AM, Saul Wold
wrote:<br>
</div>
<blockquote cite="mid:50BFA0ED.2030303@linux.intel.com" type="cite">On
12/04/2012 11:57 PM, Ming Liu wrote:
<br>
<blockquote type="cite">/etc/init.d/urandom fails to start/stop
because it tries to save
<br>
random-seed into /var/lib/urandom folder which does not exist in
the
<br>
file system.
<br>
<br>
Fixed by creating /var/lib/urandom at do_install time.
<br>
<br>
Signed-off-by: Ming Liu <a class="moz-txt-link-rfc2396E" href="mailto:ming.liu@windriver.com"><ming.liu@windriver.com></a>
<br>
---
<br>
meta/recipes-core/initscripts/initscripts_1.0.bb | 4 +++-
<br>
1 file changed, 3 insertions(+), 1 deletion(-)
<br>
<br>
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb
b/meta/recipes-core/initscripts/initscripts_1.0.bb
<br>
index d25838b..39be9a8 100644
<br>
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
<br>
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
<br>
@@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide the basic
system startup initialization scrip
<br>
SECTION = "base"
<br>
LICENSE = "GPLv2"
<br>
LIC_FILES_CHKSUM =
<a class="moz-txt-link-rfc2396E" href="file://COPYING;md5=751419260aa954499f7abaabaa882bbe">"file://COPYING;md5=751419260aa954499f7abaabaa882bbe"</a>
<br>
-PR = "r137"
<br>
+PR = "r138"
<br>
<br>
INHIBIT_DEFAULT_DEPS = "1"
<br>
<br>
@@ -133,4 +133,6 @@ do_install () {
<br>
fi
<br>
<br>
install -m 0755 ${WORKDIR}/device_table.txt
${D}${sysconfdir}/device_table
<br>
+ # Holds state information pertaining to urandom
<br>
+ install -d ${D}/var/lib/urandom
<br>
</blockquote>
<br>
I thought this would go in volatiles, not here.
<br>
</blockquote>
Yes, <span style="color: rgb(0, 0, 0); font-family: arial, 宋体;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: 20px;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: pre-wrap; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(247, 247,
247); display: inline !important; float: none; ">it's a
alternative solution or maybe better.</span><br>
I was going to put it into volatiles, but considering it's a urandom
specific directory, so I eventually put it here.<br>
OK, I will send the V2 as you suggest.<br>
<span style="color: rgb(0, 0, 0); font-family: arial, 宋体; font-size:
16px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 20px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform: none;
white-space: pre-wrap; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(247, 247, 247); display: inline !important;
float: none; "></span>
<blockquote cite="mid:50BFA0ED.2030303@linux.intel.com" type="cite">
<br>
Sau!
<br>
<br>
<blockquote type="cite"> }
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</body>
</html>