[arch-dev-public] Committing multi-arch split packages

Pierre Schmitz pierre at archlinux.de
Mon Jun 21 05:48:46 EDT 2010

On Mon, 21 Jun 2010 11:40:36 +0200, Jan de Groot <jan at jgc.homeip.net>
> So we have multi-arch split package support in Makepkg now. I tested
> this a bit, and results are nice:
> $ du -hs /srv/ftp/testing/os/*/wesnoth-1.8.2-2-*.pkg.tar.xz 
> 266M    /srv/ftp/testing/os/i686/wesnoth-1.8.2-2-i686.pkg.tar.xz
> 266M    /srv/ftp/testing/os/x86_64/wesnoth-1.8.2-2-x86_64.pkg.tar.xz
> $ du -hs wesnoth-1.8.2-3-* wesnoth-data-1.8.2-3-any.pkg.tar.xz 
> 3.2M	wesnoth-1.8.2-3-i686.pkg.tar.xz
> 3.2M	wesnoth-1.8.2-3-x86_64.pkg.tar.xz
> 262M	wesnoth-data-1.8.2-3-any.pkg.tar.xz
> Downside of this is that makechrootpkg builds the -any package twice, so
> things could be improved there.
> Question is: how will commitpkg and our dbscripts handle this?

For now you cannot use thise new makepkg feature. I plan to add support to
this to devtools and db-svripts, but didn't spend a second on it yet. So I
don't even know how easy it is to implement.

PS: the new makepkg allows you to have a different pkgver/pkgrel for split
packages or just build one of them. You cannot use these features either
and I don't know if I will add those in the future.

Pierre Schmitz, https://users.archlinux.de/~pierre

More information about the arch-dev-public mailing list