diff options
Diffstat (limited to 'chapter8/eudev.sh')
-rw-r--r-- | chapter8/eudev.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chapter8/eudev.sh b/chapter8/eudev.sh new file mode 100644 index 0000000..a15e189 --- /dev/null +++ b/chapter8/eudev.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +./configure --prefix=/usr \ + --bindir=/sbin \ + --sbindir=/sbin \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --libexecdir=/lib \ + --with-rootprefix= \ + --with-rootlibdir=/lib \ + --enable-manpages \ + --disable-static + +make + +mkdir -pv /lib/udev/rules.d +mkdir -pv /etc/udev/rules.d + +make -j1 install + +tar -xvf ../udev-lfs-20171102.tar.xz +make -f udev-lfs-20171102/Makefile.lfs install + +udevadm hwdb --update |