diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-04-12 00:53:49 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-04-14 10:12:34 +0200 |
commit | a001630a1aafa224f854fa3ea7589ecefb6e01ae (patch) | |
tree | 9941037631f2533bd433ac494e5fc54d816e5287 /package/system/urandom-seed/Makefile | |
parent | 9a22943eb2670303393a2103f47fae312f484bd2 (diff) | |
download | upstream-a001630a1aafa224f854fa3ea7589ecefb6e01ae.tar.gz upstream-a001630a1aafa224f854fa3ea7589ecefb6e01ae.tar.bz2 upstream-a001630a1aafa224f854fa3ea7589ecefb6e01ae.zip |
urandom-seed: go back to seeding with shell script temporarily
This reverts commit 2edc017a6e0cb92b72b768aaa46c6d336ad84eff.
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>
Diffstat (limited to 'package/system/urandom-seed/Makefile')
-rw-r--r-- | package/system/urandom-seed/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/package/system/urandom-seed/Makefile b/package/system/urandom-seed/Makefile index 0c8d77f445..7c5524a9db 100644 --- a/package/system/urandom-seed/Makefile +++ b/package/system/urandom-seed/Makefile @@ -9,6 +9,7 @@ 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 @@ -18,15 +19,11 @@ define Build/Prepare endef define Build/Compile/Default - $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) \ - -std=gnu99 -o $(PKG_BUILD_DIR)/seedrng seedrng.c endef Build/Compile = $(Build/Compile/Default) define Package/urandom-seed/install $(CP) ./files/* $(1)/ - $(INSTALL_DIR) $(1)/sbin - $(CP) $(PKG_BUILD_DIR)/seedrng $(1)/sbin/ endef $(eval $(call BuildPackage,urandom-seed)) |