]> git.ipfire.org Git - ipfire-2.x.git/commit
rng-tools: Move from core package to addon - fixes bug 12900
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 5 Feb 2023 18:06:26 +0000 (19:06 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 4 Mar 2023 13:55:31 +0000 (13:55 +0000)
commitf4b849cb3fb839d8eec6fb8a682f85cabd2f7d71
tree021244e0ef634e894df8344697bf42629478d7c9
parent4b8fef1371ea21ff3768486b27cb1243158dcdf3
rng-tools: Move from core package to addon - fixes bug 12900

- This patch is to move the rng-tools package from a core package to an addon. With the
   kernel changes from 5.6 rngd is no longer needed to create the required kernel entropy.
- The results from HRNG's via rngd are used with an XOR after the entropy is
   collected by the kernel. So the HWRNG output is used to dilute the kernel random number
   data, which is already merged from several sources.
- Based on the above and @Paul's request in the bug report to have rng-tools kept as an
   addon this patch set is submitted for consideration to keep rng-tools but as an addon.
- move rng-tools rootfile from common to packages
- Modify rng-tools lfs from core package to addon package
- Create rng-tools pak to install and uninstall - creating rc.d links for start & stop.
- Move rngd initscript from system to packages directory.
- Installed into my vm testbed and confirmed that it works. No rngd daemon installed
   from iso install. After addon install rngd is present and running. Added various files
   to be able to test the services wui page. rngd shows up and can be turned off and on

Fixes: Bug#12900
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
config/rootfiles/packages/rng-tools [moved from config/rootfiles/common/rng-tools with 69% similarity]
lfs/rng-tools
src/initscripts/packages/rngd [moved from src/initscripts/system/rngd with 100% similarity]
src/paks/rng-tools/install.sh [new file with mode: 0644]
src/paks/rng-tools/uninstall.sh [new file with mode: 0644]
src/paks/rng-tools/update.sh [new file with mode: 0644]