hardcoding sbin

David Zeuthen david at fubar.dk
Wed Mar 7 01:19:52 PST 2007


On Wed, 2007-03-07 at 08:48 +0000, Richard Hughes wrote:
> In the tools/Makefile.am we have:
> 
> if HAVE_UMOUNT_HAL
> slashsbindir = /sbin
> slashsbin_PROGRAMS = umount.hal
> 
> umount_hal_SOURCES = umount-hal.c
> umount_hal_LDADD = @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la
> $(top_builddir)/libhal-storage/libhal-storage.la
> endif
> 
> Which breaks completely if we are building to a prefix.

Don't pass --enable-umount-helper if you're building to prefix
like /home/hughsie/.root? The thing is that /sbin/umount.<helper> is
part of the ABI for that patch to util-linux - in other words:
util-linux expects to find unmount helpers in /sbin.

> Is there an equivalent to sbin_PROGRAMS for /sbin?

I could be talked into taking a patch so you can specify the path for
where to install the umount helper, would default to /sbin, but it just
seems so futile...

      David




More information about the hal mailing list