#
fcd448f8 |
|
16-Feb-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
package_daemon: Do not delete roots on destruction. Instead just release our reference to them and clear the list. Should fix #17580.
|
#
36a9daf6 |
|
21-Aug-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Package kit: more style fixes. Pointed out by Axel this time. Thanks!
|
#
a22f114f |
|
21-Aug-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
chroot support in package kit: style fixes - Catching an exception in the normal flow is not a good thing, instead, test before calling the function (I've been doing too much python lately) - Avoid using uninitialized nodeRef if there is no system root and also no specified root in the message. Thanks to Ingo or the code review.
|
#
6262ccbb |
|
18-Aug-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Fix use of findpaths from inside chroot The package kit needs to provide the package daemon with the node_ref of the root directory, so the package daemon gives the correct results when the request comes from inside a chroot. Moreover, the package kit must be able to handle a root with a system but no home package dir, as is the case inside the chroot environment created by haikuporter. Fixes #12602.
|
#
383ac67c |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Let Root know whether it is the system root
|
#
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.
|
#
e6216e37 |
|
14-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implement getting a BInstallationLocationInfo * Rename PackageDaemonDefs.h to DaemonDefs.h. * Replace the MESSAGE_GET_PACKAGES by the new B_MESSAGE_GET_INSTALLATION_LOCATION_INFO, which not only returns the packages, but also other information about the installation location. * daemon: Volume: Implement a change count which is bumped whenever packages are activated/deactivated/added/removed. Cache the reply for a location info request, using the change count to check whether it is still up-to-date. * Add private BDaemonClient for communication with the daemon. * BRoster: - Add GetInstallationLocationInfo() using BDaemonClient. - Reimplement GetActivePackages(), using GetInstallationLocationInfo().
|
#
62f7022a |
|
10-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package kit: get active packages list from daemon * daemon: Implement private message protocol to retrieve the active packages. * BPackageRoster::GetActivePackages(): Get the active packages list from the daemon.
|
#
8fb3930a |
|
07-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Make all work with the packages asynchronous There's now a worker thread per Root that does all the work that can take time. Node monitoring notifications received in the main thread are just pushed into the worker's job queue, so the application looper remains responsive.
|
#
3d53bd47 |
|
06-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Add package monitoring and de-/activation * packagefs: Disable (comment out) node monitoring of the packages directory. * package daemon: - When a packagefs volume is added load the respective packages directory and get from the volume which of the packages are activated. - Add node monitoring for the packages directory and activate/deactivate packages as packages are added/removed.
|
#
26296b0a |
|
05-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add the humble beginnings of the package daemon It doesn't really do anything yet save for tracking what packagefs volumes are mounted and unmounted.
|
#
383ac67cfab616cbaf21f028b319ca4662558ba3 |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Let Root know whether it is the system root
|
#
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.
|
#
e6216e372af01cc90339fe7afb70c113c99974bd |
|
14-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implement getting a BInstallationLocationInfo * Rename PackageDaemonDefs.h to DaemonDefs.h. * Replace the MESSAGE_GET_PACKAGES by the new B_MESSAGE_GET_INSTALLATION_LOCATION_INFO, which not only returns the packages, but also other information about the installation location. * daemon: Volume: Implement a change count which is bumped whenever packages are activated/deactivated/added/removed. Cache the reply for a location info request, using the change count to check whether it is still up-to-date. * Add private BDaemonClient for communication with the daemon. * BRoster: - Add GetInstallationLocationInfo() using BDaemonClient. - Reimplement GetActivePackages(), using GetInstallationLocationInfo().
|
#
62f7022a8294bbd5407826c0bb8b071975ed90d5 |
|
10-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package kit: get active packages list from daemon * daemon: Implement private message protocol to retrieve the active packages. * BPackageRoster::GetActivePackages(): Get the active packages list from the daemon.
|
#
8fb3930a4290eb1156bbe53fba7947b0cd2be237 |
|
07-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Make all work with the packages asynchronous There's now a worker thread per Root that does all the work that can take time. Node monitoring notifications received in the main thread are just pushed into the worker's job queue, so the application looper remains responsive.
|
#
3d53bd473b49aa91a9611dfe6500492500e1e8c6 |
|
06-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
package daemon: Add package monitoring and de-/activation * packagefs: Disable (comment out) node monitoring of the packages directory. * package daemon: - When a packagefs volume is added load the respective packages directory and get from the volume which of the packages are activated. - Add node monitoring for the packages directory and activate/deactivate packages as packages are added/removed.
|
#
26296b0aa4ddcc1b8baf1e6c380d0f8634730068 |
|
05-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add the humble beginnings of the package daemon It doesn't really do anything yet save for tracking what packagefs volumes are mounted and unmounted.
|