add post and pre.sh scripts to elbeproject

Signed-off-by: Manuel Traut <manut@linutronix.de>
updatepkg: add pre and post.sh to upd archive

Signed-off-by: Manuel Traut <manut@linutronix.de>
elbe-gen_update: add parameters to specify pre and post install scripts

Signed-off-by: Manuel Traut <manut@linutronix.de>
ziptarchives: store file attributes in archive

Signed-off-by: Manuel Traut <manut@linutronix.de>
ziparchives: avoid paths with leading ././

updated will be confused by that

Signed-off-by: Manuel Traut <manut@linutronix.de>
updated: extract files with correct attributes

Signed-off-by: Manuel Traut <manut@linutronix.de>
updated: execute pre and post.sh script

Signed-off-by: Manuel Traut <manut@linutronix.de>
updated: remove upd files after update

and .gpg files after signature removal

Signed-off-by: Manuel Traut <manut@linutronix.de>
db: remove version number from pre/post.sh

There should be just one version of the scripts.
Otherwise it's not clear, which version of the scripts should be used
e.g. for an update from version 2 -> 5 if only scripts for version 4 and
1 are available.

Signed-off-by: Manuel Traut <manut@linutronix.de>
updated: cleanup /var/cache/apt/archives after update

Signed-off-by: Manuel Traut <manut@linutronix.de>
db: load project and pre/post.sh if available

Signed-off-by: Manuel Traut <manut@linutronix.de>
finetuning/passwd: fix setting password in adduser action

Signed-off-by: Manuel Traut <manut@linutronix.de>
db: session scopes are not allowed to be stacked

Signed-off-by: Manuel Traut <manut@linutronix.de>