package/urandom-scripts: new package
authorChristoph Müllner <christoph.muellner@theobroma-systems.com>
Mon, 20 Jul 2020 15:20:10 +0000 (17:20 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 20 Jul 2020 20:56:14 +0000 (22:56 +0200)
commit2fb5886fd739f47d811ea0d3f595d50250de5646
treefd22f6873f3b1797f3a4348484a87f11f22b1959
parenta757d173f1794354d40d73539d822536dd034496
package/urandom-scripts: new package

The init script S20urandom is used to preserve the kernel's RNG
seed between reboots. This functionality is not required for the
package "initscripts". Further there are use-cases where this script
should not be installed at all (e.g. systems that only have read-only
partitions), but that's currently not possible as the script is
a mandatory part of the package "initscripts".

Let's move the script into its own package "urandom-scripts" and select it,
if the default skeleton is enabled. This maintains backward-compatibility
and allows to deselect it.

Signed-off-by: Christoph Müllner <christoph.muellner@theobroma-systems.com>
[yann.morin.1998@free.fr:
  - extend help text
  - default y if initscripts (instead of skeleton default)
  - allow use with openRC, but not systemd
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/Config.in
package/initscripts/init.d/S20urandom [deleted file]
package/urandom-scripts/Config.in [new file with mode: 0644]
package/urandom-scripts/S20urandom [new file with mode: 0644]
package/urandom-scripts/urandom-scripts.mk [new file with mode: 0644]