:: Re: [DNG] vdev
Página Inicial
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
Para: richard lucassen, dng
Assunto: Re: [DNG] vdev

Hi Richard,

On 08/10/2016 07:15 AM, richard lucassen <mailinglists@???> wrote:
> The /urs/etc dir is for the example (documentation) about how to
> configure it. I've never seen any /usr/etc, but /usr/local/etc already
> exists. I respected all the directories established by Jude Nelson,
> changing only the destdir "/usr/local" by "/usr" in the Makefile, via
> *quilt*. This is a basic rule.
>
> Thanks a lot:)
>
>     Aitor.


Forget these words. I said a nonsense. I think that /usr is only for the
libudev-compat package. The real location for vdevd is /sbin. So, you
are right. Today i will work on that. I'll also try to boot vdev in an
initramfs.

I'll change the Makefile:

.PHONY: all
all:
     $(MAKE) -C vdevd PREFIX=
     $(MAKE) -C libudev-compat PREFIX= INCLUDE_PREFIX=/usr
     $(MAKE) -C fs PREFIX=
     $(MAKE) -C example PREFIX=
     $(MAKE) -C hwdb PREFIX=


.PHONY: install
install:

     $(MAKE) -C vdevd install PREFIX=
     $(MAKE) -C libudev-compat install PREFIX= INCLUDE_PREFIX=/usr
     $(MAKE) -C fs install PREFIX=
     $(MAKE) -C example install PREFIX=
     $(MAKE) -C hwdb install PREFIX=


[...]

I also will add:

update-rc.d udev disable
update-rc.d udev-finish disable

to the *postinst* file.

Cheers,

Aitor.