Age | Commit message (Collapse) | Author | Files | Lines |
|
This will prepare the ground for external programs to start using
libdpkg to access the dpkg fsys database via a proper API, instead
of messing with the on-disk layout in so many improper ways.
|
|
|
|
|
|
The debug() function automatically appends a newline, no need to
duplicate it.
|
|
The code was not matching directories on subpatterns due to trailing
slashes, which was causing unpack failures as the containing
subdirectories were not being unpacked and as such, they were
subsequently missing from the file system.
While unpacking a «/usr/share/locale/de/LC_MESSAGES/foo.mo» file,
for example, something like the following options would trigger
this problem:
--path-exclude=/usr/share/locale/*
--path-include=/usr/share/locale/de/*
Closes: #688416
|
|
Use a string precision instead of a field width, which was causing the
output to be just blanks with the length of the subpattern.
|
|
|
|
|
|
|
|
|
|
This provides support for filtering paths on package installation. This
allows embedded systems to skip /usr/share/doc, manpages, etc.
dpkg does not lose track of excluded paths during filtering, and they
get checked for file conflicts as usual, so filters are not a way to
avoid file conflict situations.
Closes: #68788, #68861, #497304, #525567, #583902
Based-on-patch-by: Tollef Fog Heen <tfheen@err.no>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Signed-off-by: Guillem Jover <guillem@debian.org>
|