Mov file list from package function into seperate module, move declaration
into new high-level header.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
- don't chdir into root directory, use dirfd instead
- make sure we don't dereference symlinks when chaning permissions
(using appropriate AT_* flag)
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit changes the pack command to read the output package name from
the description file instead of the command line. The command line argument
is replaced with a package repository directory to which the package file
is then written.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>