mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Automatic merge of trunk into multilib
This commit is contained in:
commit
ad897739dc
@ -40,8 +40,6 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Eudev</title>
|
||||
|
||||
|
||||
|
||||
<para>First fix the location of udev rules in the .pc file:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed -i '/udevdir/a udev_dir=${udevdir}' src/udev/udev.pc.in</userinput></screen>
|
||||
@ -156,6 +154,20 @@ rm -rf DESTDIR</userinput></screen>
|
||||
<secondary>configuring</secondary>
|
||||
</indexterm>
|
||||
|
||||
<indexterm zone="conf-eudev">
|
||||
<primary sortas="e-/etc/udev/rules.d/65-kvm.rules">/etc/udev/rules.d/65-kvm.rules</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>
|
||||
The default udev rule installed by Eudev would allow all users to
|
||||
access <filename class='devicefile'>/dev/kvm</filename>. The editors
|
||||
consider it dangerous. Create a configuration file to override it:
|
||||
</para>
|
||||
|
||||
<screen><userinput remap="configure">cat > /etc/udev/rules.d/65-kvm.rules << "EOF"
|
||||
<literal>KERNEL=="kvm", GROUP="kvm", MODE="0660", TAG+="uaccess"</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<indexterm zone="conf-eudev">
|
||||
<primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary>
|
||||
</indexterm>
|
||||
|
@ -66,6 +66,7 @@ meson --prefix=/usr \
|
||||
-Dman=false \
|
||||
-Dmode=release \
|
||||
-Dpamconfdir=no \
|
||||
-Ddev-kvm-mode=0660 \
|
||||
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
|
||||
..</userinput></screen>
|
||||
|
||||
@ -167,6 +168,15 @@ meson --prefix=/usr \
|
||||
functional on LFS.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-Ddev-kvm-mode=0660</parameter></term>
|
||||
<listitem>
|
||||
<para>The default udev rule would allow all users to access
|
||||
<filename class='devicefile'>/dev/kvm</filename>. The editors
|
||||
consider it dangerous. This option overrides it.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user