[lfs] branch multilib updated: Udev: Use OG tarball, cp select files for OpenRC.

git Owner ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <178770705319.857880.4501237761641146506@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch multilib
in repository lfs.

The following commit(s) were added to refs/heads/multilib by this push:
     new 69ab214f4 Udev: Use OG tarball, cp select files for OpenRC.
69ab214f4 is described below

commit 69ab214f4f7218b344f0ab77c2de9f5e3249299e
Author: zeckma-tech <[email protected]>
AuthorDate: Tue Aug 25 19:15:13 2026 -0600

    Udev: Use OG tarball, cp select files for OpenRC.
    
    This avoids needing to host a separate tarball. We can just reuse the
    one meant for SysV and just copy certain files for OpenRC. For SysV,
    simply using make does the original behavior.
---
 chapter08/udev.xml | 11 +++++++++--
 packages.ent       |  9 ---------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/chapter08/udev.xml b/chapter08/udev.xml
index 5415eeaaf..4fb041df8 100644
--- a/chapter08/udev.xml
+++ b/chapter08/udev.xml
@@ -166,8 +166,15 @@ install -vm644 ../network/99-default.link          /usr/lib/udev/network</userin
     <para>Install some custom rules and support files useful in an LFS
     environment:</para>
 
-<screen><userinput remap="install">tar -xvf ../../&udev-lfs-version;.tar.xz
-make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
+<screen><userinput
+  remap="install">tar -xvf ../../&udev-lfs-version;.tar.xz</userinput><userinput
+  remap="install" revision="sysv">
+make -f &udev-lfs-version;/Makefile.lfs install</userinput><userinput
+  remap="install" revision="openrc">
+cp -v &udev-lfs-version;/init-net-rules.sh        \
+      &udev-lfs-version;/write_net_rules          \
+      &udev-lfs-version;/rule_generator.functions \
+      /usr/lib/udev</userinput></screen>
 
     <para>Install the man pages:</para>
 
diff --git a/packages.ent b/packages.ent
index ee9ecee9d..03bdfa266 100644
--- a/packages.ent
+++ b/packages.ent
@@ -780,15 +780,6 @@
 <!ENTITY tzdata-md5 "bff7174205cefab793e3b24271ef2f45">
 <!ENTITY tzdata-home "https://www.iana.org/time-zones">
 
-<![ %openrc; [
-<!ENTITY udev-lfs-version "udev-lfs-20251217">
-<!ENTITY udev-lfs-size    "12 KB">
-<!ENTITY udev-lfs-url     "&lfs-root;~zeckma/&udev-lfs-version;.tar.xz">
-<!ENTITY udev-lfs-md5     "0f800adc86b5c96897575d7ce440dab6">
-<!ENTITY udev-lfs-home    " ">
-<!ENTITY udev-fin-du      "162 MB">
-<!ENTITY udev-fin-sbu     "0.1 SBU">
-]]>
 <!ENTITY udev-lfs-version "udev-lfs-20230818">
 <!ENTITY udev-lfs-size    "10 KB">
 <!ENTITY udev-lfs-url     "&anduin-sources;/&udev-lfs-version;.tar.xz">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.