haiku/src/servers/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
..
CommitTransactionHandler.cpp Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
CommitTransactionHandler.h Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
Constants.cpp Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
Constants.h Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
DebugSupport.cpp Change all references to "__INTEL__" to "__i386__". 2019-03-30 16:54:01 -04:00
DebugSupport.h package daemon: DebugSupport.h: fix (64 bit) printf() formats 2013-08-28 01:08:15 +02:00
Exception.cpp package daemon: Rework error and issue propagation to client 2014-06-15 17:21:01 +02:00
Exception.h package daemon: Rework error and issue propagation to client 2014-06-15 17:21:01 +02:00
FSTransaction.cpp package daemon: Rework error and issue propagation to client 2014-06-15 17:21:01 +02:00
FSTransaction.h package_daemon::FSTransaction: Init fIsFinished 2015-07-02 21:41:31 -04:00
FSUtils.cpp packagekit: fix using free instead of delete[]. CID 1210827. 2014-05-08 16:41:15 +12:00
FSUtils.h package server: fix off-by-one error in RemoveLastComponent() 2015-08-24 15:53:56 +12:00
Jamfile Package daemon notifications 2017-07-31 19:09:38 +02:00
Job.cpp package daemon: Make all work with the packages asynchronous 2013-04-08 00:05:51 +02:00
Job.h package daemon: Make all work with the packages asynchronous 2013-04-08 00:05:51 +02:00
JobQueue.cpp package daemon: Handle location info request in app thread 2014-02-07 01:21:57 +01:00
JobQueue.h package daemon: Handle location info request in app thread 2014-02-07 01:21:57 +01:00
Package.cpp package daemon: Initial old packages state support 2014-05-01 18:18:37 +02:00
Package.h package daemon: Initial old packages state support 2014-05-01 18:18:37 +02:00
PackageDaemon.cpp Package kit: more style fixes. 2016-08-21 16:53:27 +02:00
PackageDaemon.h
PackageFile.cpp PackageFile: correct inverted NULL check. Fixes #10817. CID 1211989. 2014-05-10 11:06:28 +12:00
PackageFile.h package daemon: Initial old packages state support 2014-05-01 18:18:37 +02:00
PackageFileManager.cpp package daemon: Initial old packages state support 2014-05-01 18:18:37 +02:00
PackageFileManager.h package daemon: Initial old packages state support 2014-05-01 18:18:37 +02:00
PackageManager.cpp Re-add accidentally removed blank line 2017-08-02 08:56:55 +02:00
PackageManager.h Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
ProblemWindow.cpp package_daemon: hide the problem window when done with it. 2017-09-26 22:31:23 +02:00
ProblemWindow.h package_daemon: fix regressions from Set*UIColor merge. 2016-01-10 17:51:43 +13:00
ResultWindow.cpp Add localization to package daemon and solver 2017-02-11 10:56:27 +01:00
ResultWindow.h package daemon: Replace changes alert by a window 2013-09-11 15:06:44 +02:00
Root.cpp package daemon: Rework error and issue propagation to client 2014-06-15 17:21:01 +02:00
Root.h package_daemon: Root: Add IsSystemRoot() 2014-06-17 20:32:25 +02:00
Volume.cpp Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
Volume.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
VolumeState.cpp package daemon: Move volume change counter back to Volume 2014-05-04 20:59:01 +02:00
VolumeState.h package daemon: Move volume change counter back to Volume 2014-05-04 20:59:01 +02:00
package_daemon.rdef Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00