8 Commits

Author SHA1 Message Date
Emanuele Aina
f5be9606b4 pack,unpack: Save and restore xattrs and file capabilities in tarballs
Add options to `tar` to tell it to save and restore extended attributes:

* `--xattr`: enable extended attributes support
* `--xattrs-include=*.*`: tell `tar` to include every extended attribute
  since by default `tar` only stores attributes in the `user.*` namespace

This fixes the `pack` and `unpack` actions when dealing with tools like
`ping` which on modern distributions have been switched to use file
capabilities to do privileged operations without being setuid, as they are
based on extended attributes.

This relies on `tar` being GNU Tar >= 1.27, released in 2013 and shipped since
Debian Jessie.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
2019-09-06 11:06:43 +02:00
stappersg
d1fdc45c20 v1.0 is out, already renamed
now is the TODO list aware of it
2018-03-01 21:20:37 +01:00
Sjoerd Simons
610d3ae9c5 Update TODO
Most todo for 1.0 apart from renaming to debos are done. The format
seems pretty ok and ends up being pleasant enough to use, without any
unpleasantness that i'd like to change around in the short term. So good
enough for v1.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2017-08-02 11:30:33 +02:00
Sjoerd Simons
4291937e2c Split TODO into pre-v1 and post-v1
Split things that need to be done before a v1 release and which can be
done after.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2017-08-02 09:02:21 +02:00
Sjoerd Simons
295fbaf58e Add todo item 2017-07-31 23:56:06 +02:00
Sjoerd Simons
ec3a85fd6e Add todo item to support shell parsing in run script action
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2017-07-31 12:54:14 +02:00
Sjoerd Simons
9bc811cbca Set ROOTDIR as env var rather then argument
Passing the rootdir as the last argument can be cumbersome especially
when using commands rather then scripts. Instead set the ROOTDIR
environment variable for usage in scripts/commands

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2017-07-31 12:51:57 +02:00
Sjoerd Simons
9519e76158 Add TODO braindump
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2017-07-31 12:10:48 +02:00