[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, systemd, updated. clfs-2.1.0-772-gfa271a1
git
git at cross-lfs.org
Sat Apr 19 00:53:01 PDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".
The branch, systemd has been updated
via fa271a1951a9a1992c3edb2a5b0c6dc1b0350737 (commit)
from fe9321a419984ba23a125bd19b43188a760faadb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fa271a1951a9a1992c3edb2a5b0c6dc1b0350737
Author: Chris Staub <chris at beaker67.com>
Date: Sat Apr 19 03:52:42 2014 -0400
Shortened commands for creating kmod symlinks
diff --git a/BOOK/final-system/common/kmod.xml b/BOOK/final-system/common/kmod.xml
index e31dc7e..6421b0f 100644
--- a/BOOK/final-system/common/kmod.xml
+++ b/BOOK/final-system/common/kmod.xml
@@ -69,11 +69,9 @@ make -C man install</userinput></screen>
<para os="i">Create symbolic links for programs that expect Module-Init-Tools.</para>
<screen os="j"><userinput>ln -sfv kmod /bin/lsmod
-ln -sfv ../bin/kmod /sbin/depmod
-ln -sfv ../bin/kmod /sbin/insmod
-ln -sfv ../bin/kmod /sbin/modprobe
-ln -sfv ../bin/kmod /sbin/modinfo
-ln -sfv ../bin/kmod /sbin/rmmod</userinput></screen>
+for tool in depmod insmod modprobe modinfo rmmod; do
+ln -sfv ../bin/kmod /sbin/${tool}
+done</userinput></screen>
</sect2>
-----------------------------------------------------------------------
Summary of changes:
BOOK/final-system/common/kmod.xml | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
hooks/post-receive
--
Cross-LFS Book
More information about the Clfs-commits
mailing list