2006/11/17, Arnaud Quette <[EMAIL PROTECTED]>:
...

> Would it be enough to drop the '| hotplug' from the dependencies?  I don't
> think anyone's really using hotplug today in etch, I'm surprised to see that
> it's still in the archive at all.

ok, in this case, the nmu would suit me fine.

I forgot to mention that:

- you must drop debian/nut-usbups.rules and use the upstream provided
native udev file,
- to do so, replace the ugly hack in debian/rules

#ifeq (linux,$(DEB_HOST_GNU_SYSTEM))
       # install hotplug scripts
       mkdir -p $(CURDIR)/debian/nut-usb/etc/hotplug/usb/
       # install the new hotplug script
       install -m 755 -D debian/hotplug
$(CURDIR)/debian/nut-usb/etc/hotplug/usb/libhidups
       #install -m 755 $(CURDIR)/scripts/hotplug/libhidups
$(CURDIR)/debian/nut-usb/etc/hotplug/usb/
       install -m 644 $(CURDIR)/scripts/hotplug/libhid.usermap
$(CURDIR)/debian/nut-usb/etc/hotplug/usb/
       # install udev rules file (FIXME; to be done at postint time
if -d /etc/udev)
       mkdir -p $(CURDIR)/debian/nut-usb/etc/udev/rules.d/
       install -m 644 $(CURDIR)/debian/nut-usbups.rules
$(CURDIR)/debian/nut-usb/etc/udev
       #cd $(CURDIR)/debian/nut-usb/etc/udev/rules.d/
       #ln -sf ../nut-usbups.rules 025_nut-usbups.rules
#endif

by

install -m 644 $(CURDIR)/../scripts/hotplug-ng/nut-usbups.rules
(CURDIR)/debian/nut-usb/etc/udev/rules.d/025_nut-usbups.rules

and that should do the trick.

thanks again,
Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to