[arch-general] makepkg creates symlink to the package file

C Anthony Risinger anthony at extof.me
Tue Jun 29 13:20:21 EDT 2010


On Sat, Jun 26, 2010 at 2:29 AM, Attila <vodoo0904 at sonnenkinder.org> wrote:
> At Samstag, 26. Juni 2010 07:38 Ray Rashif wrote:
>
>> [1] http://www.mail-archive.com/pacman-dev@archlinux.org/msg03794.html
>
> Thanks for this information. It seems that at no point it was thought about a
> config variable and therefore we have to live with it.

this is all fine and dandy to me. however one little bug:

PKGDEST="." makepkg

will fail due the the fact that the real package will be overridden by
the symlink.  result is a circular symbolic link.  makepkg should
check for this [corner] case, and simply not create the link.

i needed this for a script that automatically builds a package with
the option to install and/or push to AUR.  i wanted to sandbox it so
it would not be affected by the user's makepkg.conf settings.

workaround by making a dummy folder called "out" and sending the
package there instead.

C Anthony


More information about the arch-general mailing list