Allow the install command to either list the packages it wants to install,
or to list the files it would install.
Optionally allow the command to ignore dependencies.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
If no source file path is given for the file statement in a package source
listing, take the actual file name and interpret it as relative to the
source listing file.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
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>