mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
package/skeleton-init-finit: enable rngd by default
Platforms with /dev/hwrandom use that to see /dev/urandom. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -204,6 +204,14 @@ endif
|
||||
|
||||
endif # BR2_PACKAGE_QUAGGA
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RNG_TOOLS),y)
|
||||
define SKELETON_INIT_FINIT_SET_RNGD
|
||||
cp $(SKELETON_INIT_FINIT_AVAILABLE)/rngd.conf $(FINIT_D)/available/
|
||||
ln -sf ../available/rngd.conf $(FINIT_D)/enabled/rngd.conf
|
||||
endef
|
||||
SKELETON_INIT_FINIT_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_FINIT_SET_RNGD
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SMCROUTE),y)
|
||||
define SKELETON_INIT_FINIT_SET_SMCROUTE
|
||||
cp $(SKELETON_INIT_FINIT_AVAILABLE)/smcroute.conf $(FINIT_D)/available/
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
service [S12345789] log rngd -f -- Entropy gathering daemon (rngd)
|
||||
Reference in New Issue
Block a user