summaryrefslogtreecommitdiffstats
path: root/rules/haveged.make
Commit message (Collapse)AuthorAgeFilesLines
* rules: cleanup busybox init start script handlingMichael Olbrich2020-11-201-2/+0
| | | | | | | | Make the options only visible if INITMETHOD_BBINIT is enabled. This makes the menu cleaner and the extra 'ifdef PTXCONF_INITMETHOD_BBINIT' can be dropped. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: version bump 1.9.8 -> 1.9.13Robert Schwebel2020-07-311-3/+3
| | | | | | | | | | | The patch was a backport from upstream and has been applied meanwhile. The license was extended by one line, with a new copyright holder and year, but no change of content. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Message-Id: <20200726142436.3113607-4-r.schwebel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: systemd service: move from multi-user.target to sysinit.targetAndreas Pretzsch2020-01-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For devices with no or defective HW RNG, it takes quite long until the kernel random device is seeded, up to several 10 seconds. See kernel "random: crng init done" message for this. As a consequence, anything using /dev/random will block accordingly. This is even true for "ssh-keygen -l" invocations, which should just show the fingerprint of a pubkey. Which can be used e.g. to check for valid keys to be present. One way to expedite this is to run haveged, of course at the cost of reduced quality of the random numbers. But this start has to happen rather early in the boot process. By default (based upon this (old) haveged package), haveged is started late as user service in multi-user.target. So move the start of haveged from multi-user.target to sysinit.target. Also add a service dependency on after systemd-random-seed.service (responsible to seed from a stored random pool, if enabled) and systemd-tmpfiles-setup-dev.service (responsible to setup the dev files). Comparable is done within Fedora and SuSE. Signed-off-by: Andreas Pretzsch <apr@cn-eng.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: version bump 1.9.2 -> 1.9.8Christian Hermann2020-01-231-6/+8
| | | | | | | | | | * upstream provides new tarballs only on github * pull upstream patch to enable threads * fix license identifier Signed-off-by: Christian Hermann <christian.hermann@hytera.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* CREDITS: remove unmaintained fileRoland Hieber2019-07-031-2/+0
| | | | | | | | | | | | | | | This file has been touched 2 times in the last 7 years, and is no longer up to date. Remove it to carry less unmaintained stuff around. Also remove all references to it from file headers using for file in `g grep -l 'See CREDITS for details about who has'`; do sed -i '/See CREDITS for details about who has/,+1d' $file done as well as the different wording from rules/other/Toplevel.make. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* update all spdx license identifier to the new versionMichael Olbrich2018-03-121-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: version bump 1.9.1 -> 1.9.2Robert Schwebel2017-11-231-2/+2
| | | | | | | | The patches have been accepted upstream, so they are not necessary any more. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: don't use PTXCONF_INITMETHOD_SYSTEMD directlyMichael Olbrich2017-07-171-2/+3
| | | | | | | Packages should always have their own symbols to make sure the package is rebuilt when the option changes. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: Introduce bbinit startupAlexander Dahl2017-07-171-0/+11
| | | | | | | | | Added a startup script inspired by upstream, debian, buildroot and the lldpd startup script already present in ptxdist. Also added the usual ptxdist menu stuff for daemons started with bbinit method. Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: Add URL for upstream tarball archiveAlexander Dahl2017-07-171-1/+3
| | | | | Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* haveged: add entropy daemonRobert Schwebel2017-07-041-0/+74
Add the haveged package. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> [mol: keep line-breaks in install_link consistent] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>