[pacman-dev] makepkg creates bad .FILELIST
andrew at neptune-one.net
Wed Jun 27 14:02:28 EDT 2007
> 2007/6/27, Andrew Fyfe <andrew at neptune-one.net>:
>> find \( -type d -printf '%P/\n' \) , \( ! -type d -printf '%P\n' \)
>> real 0m0.017s
>> user 0m0.012s
>> sys 0m0.004s
>> The last one suggested here
>> (http://bugs.archlinux.org/task/7485#comment17450) seems to be the best,
>> I've updated the patch.
> Well, I noticed there was still at least one difference with this command :
> Isn't it better with -mindepth 1 ?
> About the commit there :
> any reason why the exit 1 was dropped ?
> About this one :
> I think it's interesting to know Aurelien wanted to take the opposite
> road. See item 5 there :
> I'm not criticizing anything myself though, I've personally no opinion
> on this, just found it funny ;)
> Also, that's just based on the description of the commit, I didn't
> really look at the changes.
> Maybe it's because of the added arch suffix that complicated things?
Parsing package file names are a pain in the ass. Because we've
currently got to package file name formats it's difficult to parse the
correct information from the name. So I changed it to read the info
straight from the packages .PKGINFO file. bsdtar is fast enough as long
as .PKGINFO appears near the start of the package file.
More information about the pacman-dev