Ignore:
Timestamp:
08/02/2024 09:44:22 AM (7 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.2
Children:
e7eaa1e
Parents:
7c1451f (diff), 5ff15e6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/loongarch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    r7c1451f r479d3bc  
    4949       -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
    5050
    51     <!-- https://github.com/systemd/systemd/pull/30549 -->
    52     <para>Now fix a security vulnerability in the DNSSEC verification of
    53     <command>systemd-resolved</command> and a bug breaking running
    54     <command>systemd-analyze verify</command> on an instantiated systemd
    55     unit:</para>
    56 
    57 <screen><userinput remap='pre'>patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
    58 
    5951    <para>Prepare systemd for compilation:</para>
    6052
     
    6355
    6456CFLAGS+=" -Wno-format-overflow" \
    65 meson setup \
    66       --prefix=/usr                 \
    67       --buildtype=release           \
    68       -Ddefault-dnssec=no           \
    69       -Dfirstboot=false             \
    70       -Dinstall-tests=false         \
    71       -Dldconfig=false              \
    72       -Dsysusers=false              \
    73       -Drpmmacrosdir=no             \
    74       -Dhomed=disabled              \
    75       -Duserdb=false                \
    76       -Dman=disabled                \
    77       -Dmode=release                \
    78       -Dpamconfdir=no               \
    79       -Ddev-kvm-mode=0660           \
    80       -Dnobody-group=nogroup        \
    81       -Dsysupdate=disabled          \
    82       -Dukify=disabled              \
    83       -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    84       ..</userinput></screen>
     57meson setup ..                \
     58      --prefix=/usr           \
     59      --buildtype=release     \
     60      -D default-dnssec=no    \
     61      -D firstboot=false      \
     62      -D install-tests=false  \
     63      -D ldconfig=false       \
     64      -D sysusers=false       \
     65      -D rpmmacrosdir=no      \
     66      -D homed=disabled       \
     67      -D userdb=false         \
     68      -D man=disabled         \
     69      -D mode=release         \
     70      -D pamconfdir=no        \
     71      -D dev-kvm-mode=0660    \
     72      -D nobody-group=nogroup \
     73      -D sysupdate=disabled   \
     74      -D ukify=disabled       \
     75      -D docdir=/usr/share/doc/systemd-&systemd-version;</userinput></screen>
    8576
    8677    <variablelist>
     
    9788
    9889      <varlistentry>
    99         <term><parameter>-Ddefault-dnssec=no</parameter></term>
     90        <term><parameter>-D default-dnssec=no</parameter></term>
    10091        <listitem>
    10192          <para>This switch turns off the experimental DNSSEC support.</para>
     
    10495
    10596      <varlistentry>
    106         <term><parameter>-Dfirstboot=false</parameter></term>
     97        <term><parameter>-D firstboot=false</parameter></term>
    10798        <listitem>
    10899          <para>This switch prevents installation of systemd
     
    114105
    115106      <varlistentry>
    116         <term><parameter>-Dinstall-tests=false</parameter></term>
     107        <term><parameter>-D install-tests=false</parameter></term>
    117108        <listitem>
    118109          <para>This switch prevents installation of the compiled tests.</para>
     
    121112
    122113      <varlistentry>
    123         <term><parameter>-Dldconfig=false</parameter></term>
     114        <term><parameter>-D ldconfig=false</parameter></term>
    124115        <listitem>
    125116          <para>This switch prevents installation of a systemd unit that runs
     
    131122
    132123      <varlistentry>
    133         <term><parameter>-Dsysusers=false</parameter></term>
     124        <term><parameter>-D sysusers=false</parameter></term>
    134125        <listitem>
    135126          <para>This switch prevents installation of systemd
     
    143134
    144135      <varlistentry>
    145         <term><parameter>-Drpmmacrosdir=no</parameter></term>
     136        <term><parameter>-D rpmmacrosdir=no</parameter></term>
    146137        <listitem>
    147138          <para>This switch disables installation of RPM Macros
     
    151142
    152143      <varlistentry>
    153         <term><parameter>-Dhomed=disabled</parameter> and
    154         <parameter>-Duserdb=false</parameter></term>
     144        <term><parameter>-D homed=disabled</parameter> and
     145        <parameter>-D userdb=false</parameter></term>
    155146        <listitem>
    156147          <para>Remove two daemons with dependencies that do not fit
     
    160151
    161152      <varlistentry>
    162         <term><parameter>-Dman=disabled</parameter></term>
     153        <term><parameter>-D man=disabled</parameter></term>
    163154        <listitem>
    164155          <para>Prevent the generation of man pages to avoid extra
     
    169160
    170161      <varlistentry>
    171         <term><parameter>-Dmode=release</parameter></term>
     162        <term><parameter>-D mode=release</parameter></term>
    172163        <listitem>
    173164          <para>Disable some features considered experimental by upstream.
     
    177168
    178169      <varlistentry>
    179         <term><parameter>-Dpamconfdir=no</parameter></term>
     170        <term><parameter>-D pamconfdir=no</parameter></term>
    180171        <listitem>
    181172          <para>Prevent the installation of a PAM configuration file not
     
    185176
    186177      <varlistentry>
    187         <term><parameter>-Ddev-kvm-mode=0660</parameter></term>
     178        <term><parameter>-D dev-kvm-mode=0660</parameter></term>
    188179        <listitem>
    189180          <para>The default udev rule would allow all users to access
     
    194185
    195186      <varlistentry>
    196         <term><parameter>-Dnobody-group=nogroup</parameter></term>
     187        <term><parameter>-D nobody-group=nogroup</parameter></term>
    197188        <listitem>
    198189          <para>Tell the package the group name with GID 65534 is
     
    202193
    203194      <varlistentry>
    204         <term><parameter>-Dsysupdate=disabled</parameter></term>
     195        <term><parameter>-D sysupdate=disabled</parameter></term>
    205196        <listitem>
    206197          <para>Do not install the <command>systemd-sysupdate</command>
     
    213204
    214205      <varlistentry>
    215         <term><parameter>-Dukify=disabled</parameter></term>
     206        <term><parameter>-D ukify=disabled</parameter></term>
    216207        <listitem>
    217208          <para>Do not install the <command>systemd-ukify</command> script.
     
    234225ninja test</userinput></screen>
    235226
    236     <!-- This test needs /run/systemd/inaccessible/sock, which only exists
     227    <!-- test-namespace needs /run/systemd/inaccessible/sock, which only exists
    237228         after initializing the system with systemd.  -->
    238229    <para>One test named <literal>systemd:core / test-namespace</literal>
     
    248239    <!-- Please make sure systemd man pages tarball has a common leading
    249240         component in the path.  -->
    250 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-version;.tar.xz \
     241<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz \
    251242    --no-same-owner --strip-components=1   \
    252243    -C /usr/share/man</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.