#
3376ed1a |
|
02-Feb-2021 |
Alexander G. M. Smith <agmsmith@ncf.ca> |
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>
|
#
c159d0cf |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BActivationTransaction: Fix unarchiving constructor
|
#
56b13760 |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BActivationTransaction: Make BArchivable
|
#
6a143071 |
|
20-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BDaemonClient: Add support for creating activation transactions * BActivationTransaction: - Remove non-trivial constructor. - Remove package list parameters from SetTo(). - Add AddPackageTo{Dea,A}ctivate(). * BDaemonClient: - Add CreateTransaction(). It creates a transaction directory and initializes a BActivationTransaction. Packages to de-/activate have to be added afterwards. - Add BCommitTransactionResult::FullErrorMessage().
|
#
85d2badf |
|
19-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Add support for activation change request * daemon: Handle new request B_MESSAGE_COMMIT_TRANSACTION. It activates and deactivates given sets of packages. The new packages must be placed in a directory in the administrative directory. The daemon moves them to the packages directory and the deactivated packages to a subdirectory it creates. It also save the old activation state there. * Add private BActivationTransaction, describing an activation change transaction. * BDaemonClient: Add CommitTransaction(), which sends a given BActivationTransaction as a B_MESSAGE_COMMIT_TRANSACTION request to the daemon. Completely untested yet.
|
#
c159d0cfd1574d6b39482b4d6f7b3bb4187ab1c5 |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BActivationTransaction: Fix unarchiving constructor
|
#
56b1376090192c61ea7b681c3db8c6bce54228fe |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BActivationTransaction: Make BArchivable
|
#
6a1430716c8746b3a044bb65fb1849e906ae0453 |
|
20-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BDaemonClient: Add support for creating activation transactions * BActivationTransaction: - Remove non-trivial constructor. - Remove package list parameters from SetTo(). - Add AddPackageTo{Dea,A}ctivate(). * BDaemonClient: - Add CreateTransaction(). It creates a transaction directory and initializes a BActivationTransaction. Packages to de-/activate have to be added afterwards. - Add BCommitTransactionResult::FullErrorMessage().
|
#
85d2badf007cb152215485db7916578ed6700504 |
|
19-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Add support for activation change request * daemon: Handle new request B_MESSAGE_COMMIT_TRANSACTION. It activates and deactivates given sets of packages. The new packages must be placed in a directory in the administrative directory. The daemon moves them to the packages directory and the deactivated packages to a subdirectory it creates. It also save the old activation state there. * Add private BActivationTransaction, describing an activation change transaction. * BDaemonClient: Add CommitTransaction(), which sends a given BActivationTransaction as a B_MESSAGE_COMMIT_TRANSACTION request to the daemon. Completely untested yet.
|