Re: base-files does not create /usr/local directories
> We keep talking about getting dpkg to ignore certain filespecs when
processarc.c:process_archive(), fill in the second value of the "tf"
initializer (ExtractFile) with "filteredtarobject" instead of
"tarobject" and then write filteredtarobject to compare the path
argument against a stoplist, and if it passes, call the normal
tarobject code. Maybe 10 lines of new argument parsing (less if you
chose some config option that specifically indicates "/usr/local is
sacred" without being more general) and then maybe 10-20 lines of code
for filteredtarobject.
Doesn't look too hard at all (Gee, dpkg is *much* more readable, at
least in spots, than it was 1.5-2 years ago...) However, the current
dpkg maintainer might have more elegant ideas, or might know about
constraints I'm missing. Or maybe someone who actually cares about
/usr/local would like to flesh it out and submit it?
Reply to: