[arch-dev-public] [Patch] makechrootpkg: fixed support for splitted package

Eric Bélanger snowmaniscool at gmail.com
Sun Aug 9 22:31:03 EDT 2009


On Sun, Aug 9, 2009 at 10:08 PM, Allan McRae<allan at archlinux.org> wrote:
> Eric Bélanger wrote:
>>
>> On Fri, Aug 7, 2009 at 2:19 AM, Eric Bélanger<snowmaniscool at gmail.com>
>> wrote:
>>
>>>
>>> Hi,
>>>
>>> Here (inline and attached) are a couple of patches for makechrootpkg.
>>>
>>>
>>
>>
>> Here's a second patch.  It fixes the copying of the package from the
>> chroot when the pkgver or pkgrel are different (e.g. device-mapper &
>> lvm2) :
>>
>
> Be careful there.... man PKGBUILD:
>
> All options and directives for the split packages default to the global
> values given within the PKGBUILD. However, some of these can be
> overridden within each split package’s packaging function. The
> following variables can be overridden: pkgdesc, license, groups,
> depends, optdepends, provides, conflicts, replaces, backup, options and
> install.
>
> So overriding pkgver and pkgrel may not work as expected.
>
> Allan
>

Thanks for the warning, I wasn't aware about that.  From the package's
name and the .PKGINFO it seems to work, at least for different pkgver.
However, I haven't tested the packages yet.

Eric


More information about the arch-dev-public mailing list