mbox series

[RESEND,0/2] new package buildroot-initscripts

Message ID 20230313081549.493823-1-michael@walle.cc
Headers show
Series new package buildroot-initscripts | expand

Message

Michael Walle March 13, 2023, 8:15 a.m. UTC
[resend because rejected by the ML mailserver]

I'd like to add a new initscript which saves the date and time on system
shutodwn. There is already an initscript to preserve a random seed during
reboots. Consolidate all custom buildroot initscripts into a new package
buildroot-initscripts.

For this, rename the old urandom-scripts to the new package
buildroot-initscripts first. Make an entry for the package rename in
Config.legacy. Then add the new init script hwclock to our new package.

Targeted for next, i.e. the 2023.05 release.

Michael Walle (2):
  package/urandom-scripts: move to new package busybox-initscripts
  package/buildroot-initscripts: add hwclock initscript

 Config.in.legacy                              | 11 +++++++++
 package/Config.in                             |  2 +-
 package/buildroot-initscripts/Config.in       | 23 +++++++++++++++++++
 package/buildroot-initscripts/S20hwclock      | 21 +++++++++++++++++
 .../S20seedrng                                |  0
 .../buildroot-initscripts.mk                  | 17 ++++++++++++++
 package/urandom-scripts/Config.in             |  7 ------
 package/urandom-scripts/urandom-scripts.mk    | 12 ----------
 8 files changed, 73 insertions(+), 20 deletions(-)
 create mode 100644 package/buildroot-initscripts/Config.in
 create mode 100644 package/buildroot-initscripts/S20hwclock
 rename package/{urandom-scripts => buildroot-initscripts}/S20seedrng (100%)
 create mode 100644 package/buildroot-initscripts/buildroot-initscripts.mk
 delete mode 100644 package/urandom-scripts/Config.in
 delete mode 100644 package/urandom-scripts/urandom-scripts.mk