Changeset 88bdbb7
- Timestamp:
- 04/30/2021 12:01:24 PM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 803a28b2
- Parents:
- 2db19cb (diff), 2013a74 (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. - Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
r2db19cb r88bdbb7 1 2021-04-28 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 * Make check_signal more robust. 3 * Use a better methog for killproc to remove a dead pid file. 4 * Clarify what signals killproc accepts. 5 * Thanks to input an ddiscussion from Scott Andrews. 6 1 7 2021-02-01 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 8 * Tweak mountfs to properly exit when an error is found. -
bootscripts/lfs/lib/services/init-functions
r2db19cb r88bdbb7 284 284 # Program is not running, but an invalid pid file exists 285 285 # Remove the pid file. 286 rm -f "${pidfile}" 286 287 progname=${program##*/} 288 289 if [[ -e "/run/${progname}.pid" ]]; then 290 pidfile="/run/${progname}.pid" 291 rm -f "${pidfile}" 292 fi 287 293 288 294 # This is only a success if no signal was passed. … … 714 720 ################################################################################ 715 721 # check_signal() # 716 # Usage: check_signal [ -{signal} | {signal} ]#722 # Usage: check_signal [ -{signal} ] # 717 723 # # 718 724 # Purpose: Check for a valid signal. This is not defined by any LSB draft, # … … 720 726 # signals chosen are invalid arguments to the other functions. # 721 727 # # 722 # Inputs: Accepts a single string value in the form o r -{signal} or {signal}#728 # Inputs: Accepts a single string value in the form of -{signal} # 723 729 # # 724 730 # Return values: # … … 731 737 732 738 # Add error handling for invalid signals 733 valsig=" -ALRM -HUP -INT -KILL -PIPE -POLL -PROF -TERM -USR1 -USR2"739 valsig=" -ALRM -HUP -INT -KILL -PIPE -POLL -PROF -TERM -USR1 -USR2" 734 740 valsig="${valsig} -VTALRM -STKFLT -PWR -WINCH -CHLD -URG -TSTP -TTIN" 735 741 valsig="${valsig} -TTOU -STOP -CONT -ABRT -FPE -ILL -QUIT -SEGV -TRAP" 736 742 valsig="${valsig} -SYS -EMT -BUS -XCPU -XFSZ -0 -1 -2 -3 -4 -5 -6 -8 -9" 737 valsig="${valsig} -11 -13 -14 -15 "743 valsig="${valsig} -11 -13 -14 -15 " 738 744 739 745 echo "${valsig}" | grep -- " ${1} " > /dev/null … … 766 772 767 773 # The list of termination signals (limited to generally used items) 768 valsig=" -ALRM -INT -KILL -TERM -PWR -STOP -ABRT -QUIT -2 -3 -6 -9 -14 -15"774 valsig=" -ALRM -INT -KILL -TERM -PWR -STOP -ABRT -QUIT -2 -3 -6 -9 -14 -15 " 769 775 770 776 echo "${valsig}" | grep -- " ${1} " > /dev/null -
chapter01/changelog.xml
r2db19cb r88bdbb7 47 47 48 48 <listitem> 49 <para>2021-04-28</para> 50 <itemizedlist> 51 <listitem revision="systemd"> 52 <para>[renodr] - Fix building systemd with Linux-API-Headers 5.11.14 53 and higher, as well as with meson-0.57.2. Fixes 54 <ulink url="&lfs-ticket-root;4851">#4851</ulink>.</para> 55 </listitem> 56 <listitem> 57 <para>[bdubbs] - Add manual locales needed for tests 58 if using alternate locale installation instructions. Fixes 59 <ulink url="&lfs-ticket-root;4844">#4844</ulink>.</para> 60 </listitem> 61 <listitem> 62 <para>[bdubbs] - Minor changes to boot scripts. Fixes 63 <ulink url="&lfs-ticket-root;4842">#4842</ulink>. 64 Thanks to Scott Andrews for the report.</para> 65 </listitem> 66 </itemizedlist> 67 </listitem> 68 69 <listitem> 49 70 <para>2021-04-26</para> 50 71 <itemizedlist> -
chapter07/createfiles.xml
r2db19cb r88bdbb7 48 48 as well:</para> 49 49 50 <screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> 50 <screen><userinput>cat > /etc/hosts << EOF 51 "127.0.0.1 localhost $(hostname)" 52 ::1 localhost 53 EOF</userinput></screen> 51 54 52 55 <para>In order for user <systemitem class="username">root</systemitem> to be -
chapter08/glibc.xml
r2db19cb r88bdbb7 288 288 install locales not listed in the 289 289 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file 290 in the unlikely case you need them.</para> 290 when you need them. For instance, the following two locales are 291 needed for some tests later in this chapter:</para> 292 293 <screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true 294 localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true</userinput></screen> 291 295 292 296 <note><para>Glibc now uses libidn2 when resolving internationalized -
chapter08/systemd.xml
r2db19cb r88bdbb7 51 51 with future versions of the kernel:</para> 52 52 53 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes- 2.patch</userinput></screen>53 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-3.patch</userinput></screen> 54 54 55 55 <para>Remove tests that cannot be built in chroot:</para> -
packages.ent
r2db19cb r88bdbb7 385 385 <!ENTITY less-fin-sbu "less than 0.1 SBU"> 386 386 387 <!ENTITY lfs-bootscripts-version "20210 201"> <!-- Scripts depend on this format -->387 <!ENTITY lfs-bootscripts-version "20210428"> <!-- Scripts depend on this format --> 388 388 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> 389 389 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz"> -
patches.ent
r2db19cb r88bdbb7 68 68 <!ENTITY sysvinit-consolidated-patch-size "2.4 KB"> 69 69 70 <!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes- 2.patch">71 <!ENTITY systemd-upstream-fixes-patch-md5 " 7afe3d13464ae7d20dbe5e6f0fb8ccd3">72 <!ENTITY systemd-upstream-fixes-patch-size "1 2KB">70 <!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes-3.patch"> 71 <!ENTITY systemd-upstream-fixes-patch-md5 "949768da539ddfa2bf6e936b81ed96df"> 72 <!ENTITY systemd-upstream-fixes-patch-size "16 KB">
Note:
See TracChangeset
for help on using the changeset viewer.