X-Git-Url: http://www.opopop.net/cgi-bin/gitweb.cgi?p=reminder;a=blobdiff_plain;f=Debian_Jessie_with_eudev_instead_of_udev_from_systemd.mdwn;h=83a89affc93e05b4104483b55c1f036c799edb77;hp=0e9fad90b999cb796a964360083d4abac8941a94;hb=80ef1fd0db498b86bf2557742b1fe5be76a62757;hpb=3e13060ac57a0aaf0f2a26229a01fa1707bdf897 diff --git a/Debian_Jessie_with_eudev_instead_of_udev_from_systemd.mdwn b/Debian_Jessie_with_eudev_instead_of_udev_from_systemd.mdwn index 0e9fad9..83a89af 100644 --- a/Debian_Jessie_with_eudev_instead_of_udev_from_systemd.mdwn +++ b/Debian_Jessie_with_eudev_instead_of_udev_from_systemd.mdwn @@ -5,8 +5,8 @@ Mate](http://www.opopop.net/Avoid_systemd_on_Debian_Jessie_with_Mate/), I noticed that eliminating *systemd* won't be fully accomplished without also using an alternative to *udev*. -I will show here that it is possible to use *eudev* to reach that -goal. *eudev* is originally a Gentoo project, and it has been packaged +I will show here that it is possible to use [*eudev*](https://wiki.gentoo.org/wiki/Eudev) +to reach that goal. *eudev* has been packaged for the latest Devuan distribution, see that [announcement](https://dev1galaxy.org/viewtopic.php?id=1888). So it should be easy to port that for straight Debian. @@ -18,14 +18,31 @@ goal is to obtain a smooth upgrade from the *udev* and *libudev* packages in Jessie (as it is what I am using). To ensure that, the new packages will provide the old names. +My modifications were aimed at reducing the number of dependencies of the packages +and to correct the Devuanisms present in the installation/removal scripts. + For your convenience, all of the source files and the .deb packages (for i386) are here: +[[eudev_3.2.5-1bu1.dsc]] + +[[eudev_3.2.5.orig.tar.gz]] + +[[eudev_3.2.5-1bu1.debian.tar.xz]] + +[[eudev_3.2.5-1bu1_i386.changes]] + +[[libeudev1_3.2.5-1bu1_i386.deb]] + +[[eudev_3.2.5-1bu1_i386.deb]] + +## Building the *eudev* packages + If you have installed the needed development packages, it's easy to rebuild files "libeudev1_3.2.5-1bu1_i386.deb" and "eudev_3.2.5-1bu1_i386.deb" with these simple commands: - # the 4 source files have to be downloaded in your current working directory + # the 3 source files have to be downloaded in your current working directory dpkg-source -x eudev_3.2.5-1bu1.dsc cd eudev-3.2.5 dpkg-buildpackage -rfakeroot @@ -34,6 +51,8 @@ rebuild files "libeudev1_3.2.5-1bu1_i386.deb" and Notice that .udev packages and a development package of libeudev1 are also generated in the process. +## Replacing *udev* by *eudev* + To install the two packages, you will need some local package repository. An easy method to do it is to run: @@ -60,8 +79,9 @@ hard with the package versioning system, but they are harmless. ## Final remarks It should be obvious, but the process above is intended for a Jessie -system without systemd as the init process. Actually it has only be -tested in that framework. +installation without systemd as the init process, as the one described +[here](http://www.opopop.net/Avoid_systemd_on_Debian_Jessie_with_Mate/). +Actually it has only be tested in that framework. The only issue encountered was about firmare loading. The Jessie kernel 3.16 handles radeon uvd in a way which makes me loose @@ -73,13 +93,10 @@ firmware loading, this leads to a 60s delay in the boot process. I will not add user-space firmware loading to *eudev*, as it is considered obsolete by the kernel people. Instead, you can either: -1) reduce the 60s delay by inserting for instance: - +1. Reduce the 60s delay by inserting for instance before the 'udevadm settle' command in /etc/init.d/eudev: echo 5 > /lib/class/firmware/timeout -before the 'udevadm settle' command in /etc/init.d/eudev - -2) upgrade to a better radeon driver, for instance the one of kernel +2. Upgrade to a better radeon driver, for instance the one of kernel 4.9 from jessie-backport I have finally chosen solution 2).