Pierre Labastie wrote:
Hi,

I am trying to update the "package management" (rather DESTDIR install + call
to packager) part of jhalfs, and it breaks in 6.27 Eudev because of the
instruction:
----------
udevadm hwdb --update
----------
just after "make install". The reason is that after a DESTDIR install, udevadm
is not in the path.

Actually, there is no reason to run "udevadm" just after "make install", and I
would say it pertains to udev configuration rather than udev installation: the
man page says:
"[udevadm hwdb --update compiles] the hardware database information located in
/usr/lib/udev/hwdb.d/, /etc/udev/hwdb.d/ and store it in /etc/udev/hwdb.bin.
This should be done after any update to the source files; it will not be
called automatically."

So /etc/udev/hwdb.bin is considered as a configuration file (may change even
if the package version does not change).

Also, I see that some directory creations are "remap='test'". This means that
those instructions are not run by jhalfs if tests are disabled. Of course, the
installation later creates almost all the directories, except /lib/firmware.
Actually, does the creation of /lib/firmware really pertain to this page?

I attach a patch, which creates /lib/firmware at "6.5-Creating directories",
and adds a "configuring" section to Eudev. It is just a proposition. At least,
it allows jhalfs to run with "package management".

Applied.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to