[lfs-support] udev-lfs support files [Was: ... r10567 ... ]

Fernando de Oliveira famobr at yahoo.com.br
Tue May 20 04:05:32 PDT 2014


Em 19-05-2014 21:44, bdubbs at higgs.linuxfromscratch.org escreveu:
> Author: bdubbs
> Date: Mon May 19 17:44:22 2014
> New Revision: 10567
> 
> Log:
> Remove unneeded confiugure switches from gcc.
> Restore installation of udev-lfs support files.


> Modified: trunk/BOOK/chapter06/eudev.xml
> ==============================================================================
> --- trunk/BOOK/chapter06/eudev.xml	Sat May 17 09:41:25 2014	(r10566)
> +++ trunk/BOOK/chapter06/eudev.xml	Mon May 19 17:44:22 2014	(r10567)
> @@ -89,25 +89,11 @@
>  
>  <screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share</userinput></screen>


> +    <para>Finally, install some custom rules and support files useful in an LFS 
> +    environment:</para>
>  

...

> +<screen><userinput remap="install">tar -xvf ../&udev-lfs-version;.tar.bz2
> +make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
>  
>    </sect2>
>  
> 
> Modified: trunk/BOOK/chapter07/symlinks.xml
> ==============================================================================
> --- trunk/BOOK/chapter07/symlinks.xml	Sat May 17 09:41:25 2014	(r10566)
> +++ trunk/BOOK/chapter07/symlinks.xml	Mon May 19 17:44:22 2014	(r10567)
> @@ -48,9 +48,9 @@
>        rules.  A script has been included that generates the initial rules.
>        Generate these rules by running:</para>
>  
> -<screen role="nodump"><userinput>bash /lib/udev/init-net-rules.sh</userinput></screen>
> +<screen role="install"><userinput>bash /lib/udev/init-net-rules.sh</userinput></screen>
>  
> -      <para> Now, inspect th
> +      <para> Now, inspect the
>        <filename>/etc/udev/rules.d/70-persistent-net.rules</filename> file, to
>        find out which name was assigned to which network device:</para>

I am confused, here.

$ cat /etc/lfs-release
SVN-20140511

After some versions of LFS, this one got the "correct" interface's name
eth0.

But I do not have:

$ env LC_ALL=C ls /lib/udev/init-net-rules.sh
/etc/udev/rules.d/70-persistent-net.rules
ls: cannot access /lib/udev/init-net-rules.sh: No such file or directory
ls: cannot access /etc/udev/rules.d/70-persistent-net.rules: No such
file or directory

Looking at the installed files, I have:

$ grep net.rules /jhalfs/installed-files/eudev
/lib/udev/write_net_rules	3936	root:root	755

Should I follow the new instructions and try to install them by hand?

Note: Network seems to be working fine, here.

-- 
[]s,
Fernando



More information about the lfs-support mailing list