mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
a001630a1a
This reverts commit 2edc017a6e
.
We shouldn't be using a shell script here, but the SeedRNG integration
into OpenWRT requires a bit more thought. Etienne raised some important
points immediately after this was merged and planned to send some follow
up commits, but became busy with other things. The points he raised are
important enough that we should actually back this out until it's ready
to go, and then merge it as a cohesive unit. So let's revert this for
now, and come back to it later on.
Cc: Etienne Champetier <champetier.etienne@gmail.com>
Cc: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
30 lines
541 B
Makefile
30 lines
541 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=urandom-seed
|
|
PKG_RELEASE:=3
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/urandom-seed
|
|
SECTION:=base
|
|
CATEGORY:=Base system
|
|
DEPENDS:=+getrandom
|
|
TITLE:=/etc/urandom.seed handling for OpenWrt
|
|
URL:=https://openwrt.org/
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Compile/Default
|
|
endef
|
|
Build/Compile = $(Build/Compile/Default)
|
|
|
|
define Package/urandom-seed/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,urandom-seed))
|