[arch-general] Is it a bug ? (device-mapper PKGBUILD)

Jan de Groot jan at jgc.homeip.net
Wed Jul 1 10:20:55 EDT 2009

On Wed, 2009-07-01 at 17:00 +0300, nezmer at gmail.com wrote:
> Hi ,
> I was looking at the device-mapper PKGBUILD . I'm not sure but the last 
> line looks problematic :
> # fix device-mapper link bug
> ln -sf /lib/libdevmapper.so "${pkgdir}/usr/lib/libdevmapper.so" || return 1
> What If device-mapper is not yet installed in the system ?
> What am I missing ?

There will be a symlink in /usr/lib/libdevmapper.so that links
to /lib/libdevmapper.so, whether this file exists or not. When the
package is installed, this file exists because it is included inside the

More information about the arch-general mailing list