Changeset 57499d5


Ignore:
Timestamp:
08/01/2023 01:17:05 AM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
3d99820
Parents:
70bf551
Message:

kernel: Separate toplevel menus in rendering

Location:
chapter10/kernel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel/kernel-config.py

    r70bf551 r57499d5  
    244244        raise Exception("%s seems not exist" % i)
    245245
     246sep = known_config.get('separate_toplevel_menu')
     247
    246248for i0, val, i1, title, arrow, key, menu, comment in r:
    247249    rem = max_line
     
    276278    if comment:
    277279        comment = '\n'.join([' ' * i0 + '# ' + line for line in comment])
    278         line = escape(comment) + ':\n' + line
     280        buf += escape(comment) + ':'
     281
     282    if not menu and buf:
     283        buf += ['']
    279284
    280285    buf += [line.rstrip()]
  • chapter10/kernel/systemd.xml

    r70bf551 r57499d5  
    1515    [*] M<emphasis role='blue'>e</emphasis>mory controller                                                [MEMCG]
    1616  [ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) ---&gt;            [EXPERT]
     17
    1718<emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
    1819  [*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel                                   [RELOCATABLE]
    1920  [*]   <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR)       [RANDOMIZE_BASE]
     21
    2022<emphasis role='blue'>G</emphasis>eneral architecture-dependent options ---&gt;
    2123  [*] <emphasis role='blue'>S</emphasis>tack Protector buffer overflow detection                 [STACKPROTECTOR]
    2224  [*]   <emphasis role='blue'>S</emphasis>trong Stack Protector                           [STACKPROTECTOR_STRONG]
     25
    2326[*] N<emphasis role='blue'>e</emphasis>tworking support ---&gt;                                                [NET]
    2427  N<emphasis role='blue'>e</emphasis>tworking options ---&gt;
    2528    [*] <emphasis role='blue'>T</emphasis>CP/IP networking                                                 [INET]
    2629    &lt;*&gt;   <emphasis role='blue'>T</emphasis>he IPv6 protocol ---&gt;                                          [IPV6]
     30
    2731<emphasis role='blue'>D</emphasis>evice Drivers ---&gt;
    2832  <emphasis role='blue'>G</emphasis>eneric Driver Options ---&gt;
     
    4246    <emphasis role='blue'>C</emphasis>onsole display driver support ---&gt;
    4347      [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                      [FRAMEBUFFER_CONSOLE]
     48
    4449<emphasis role='blue'>F</emphasis>ile systems ---&gt;
    4550  [*] <emphasis role='blue'>I</emphasis>notify support for userspace                               [INOTIFY_USER]
  • chapter10/kernel/sysv.xml

    r70bf551 r57499d5  
    1414    [*] M<emphasis role='blue'>e</emphasis>mory controller                                                [MEMCG]
    1515  [ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) ---&gt;            [EXPERT]
     16
    1617<emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
    1718  [*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel                                   [RELOCATABLE]
    1819  [*]   <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR)       [RANDOMIZE_BASE]
     20
    1921<emphasis role='blue'>G</emphasis>eneral architecture-dependent options ---&gt;
    2022  [*] <emphasis role='blue'>S</emphasis>tack Protector buffer overflow detection                 [STACKPROTECTOR]
    2123  [*]   <emphasis role='blue'>S</emphasis>trong Stack Protector                           [STACKPROTECTOR_STRONG]
     24
    2225<emphasis role='blue'>D</emphasis>evice Drivers ---&gt;
    2326  <emphasis role='blue'>G</emphasis>eneric Driver Options ---&gt;
  • chapter10/kernel/x2apic.xml

    r70bf551 r57499d5  
    66<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
    77  [*] <emphasis role='blue'>S</emphasis>upport x2apic                                                [X86_X2APIC]
     8
    89<emphasis role='blue'>D</emphasis>evice Drivers ---&gt;
    910  [*] <emphasis role='blue'>P</emphasis>CI support ---&gt;                                                     [PCI]
Note: See TracChangeset for help on using the changeset viewer.