haiku/headers/private/package
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
..
hpkg kit/package: Error on short file read 2019-08-05 15:07:24 +00:00
manager Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
ActivateRepositoryCacheJob.h
ActivateRepositoryConfigJob.h Implemented repository writing: 2011-02-09 19:11:23 +00:00
ActivationTransaction.h Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
ChecksumAccessors.h Add StringChecksumAccessor 2013-04-20 21:40:09 +02:00
DaemonClient.h package daemon: Rework error and issue propagation to client 2014-06-15 17:21:01 +02:00
DaemonDefs.h Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
HashableString.h * prefer HashSet and HashMap to respective std-classes where possible 2011-02-15 18:52:03 +00:00
packagefs.h packagefs: Extend PACKAGE_FS_OPERATION_GET_PACKAGE_INFOS ioctl 2014-04-26 15:34:18 +02:00
PackagesDirectoryDefs.h Rename "packages" subdir "config" to "administrative" 2013-04-11 17:44:58 +02:00
RemoveRepositoryJob.h
TempfileManager.h kernel: atomic_*() functions rework 2013-11-05 22:32:59 +01:00
ValidateChecksumJob.h