[haiku-bugs] [Haiku] #18186: manual retrigger of post-install scripts

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 28 Dec 2022 22:49:59 -0000

#18186: manual retrigger of post-install scripts
------------------------------+--------------------------
 Reporter:  kallisti5         |       Owner:  nobody
     Type:  bug               |      Status:  new
 Priority:  normal            |   Milestone:  Unscheduled
Component:  Kits/Package Kit  |     Version:  R1/beta4
 Keywords:                    |  Blocked By:
 Blocking:                    |    Platform:  All
------------------------------+--------------------------
 There doesn't appear to be a way to "manually reset" post-install scripts.
 While I can "touch ~/config/settings/first_login" to re-run the
 first_login scripts, there is no clear way to reset post-install scripts
 (like sshd generating host keys).

 The usecase is sysprepping haiku installs (aka, we want the system to
 regenerate host keys on first boot... so the ssh host keys are manually
 erased before shutting down the host and making an image of it.

 There should be a way to "manually re-trigger all post-install scripts on
 boot", much like the existence of "first_login in
 ~/config/settings/first_login
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18186>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: