Changeset e7cd19a for general


Ignore:
Timestamp:
07/31/2023 01:44:37 PM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
c41cafb
Parents:
2fbed80
git-author:
Xi Ruoyao <xry111@…> (07/31/2023 11:32:34 AM)
git-committer:
Xi Ruoyao <xry111@…> (07/31/2023 01:44:37 PM)
Message:

general: Use new rendering method for kernel configuration

It's almost a plain "conversion". Exceptions:

  • In elogind, [CGROUPS] is dropped because it's in LFS now.
  • In libusb, move the kernel configuration to match the layout of other packages.
Location:
general
Files:
10 added
8 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libusb.xml

    r2fbed80 re7cd19a  
    7676  </sect2>
    7777
     78  <sect2 role="kernel">
     79    <title>Configuring Libusb</title>
     80
     81    <para id="libusb-kernel">
     82      To access raw USB devices (those not treated as a disk by the mass-storage
     83      driver), appropriate support must be available in the kernel.  Check your
     84      kernel configuration:
     85    </para>
     86
     87    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     88      href="libusb-kernel.xml"/>
     89
     90    <indexterm zone="libusb libusb-kernel">
     91      <primary sortas="d-USB-device-filesystem">Support for Host-side USB</primary>
     92    </indexterm>
     93
     94    <para>
     95      For more details on setting up USB devices, see <xref
     96      linkend="usb-device-issues"/>.
     97    </para>
     98  </sect2>
     99
    78100  <sect2 role="installation">
    79101    <title>Installation of libusb</title>
     
    128150  </sect2>
    129151-->
    130   <sect2 role="configuration">
    131     <title>Configuring Libusb</title>
    132 
    133     <para id="libusb-kernel">
    134       To access raw USB devices (those not treated as a disk by the mass-storage
    135       driver), appropriate support must be available in the kernel.  Check your
    136       kernel configuration:
    137     </para>
    138 
    139 <screen><literal>Device Drivers ---&gt;
    140   [*] USB support ---&gt;                   [CONFIG_USB_SUPPORT]
    141     &lt;*/M&gt; Support for Host-side USB      [CONFIG_USB]
    142     (Select any USB hardware device drivers you may need on the same page)</literal></screen>
    143 
    144     <indexterm zone="libusb libusb-kernel">
    145       <primary sortas="d-USB-device-filesystem">Support for Host-side USB</primary>
    146     </indexterm>
    147 
    148     <para>
    149       For more details on setting up USB devices, see <xref
    150       linkend="usb-device-issues"/>.
    151     </para>
    152 
    153   </sect2>
    154 
    155152  <sect2 role="content">
    156153    <title>Contents</title>
  • general/genutils/lsof.xml

    r2fbed80 re7cd19a  
    9292    </para>
    9393
    94 <screen><literal>General setup  ---&gt;
    95   [*] POSIX Message Queues    [CONFIG_POSIX_MQUEUE]</literal></screen>
     94    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     95      href="lsof-test-kernel.xml"/>
     96
     97    <indexterm zone="lsof lsof-kernel">
     98      <primary sortas="d-lsof">lsof (testing)</primary>
     99    </indexterm>
    96100
    97101  </sect2>
  • general/sysutils/autofs.xml

    r2fbed80 re7cd19a  
    100100    </para>
    101101
    102 <screen><literal>File systems ---&gt;
    103   &lt;*/M&gt; Kernel automounter support (supports v3, v4, and v5) [CONFIG_AUTOFS_FS]</literal></screen>
     102    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     103      href="autofs-kernel.xml"/>
    104104
    105105    <para>
     
    107107    </para>
    108108
    109 <screen><literal>File systems  ---&gt;
    110   [*] Network File Systems  ---&gt;                                      [CONFIG_NETWORK_FILESYSTEMS]
    111     &lt;*/M&gt; NFS client support                                          [CONFIG_NFS_FS]
    112     &lt;*/M&gt; SMB3 and CIFS support (advanced network filesystem)         [CONFIG_CIFS]</literal></screen>
     109    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     110      href="autofs-optional-kernel.xml"/>
    113111
    114112    <para>
  • general/sysutils/bluez.xml

    r2fbed80 re7cd19a  
    104104    </para>
    105105
    106 <screen><literal>General Setup ---&gt;
    107   [ /*] Configure standard kernel features (expert users)   [CONFIG_EXPERT]
    108     (Note: if CONFIG_EXPERT is disabled, the following options will be
    109            hidden and enabled implicitly.  We DO NOT recommend to enable
    110            CONFIG_EXPERT unless you are really an expert user.)
    111     [*] Enable timerfd() system call                        [CONFIG_TIMERFD]
    112     [*] Enable eventfd() system call                        [CONFIG_EVENTFD]
    113 
    114 [*] Networking support ---&gt;                [CONFIG_NET]
    115   &lt;*/M&gt; Bluetooth subsystem support ---&gt;   [CONFIG_BT]
    116     &lt;*/M&gt; RFCOMM protocol support          [CONFIG_BT_RFCOMM]
    117     [*]   RFCOMM TTY support               [CONFIG_BT_RFCOMM_TTY]
    118     &lt;*/M&gt; BNEP protocol support            [CONFIG_BT_BNEP]
    119     [*]   Multicast filter support         [CONFIG_BT_BNEP_MC_FILTER]
    120     [*]   Protocol filter support          [CONFIG_BT_BNEP_PROTO_FILTER]
    121     &lt;*/M&gt; HIDP protocol support            [CONFIG_BT_HIDP]
    122         Bluetooth device drivers ---&gt;
    123           (Select the appropriate drivers for your Bluetooth hardware)
    124 
    125    &lt;*/M&gt; RF switch subsystem support ----  [CONFIG_RFKILL]
    126 
    127 -*- Cryptographic API ---&gt;
    128    Crypto core or helper --- &gt;
    129       &lt;*/M&gt; User-space cryptographic algorithm configuration   [CONFIG_CRYPTO_USER]
    130    Block ciphers ---&gt;
    131       &lt;*/M&gt; AES (Advanced Encryption Standard)                 [CONFIG_CRYPTO_AES]
    132    AEAD (authenticated encryption with associated data) ciphers ---&gt;
    133       &lt;*/M&gt; CCM (Counter with Cipher Block Chaining-MAC)       [CONFIG_CRYPTO_CCM]
    134    Hashes, digests, and MACs ---&gt;
    135       &lt;*/M&gt; CMAC (Cipher-based MAC)                            [CONFIG_CRYPTO_CMAC]
    136    Userspace interface ---&gt;
    137       &lt;*/M&gt; Hash algorithms                                    [CONFIG_CRYPTO_USER_API_HASH]
    138       &lt;*/M&gt; Symmetric key cipher algorithms                    [CONFIG_CRYPTO_USER_API_SKCIPHER]
    139       &lt;*/M&gt; AEAD cipher algorithms                             [CONFIG_CRYPTO_USER_API_AEAD]</literal></screen>
    140 
    141 <!--
    142     <para>
    143       If you wish to run the test suite (even if treating this package as a build
    144       dependency), you will need to enable the following options in the kernel
    145       configuration and recompile the kernel if necessary:
    146     </para>
    147 
    148 <screen><literal>-*- Cryptographic API - - -&gt;                                      [CONFIG_CRYPTO]
    149   &lt;*/M&gt; User-space interface for hash algorithms                 [CONFIG_CRYPTO_USER_API_HASH]
    150   &lt;*/M&gt; User-space interface for symmetric key cipher algorithms [CONFIG_CRYPTO_USER_API_SKCIPHER]</literal></screen>
    151 -->
     106    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     107      href="bluez-kernel.xml"/>
     108
    152109    <indexterm zone="bluez bluez-kernel">
    153110      <primary sortas="d-bluez">bluez</primary>
  • general/sysutils/elogind.xml

    r2fbed80 re7cd19a  
    111111    </para>
    112112
    113 <!-- Spaces are significant in <screen> sections -->
    114 <screen><literal>General setup ---&gt;
    115     [*]     Control Group support                        [CONFIG_CGROUPS]
    116 File systems ---&gt;
    117     [*]     Inotify support for userspace                [CONFIG_INOTIFY_USER]
    118             Pseudo filesystems ---&gt;
    119                 [*]    Tmpfs POSIX Access Control Lists  [CONFIG_TMPFS_POSIX_ACL]</literal></screen>
     113    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     114      href="elogind-kernel.xml"/>
    120115
    121116    <para>
     
    124119    </para>
    125120
    126 <screen><literal>-*- Cryptographic API ---&gt;                                  [CONFIG_CRYPTO]
    127     Crypto core or helper  --->
    128       &lt;M/*&gt; Userspace cryptographic algorithm configuration [CONFIG_CRYPTO_USER]
    129     Userspace interface  ---> 
    130       &lt;M/*&gt; Hash algorithms                                 [CONFIG_CRYPTO_USER_API_HASH]</literal></screen>
     121    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     122      href="elogind-test-kernel.xml"/>
    131123
    132124    <indexterm zone="elogind elogind-kernel">
  • general/sysutils/gpm.xml

    r2fbed80 re7cd19a  
    9797     </para>
    9898
    99 <screen><literal>Device Drivers  ---&gt;
    100   Input device support ---&gt; [CONFIG_INPUT]
    101     &lt;*/M&gt; Mouse interface   [CONFIG_INPUT_MOUSEDEV]</literal></screen>
     99    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     100      href="gpm-kernel.xml"/>
    102101
    103102     <indexterm zone="gpm gpm-kernel">
  • general/sysutils/pm-utils.xml

    r2fbed80 re7cd19a  
    119119    </para>
    120120
    121     <screen><literal>Power management and ACPI options ---&gt;
    122     &lt;*&gt; Suspend to RAM and standby            [CONFIG_SUSPEND]
    123     &lt;*&gt; Hibernation (aka 'suspend to disk')   [CONFIG_HIBERNATION]</literal></screen>
     121    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     122      href="pm-utils-kernel.xml"/>
    124123
    125124    <para>
  • general/sysutils/upower.xml

    r2fbed80 re7cd19a  
    107107    </para>
    108108
    109  <screen><literal>General Setup ---&gt;
    110     [*] Namespaces support ---&gt;     [CONFIG_NAMESPACES]
    111        [*] User namespace           [CONFIG_USER_NS]</literal></screen>
     109    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     110      href="upower-systemd-kernel.xml"/>
    112111
    113112    <indexterm zone="upower upower-kernel">
Note: See TracChangeset for help on using the changeset viewer.