:: Re: [Dng] A novice attempt to speed…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jaret Cantu
Fecha:  
A: dng
Asunto: Re: [Dng] A novice attempt to speed up Devuan development
Just pushed eudev to the Devuan git.

https://git.devuan.org/jaretcantu/eudev

I used eudev version 1.9 since it is based on systemd 215. That is the
udev/systemd version used by Jessie, so it just seemed to make a lot
more sense.

I'm using it right now (and I'm pretty sure I've committed all of the
manual changes I had to make on account of whoopsies), and the only
difference I see in before-and-after "ls -Rl /dev"s is two extra pts.

I uploaded all of the git-buildpackage stuff, too, so it should be easy
to recreate.

Probably some systemd scraps that I didn't properly scrub. I was not
terribly diligent with checking for all of the unnecessary dependencies.

I think you need a kernel with FHANDLE, too, for eudev to work properly.
I got error messages until I recompiled my kernel.


As a side note, this effort makes my rage meter fill up even faster
against systemd. Just looking at all that source and all those patches
for systemd functionality -- and so few left over for udev.
udev was such a simple little project, and systemd had to come along and
ruin everyone's fun. In what world is bloat considered good and KISS a
bad thing?


Cheers,
Jaret Cantu


On 05/07/2015 02:47 PM, Anto wrote:
>
>
> On 07/05/15 18:00, Anto wrote:
>>
>> On 07/05/15 17:32, Svante Signell wrote:
>>> On Thu, 2015-05-07 at 16:53 +0200, Anto wrote:
>>>
>>>> update-initramfs: deferring update (trigger activated)
>>>> update-rc.d: warning: start and stop actions are no longer supported;
>>>> falling back to defaults
>>> No idea about this one.
>>>
>>>> insserv: script eudev: service udev already provided!
>>>> insserv: exiting now!
>>>> update-rc.d: error: insserv rejected the script header
>>>> dpkg: error processing package eudev (--install):
>>>>    subprocess installed post-installation script returned error 
>>>> exit status 1
>>> This is probably due to that the eudev.postinst? and udev.postinst
>>> scripts differs. Check these scripts in debian/ and compare with the 
>>> one
>>> from udev.

>>>
>>> HTH
>>
>> Thanks for the hints. I just put back the previous disk image and I
>> am looking at them now.
>>
>
> I think I don't want to fiddle around any further and I just want to
> forget having eudev package.
>
> My last attempt just now was to try to match the environment used by
> the build script on
> https://git.devuan.org/pkgs-utopia-substitution/devuan-eudev, to avoid
> any unnecessary changes. That is by using Debian wheezy install with
> kernel 3.2, udev 175-7.2 and eudev-2.1.1.tar.gz. I also tried
> eudev-2.1.tar.gz. But those did not even pass the configure script,
> because the include directory was not found. I am not sure what kind
> of setup was used when the build script was being developed. Anyway, I
> am done with this :)
>
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$ dpkg-buildpackage 
> -us -uc
> dpkg-buildpackage: source package eudev
> dpkg-buildpackage: source version 1:2.1.1-1
> .
> <cut>
> .
> checking for unistd.h... (cached) yes
> checking linux/btrfs.h usability... no
> checking linux/btrfs.h presence... no
> checking for linux/btrfs.h... no
> configure: error: *** KERNEL header not found
> make: *** [build-deb/config.status] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$ dpkg --list | 
> grep linux
> ii  console-setup-linux 1.88                          all Linux 
> specific part of console-setup
> ii  doc-linux-text 2008.08-1                     all Linux HOWTOs and 
> FAQs in ASCII format
> ii  libselinux1:amd64 2.1.9-5                       amd64 SELinux 
> runtime shared libraries
> ii  libselinux1-dev 2.1.9-5                       amd64 SELinux 
> development headers
> ii  linux-base 3.5                           all          Linux image 
> base package
> ii  linux-headers-3.2.0-4-amd64 3.2.68-1+deb7u1 amd64        Header 
> files for Linux 3.2.0-4-amd64
> ii  linux-headers-3.2.0-4-common 3.2.68-1+deb7u1 amd64        Common 
> header files for Linux 3.2.0-4
> ii  linux-image-3.2.0-4-amd64 3.2.68-1+deb7u1 amd64        Linux 3.2 
> for 64-bit PCs
> ii  linux-image-amd64 3.2+46                        amd64 Linux for 
> 64-bit PCs (meta-package)
> ii  linux-kbuild-3.2 3.2.17-1                      amd64 Kbuild 
> infrastructure for Linux 3.2
> ii  linux-libc-dev:amd64 3.2.68-1+deb7u1 amd64        Linux support 
> headers for userspace development
> ii  util-linux 2.20.1-5.3                    amd64 Miscellaneous 
> system utilities
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$ dpkg --search 
> btrfs.h
> linux-headers-3.2.0-4-common: 
> /usr/src/linux-headers-3.2.0-4-common/include/trace/events/btrfs.h
> linux-headers-3.2.0-4-common-rt: 
> /usr/src/linux-headers-3.2.0-4-common-rt/include/trace/events/btrfs.h
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$ dpkg --list | 
> grep udev
> ii  libudev0:amd64 175-7.2                       amd64 libudev shared 
> library
> ii  udev 175-7.2                       amd64        /dev/ and hotplug 
> management daemon
> anto@d945gclf:~/packages/eudev/eudev-2.1.1-1+devuan$

>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng