haiku/data
Alexander G. M. Smith 3376ed1a72 Package Kit: Proper Installation for First Boot Packages
Do the final installation operations for all the packages in the
/system/packages directory when the OS is booted for the first time.

This will run their post-install scripts, create users, groups and generate
settings files (marked with a package version attribute).  Previously we just
ran all the shell scripts found in the /system/boot/post-install directory
(don't do that as much now).

Fixes bug #14382

This patch has simpler code flow in CommitTransactionHandler::_ApplyChanges
Tested on 32 and 64 bit systems.  Once it's official, need to remove the
open_ssh redundant post-install script that creates users etc. from HaikuPorts.
Now we can notice bugs like package version attributes on settings files aren't
fully working. :-)

Didn't remove special case for add_catalog_entry_attributes.sh since it
still does stuff that the build system doesn't do.  Might be able to add
that script as part of the Haiku.hpkg.  See change 3751 for removing it,
https://review.haiku-os.org/c/haiku/+/3751

Change-Id: I3807b78042fdb70e5a79eca2e2a45816ece0236f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2342
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-03-14 09:10:18 +00:00
..
artwork Initial work for the mmc_disk driver 2020-12-13 18:56:19 +00:00
bin install-wifi-firlwares: stop using haiku-files.org 2020-08-04 10:52:19 +02:00
boot/u-boot riscv64/boot: Add same u-boot potential that arm has, drop L_DYNAMIC 2020-09-02 20:55:06 +00:00
boot_cd Add some explanation to the CD image 2017-01-01 12:44:40 +01:00
catalogs Update translations from Pootle 2021-03-13 08:45:30 +00:00
config/boot
develop makefile-engine: Fix driver compilation on x86_64 2020-10-30 07:41:17 +00:00
etc profile: export PS1, don't just set it. 2018-10-27 14:03:44 -04:00
launch Fix NTP synchronization. 2019-12-31 16:20:11 +01:00
settings first_boot: Remove unused 'Locale settings'. 2020-05-25 22:26:25 +00:00
system Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
userlandfs/file_systems