Re: [PATCH] scripts/package/builddeb: upgrade to current practices
2012/7/17 Jonathan Nieder <email@example.com>:
> Martin-Éric Racine wrote:
>> Signed-off-by: Martin-Éric Racine <firstname.lastname@example.org>
> Thanks. This patch does many things at once instead of the usual
> practice of "one patch per logical change", but oh well.
>> --- a/scripts/package/builddeb
>> +++ b/scripts/package/builddeb
>> @@ -79,9 +79,9 @@ fwdir="$objtree/debian/fwtmp"
> Micronit: any reason the lines are reordered here?
Mostly to differenciate between versioned and non-versioned package targets.
>> @@ -188,17 +188,17 @@ This is a packacked upstream version of the Linux kernel.
>> The sources may be found at most Linux ftp sites, including:
>> -Copyright: 1991 - 2009 Linus Torvalds and others.
>> +Copyright: 1991-2012 Linus Torvalds and others.
>> -The git repository for mainline kernel development is at:
>> +The GIT repository for mainline kernel development is at:
> I personally like to spell it as "Git". ;-)
That works for me too. Actually, what's the official spelling for it?
>> @@ -273,6 +273,9 @@ if [ -e "$tmpdir/lib/firmware" ]; then
>> Package: $fwpackagename
>> Architecture: all
>> +Conflicts: firmware-linux-free, firmware-linux-nonfree
>> +Provides: firmware-linux-free, firmware-linux-nonfree
>> +Replaces: firmware-linux-free, firmware-linux-nonfree
> I assume you mean Breaks+Replaces. Do the files actually overlap,
> or is this change being overly cautious? I would expect the files
> not to overlap because the package build with deb-pkg puts firmware
> in a versioned subdirectory "/lib/firmware/<version>".
AFAIK they would overlap, hence the Conflicts.