:: Re: [DNG] vdev
Kezdőlap
Delete this message
Reply to this message
Szerző: Ralph Ronnquist
Dátum:  
Címzett: aitor_czr, richard lucassen, dng
Tárgy: Re: [DNG] vdev
I've now made a snapshot of the vdev files from the working disk.
available at www.realthing.com.au/files/vdev/vdev-snapshot.tgz.

As I mentioned before, it came down to a couple changes to the config
file and the udev-compat.sh helper (maybe not needed), then adding
dameonlet and the acls directory with its thing, and setting a handful
of links.

The more major thing was the addition of the initramfs making (in the
root director of the snapshot), which I took from github, and editing it
to deal with the /usr prefix.

I made it a snapshot for forensic study, and you can choose how to roll
it into the packages. Note that I added "loop" to modules because the
hardware database is a squasfs; I haven't actually verified that it's
really needed but just left it so.

Ralph.

On 11/08/16 17:19, aitor_czr wrote:
>
> 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.
>
>
>
>
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>