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.
This commit is contained in:
Ingo Weinhold
2013-04-20 01:28:18 +02:00
parent 7a27bcd113
commit 85d2badf00
15 changed files with 1434 additions and 170 deletions
@@ -0,0 +1 @@
#include <../private/package/ActivationTransaction.h>