/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 ]
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-PR = "r137"
+PR = "r138"
INHIBIT_DEFAULT_DEPS = "1"
fi
install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table
+ # Holds state information pertaining to urandom
+ install -d ${D}/var/lib/urandom
}