Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk update from Factory to SLFO (bsc#1236018) #391

Merged
merged 40 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b3e5a5a
fix(systemd-pcrphase): rename systemd-pcrphase binary to systemd-pcre…
aafeijoo-suse Sep 26, 2023
22ebaef
feat(dracut): add option to disable automatic guessing of output file
aafeijoo-suse Mar 25, 2024
fd2275b
chore: remove src/install/hashmap.lo
nabijaczleweli Apr 26, 2022
8732371
perf(dracut-install): multiple single-character strstr()s -> strpbrk()
nabijaczleweli Apr 26, 2022
77f82c1
perf(dracut-install): stat() w/unused buf -> access(F_OK) in dracut-i…
nabijaczleweli Apr 26, 2022
185e1b7
perf(dracut-install): don't strdup() excessively for dracut_install()
nabijaczleweli Apr 27, 2022
12feb08
perf(dracut-install): don't reallocate {src,dst}path in hmac_install()
nabijaczleweli Apr 27, 2022
89384eb
perf(dracut-install): don't strdup() environment block
nabijaczleweli Apr 27, 2022
f2aa193
refactor(dracut-install): strerror(errno) -> %m
nabijaczleweli Apr 27, 2022
b3ce362
fix(dracut-install): memory leak in `--modalias` option
aafeijoo-suse Nov 27, 2023
2378ee4
fix(dracut-install): release memory allocated for regular expressions
aafeijoo-suse Nov 28, 2023
608f1ec
fix(dracut-install): memory leak in two `hashmap_put` calls if key ex…
aafeijoo-suse Nov 29, 2023
9bd3a5b
fix(dracut-util): avoid memory leak
aafeijoo-suse Jan 16, 2024
cf24fa9
fix(dracut-lib): only remove initqueue/finished scripts, not the hook…
aafeijoo-suse Feb 12, 2024
7b0abc3
fix(systemd): explicitly install some libs that will not be staticall…
aafeijoo-suse Apr 4, 2024
fe0be38
feat(tpm2-tss): add tpm2.target and systemd-tpm2-generator
aafeijoo-suse Feb 19, 2024
f5eac41
fix(dracut): move hooks directory from /usr/lib to /var/lib
LaszloGombos Apr 5, 2024
91d2859
fix(dracut.spec): do not check if fillup template exists at %post end
aafeijoo-suse Apr 30, 2024
0493e14
fix(suse-initrd): clean return of installkernel() (bsc#1223467)
aafeijoo-suse May 3, 2024
e438a2d
style(install.d): shfmt reformat
aafeijoo-suse May 3, 2024
bdf033b
fix(install.d): skip if dracut is not the initrd or UKI generator
aafeijoo-suse May 3, 2024
6abe3af
fix: /etc/modprobe.d --> /run/modprobe.d
LaszloGombos May 19, 2024
c3795ea
perf(drm): group dracut_instmods calls
aafeijoo-suse Nov 30, 2023
674ac5a
fix(systemd-ask-password): no graphical output in aarch64 (bsc#1224404)
aafeijoo-suse May 27, 2024
a09e41e
fix(dracut-install): copy xattr when use clone ioctl
Jun 20, 2024
49494ae
fix(dracut): don't apply aggressive strip to kernel modules
ryncsn Sep 13, 2024
d6fe084
fix(dracut.sh): omit compressed kernel modules from find searching ex…
aafeijoo-suse Apr 28, 2023
df6088c
fix(btrfs): write cmdline in install()
aafeijoo-suse Oct 1, 2024
d5ad183
fix(dracut.sh): do not add cmdline for force_drivers if --kernel-only
aafeijoo-suse Oct 1, 2024
e88a3d4
refactor: change TimeoutSec=0 to TimeoutSec=infinity
aafeijoo-suse Oct 21, 2024
835d97b
feat: add header comment to generators
aafeijoo-suse Oct 21, 2024
87c4e7e
fix(dracut-systemd): unquote systemd conf strings
aafeijoo-suse Oct 23, 2024
bc2990e
fix(dracut-systemd): use expected PS1 in the emergency shell
aafeijoo-suse Oct 31, 2024
5933114
fix(pcsc): add libpcsclite_real.so.*
innovara Oct 31, 2024
f258f54
fix(suse-initrd): shellcheck SC1007
aafeijoo-suse Sep 17, 2024
9e47977
feat(systemd-coredump): save coredumps to journal
aafeijoo-suse Sep 16, 2024
8cd96f7
fix(systemd): copy 20-systemd-stub.conf into the initrd
aafeijoo-suse Dec 11, 2024
dd2d6d6
fix(systemd-tmpfiles): copy 20-systemd-stub.conf into the initrd
jozzsi Dec 10, 2024
8e321e5
fix(dracut): rework timeout for devices added via --mount and --add-d…
aafeijoo-suse Nov 4, 2024
036e755
chore(suse): update SUSE maintainers doc
aafeijoo-suse Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dracut-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ for_each_host_dev_and_slaves_all() {
local _dev
local _ret=1

[[ "${host_devs[*]}" ]] || return 2
[[ "${host_devs[*]}" ]] || [[ "${user_devs[*]}" ]] || return 2

for _dev in "${host_devs[@]}"; do
for _dev in "${host_devs[@]}" "${user_devs[@]}"; do
[[ -b $_dev ]] || continue
if check_block_and_slaves_all "$_func" "$(get_maj_min "$_dev")"; then
_ret=0
Expand All @@ -623,9 +623,9 @@ for_each_host_dev_and_slaves() {
local _func="$1"
local _dev

[[ "${host_devs[*]}" ]] || return 2
[[ "${host_devs[*]}" ]] || [[ "${user_devs[*]}" ]] || return 2

for _dev in "${host_devs[@]}"; do
for _dev in "${host_devs[@]}" "${user_devs[@]}"; do
[[ -b $_dev ]] || continue
check_block_and_slaves "$_func" "$(get_maj_min "$_dev")" && return 0
done
Expand Down
2 changes: 1 addition & 1 deletion dracut-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ inst_hook() {
dfatal "No such hook type $1. Aborting initrd creation."
exit 1
fi
hook="/lib/dracut/hooks/${1}/${2}-${3##*/}"
hook="/var/lib/dracut/hooks/${1}/${2}-${3##*/}"
inst_simple "$3" "$hook"
chmod u+x "$initdir/$hook"
}
Expand Down
50 changes: 37 additions & 13 deletions dracut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,16 @@ push_host_devs() {
done
}

# Fills up user_devs stack variable and makes sure there are no duplicates
push_user_devs() {
local _dev
for _dev in "$@"; do
[[ -z $_dev ]] && continue
[[ " ${user_devs[*]} " == *" $_dev "* ]] && return
user_devs+=("$_dev")
done
}

# Little helper function for reading args from the commandline.
# it automatically handles -a b and -a=b variants, and returns 1 if
# we need to shift $3.
Expand Down Expand Up @@ -947,6 +957,13 @@ for f in $(dropindirs_sort ".conf" "$confdir" "$dracutbasedir/dracut.conf.d"); d
[[ -e $f ]] && . "$f"
done

# check if automatic guessing of the output file is disabled.
if [[ $force_output_file == "yes" && -z $outfile ]]; then
printf "%s\n" "dracut[F]: dracut is configured with force_output_file=yes" >&2
printf "%s\n" "dracut[F]: so it is required to specify the file path of the generated initramfs image." >&2
exit 1
fi

# regenerate_all shouldn't be set in conf files
regenerate_all=$regenerate_all_l
if [[ $parallel_l == "yes" ]]; then
Expand Down Expand Up @@ -1617,7 +1634,7 @@ for line in "${fstab_lines[@]}"; do
push_host_devs "$mp"
done
fi
push_host_devs "$dev"
push_user_devs "$dev"
host_fs_types["$dev"]="$3"
done

Expand All @@ -1629,12 +1646,12 @@ for f in $add_fstab; do
done

for dev in $add_device; do
push_host_devs "$dev"
push_user_devs "$dev"
done

if ((${#add_device_l[@]})); then
add_device+=" ${add_device_l[*]} "
push_host_devs "${add_device_l[@]}"
push_user_devs "${add_device_l[@]}"
fi

if [[ $hostonly ]] && [[ $hostonly_default_device != "no" ]]; then
Expand Down Expand Up @@ -1756,7 +1773,7 @@ _get_fs_type() {
return 1
}

for dev in "${host_devs[@]}"; do
for dev in "${host_devs[@]}" "${user_devs[@]}"; do
_get_fs_type "$dev"
check_block_and_slaves_all _get_fs_type "$(get_maj_min "$dev")"
done
Expand Down Expand Up @@ -1784,7 +1801,7 @@ export initdir dracutbasedir \
omit_drivers mdadmconf lvmconf root_devs \
use_fstab fstab_lines libdirs fscks nofscks ro_mnt \
stdloglvl sysloglvl fileloglvl kmsgloglvl logfile \
host_fs_types host_devs swap_devs sshkey add_fstab \
host_fs_types host_devs user_devs swap_devs sshkey add_fstab \
DRACUT_VERSION \
prefix filesystems drivers \
hostonly_cmdline loginstall check_supported
Expand Down Expand Up @@ -1874,7 +1891,11 @@ mkdir -p "${initdir}"/lib/dracut

if [[ $kernel_only != yes ]]; then
mkdir -p "${initdir}/etc/cmdline.d"
mkdir -m 0755 "${initdir}"/lib/dracut/hooks
mkdir -m 0755 -p "${initdir}"/var/lib/dracut/hooks

# symlink to old hooks location for compatibility
ln_r /var/lib/dracut/hooks /lib/dracut/hooks

# shellcheck disable=SC2154
for _d in $hookdirs; do
# shellcheck disable=SC2174
Expand Down Expand Up @@ -1955,10 +1976,12 @@ if [[ $no_kernel != yes ]]; then
if [[ $force_drivers ]]; then
# shellcheck disable=SC2086
hostonly='' instmods -c $force_drivers
rm -f "$initdir"/etc/cmdline.d/20-force_driver.conf
for mod in $force_drivers; do
echo "rd.driver.pre=$mod" >> "$initdir"/etc/cmdline.d/20-force_drivers.conf
done
if [[ $kernel_only != yes ]]; then
rm -f "$initdir"/etc/cmdline.d/20-force_driver.conf
for mod in $force_drivers; do
echo "rd.driver.pre=$mod" >> "$initdir"/etc/cmdline.d/20-force_drivers.conf
done
fi
fi
if [[ $filesystems ]]; then
# shellcheck disable=SC2086
Expand Down Expand Up @@ -2029,7 +2052,7 @@ if [[ $kernel_only != yes ]]; then
if [[ $DRACUT_RESOLVE_LAZY ]] && [[ $DRACUT_INSTALL ]]; then
dinfo "*** Resolving executable dependencies ***"
# shellcheck disable=SC2086
find "$initdir" -type f -perm /0111 -not -path '*.ko' -print0 \
find "$initdir" -type f -perm /0111 -not -path '*.ko*' -print0 \
| xargs -r -0 $DRACUT_INSTALL ${initdir:+-D "$initdir"} ${dracutsysrootdir:+-r "$dracutsysrootdir"} -R ${DRACUT_FIPS_MODE:+-f} --
# shellcheck disable=SC2181
if (($? == 0)); then
Expand Down Expand Up @@ -2104,6 +2127,7 @@ if [[ $do_strip == yes ]]; then
fi
done

kstrip_args=(-g)
if [[ $aggressive_strip == yes ]]; then
# `eu-strip` and `strip` both strips all unneeded parts by default
strip_args=(-p)
Expand Down Expand Up @@ -2247,15 +2271,15 @@ if [[ $do_strip == yes ]] && ! [[ $DRACUT_FIPS_MODE ]]; then
[[ -n $enhanced_cpio ]] && ddebug "strip is enabled alongside cpio reflink"
dinfo "*** Stripping files ***"
find "$initdir" -type f \
-executable -not -path '*/lib/modules/*.ko' -print0 \
-executable -not -path '*/lib/modules/*.ko*' -print0 \
| xargs -r -0 $strip_cmd "${strip_args[@]}" 2> /dev/null

# strip kernel modules, but do not touch signed modules
find "$initdir" -type f -path '*/lib/modules/*.ko' -print0 \
| while read -r -d $'\0' f || [ -n "$f" ]; do
SIG=$(tail -c 28 "$f" | tr -d '\000')
[[ $SIG == '~Module signature appended~' ]] || { printf "%s\000" "$f"; }
done | xargs -r -0 $strip_cmd "${strip_args[@]}"
done | xargs -r -0 $strip_cmd "${kstrip_args[@]}"
dinfo "*** Stripping files done ***"
fi

Expand Down
13 changes: 11 additions & 2 deletions install.d/50-dracut.install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ if ! [[ ${KERNEL_INSTALL_MACHINE_ID-x} ]]; then
fi

# Do not attempt to create initramfs if the supplied image is already a UKI
if [[ "$KERNEL_INSTALL_IMAGE_TYPE" = "uki" ]]; then
if [[ $KERNEL_INSTALL_IMAGE_TYPE == "uki" ]]; then
exit 0
fi

# Skip this plugin if we're using a different generator. If nothing is specified,
# assume we're wanted since we're installed.
if [[ ${KERNEL_INSTALL_INITRD_GENERATOR:-dracut} != "dracut" ]] \
&& [[ ${KERNEL_INSTALL_UKI_GENERATOR:-dracut} != "dracut" ]]; then
exit 0
fi

Expand All @@ -39,7 +46,7 @@ elif [[ $KERNEL_INSTALL_LAYOUT == "bls" && -n $KERNEL_INSTALL_STAGING_AREA ]]; t
else
exit 0
fi
else
elif [[ ${KERNEL_INSTALL_INITRD_GENERATOR:-dracut} == "dracut" ]]; then
# No layout information, use users --uefi/--no-uefi preference
UEFI_OPTS=""
if [[ -d $BOOT_DIR_ABS ]]; then
Expand All @@ -48,6 +55,8 @@ else
BOOT_DIR_ABS="/boot"
IMAGE="initrd-${KERNEL_VERSION}"
fi
else
exit 0
fi

ret=0
Expand Down
4 changes: 2 additions & 2 deletions install.d/51-dracut-rescue.install
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fi
[[ -n $PRETTY_NAME ]] || PRETTY_NAME="Linux $KERNEL_VERSION"

SORT_KEY="$IMAGE_ID"
[[ -z "$SORT_KEY" ]] && SORT_KEY="$ID"
[[ -z $SORT_KEY ]] && SORT_KEY="$ID"

if [[ ${KERNEL_INSTALL_MACHINE_ID+x} ]]; then
MACHINE_ID=$KERNEL_INSTALL_MACHINE_ID
Expand Down Expand Up @@ -142,7 +142,7 @@ case "$COMMAND" in
echo "title $PRETTY_NAME - Rescue Image"
echo "version $KERNEL_VERSION"
echo "machine-id $MACHINE_ID"
[[ -n "$SORT_KEY" ]] && echo "sort-key $SORT_KEY"
[[ -n $SORT_KEY ]] && echo "sort-key $SORT_KEY"
echo "options ${BOOT_OPTIONS[*]} rd.auto=1"
echo "linux $BOOT_DIR/linux"
echo "initrd $BOOT_DIR/initrd"
Expand Down
7 changes: 7 additions & 0 deletions man/dracut.conf.5.asc
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,13 @@ Logging levels:
If set to _yes_, try to execute tasks in parallel (currently only supported
for _--regenerate-all_).

*force_output_file=*"__{yes|no}__"::
If set to _yes_, require to specify a file path for the generated initramfs
image, disabling automatic guessing of the location (default=no).
In some complex scenarios, distribution owners may want to disable the logic
for guessing the location of the output file, to prevent users from calling
dracut directly to create useless initramfs that won't be used at boot.

Files
-----
_/etc/dracut.conf_::
Expand Down
2 changes: 1 addition & 1 deletion man/dracut.modules.7.asc
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ hook _insmodpost.sh_ in the _initqueue/settled_.
_parse-insmodpost.sh_:
----
for p in $(getargs rd.driver.post=); do
echo "blacklist $p" >> /etc/modprobe.d/initramfsblacklist.conf
echo "blacklist $p" >> /run/modprobe.d/initramfsblacklist.conf
_do_insmodpost=1
done

Expand Down
3 changes: 3 additions & 0 deletions modules.d/00systemd/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ install() {
"$systemdsystemunitdir"/system.slice \
"$systemdsystemunitdir"/-.slice \
"$tmpfilesdir"/systemd.conf \
"$tmpfilesdir"/20-systemd-stub.conf \
journalctl systemctl \
echo swapoff \
kmod insmod rmmod modprobe modinfo depmod lsmod \
Expand Down Expand Up @@ -264,6 +265,8 @@ EOF
# Install library file(s)
_arch=${DRACUT_ARCH:-$(uname -m)}
inst_libdir_file \
{"tls/$_arch/",tls/,"$_arch/",}"libgcrypt.so*" \
{"tls/$_arch/",tls/,"$_arch/",}"libkmod.so*" \
{"tls/$_arch/",tls/,"$_arch/",}"libnss_*" \
{"tls/$_arch/",tls/,"$_arch/",}"systemd/libsystemd*.so"

Expand Down
2 changes: 1 addition & 1 deletion modules.d/01fips/fips-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh

if ! fipsmode=$(getarg fips) || [ "$fipsmode" = "0" ]; then
rm -f -- /etc/modprobe.d/fips.conf > /dev/null 2>&1
:
elif [ -z "$fipsmode" ]; then
die "FIPS mode have to be enabled by 'fips=1' not just 'fips'"
elif getarg boot= > /dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion modules.d/01fips/fips-load-crypto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh

if ! fipsmode=$(getarg fips) || [ "$fipsmode" = "0" ]; then
rm -f -- /etc/modprobe.d/fips.conf > /dev/null 2>&1
:
elif [ -z "$fipsmode" ]; then
die "FIPS mode have to be enabled by 'fips=1' not just 'fips'"
else
Expand Down
2 changes: 1 addition & 1 deletion modules.d/01fips/fips-noboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh

if ! fipsmode=$(getarg fips) || [ "$fipsmode" = "0" ]; then
rm -f -- /etc/modprobe.d/fips.conf > /dev/null 2>&1
:
elif [ -z "$fipsmode" ]; then
die "FIPS mode have to be enabled by 'fips=1' not just 'fips'"
elif ! [ -f /tmp/fipsdone ]; then
Expand Down
6 changes: 4 additions & 2 deletions modules.d/01fips/fips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ fips_load_crypto() {
read -d '' -r FIPSMODULES < /etc/fipsmodules

fips_info "Loading and integrity checking all crypto modules"
mv /etc/modprobe.d/fips.conf /etc/modprobe.d/fips.conf.bak
for _module in $FIPSMODULES; do
if [ "$_module" != "tcrypt" ]; then
if ! nonfatal_modprobe "${_module}" 2> /tmp/fips.modprobe_err; then
Expand Down Expand Up @@ -172,7 +171,10 @@ fips_load_crypto() {
fi
fi
done
mv /etc/modprobe.d/fips.conf.bak /etc/modprobe.d/fips.conf
if [ -f /etc/fips.conf ]; then
mkdir -p /run/modprobe.d
cp /etc/fips.conf /run/modprobe.d/fips.conf
fi

fips_info "Self testing crypto algorithms"
modprobe tcrypt || return 1
Expand Down
5 changes: 1 addition & 4 deletions modules.d/01fips/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,10 @@ installkernel() {
_fipsmodules+="aead cryptomgr tcrypt crypto_user "
fi

# shellcheck disable=SC2174
mkdir -m 0755 -p "${initdir}/etc/modprobe.d"

for _mod in $_fipsmodules; do
if hostonly='' instmods -c -s "$_mod"; then
echo "$_mod" >> "${initdir}/etc/fipsmodules"
echo "blacklist $_mod" >> "${initdir}/etc/modprobe.d/fips.conf"
echo "blacklist $_mod" >> "${initdir}/etc/fips.conf"
fi
done

Expand Down
13 changes: 13 additions & 0 deletions modules.d/01systemd-ask-password/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ check() {
# Module dependency requirements.
depends() {

if [[ $hostonly ]]; then
# A password cannot be entered if there is no graphical output during boot,
# as is the case in aarch64, where efifb does not work with qemu-system-aarch64:
# - virtio-gpu-pci does not expose a linear framebuffer
# - virtio-vga is not supported
# - ramfb is not enough
# Therefore, depend on the drm module if virtio_gpu is loaded on the system.
if [[ ${DRACUT_ARCH:-$(uname -m)} == arm* || ${DRACUT_ARCH:-$(uname -m)} == aarch64 ]] \
&& grep -r -q "virtio:d00000010v" /sys/bus/virtio/devices/*/modalias 2> /dev/null; then
echo drm
fi
fi

# Return 0 to include the dependent module(s) in the initramfs.
return 0

Expand Down
7 changes: 7 additions & 0 deletions modules.d/01systemd-coredump/initrd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file is part of dracut systemd-coredump module.
# SPDX-License-Identifier: GPL-2.0-or-later
#
# "external" (/var) is usually not mounted in the initrd, so it will not persist

[Coredump]
Storage=journal
10 changes: 9 additions & 1 deletion modules.d/01systemd-coredump/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ depends() {
# Install the required file(s) and directories for the module in the initramfs.
install() {

inst_dir /var/lib/systemd/coredump
inst_simple "$moddir/initrd.conf" "$systemdutildir/coredump.conf.d/initrd.conf"

inst_multiple -o \
"$sysctld"/50-coredump.conf \
"$systemdutildir"/coredump.conf \
Expand All @@ -41,6 +42,13 @@ install() {
"$sysusers"/systemd-coredump.conf \
coredumpctl

# Install library file(s)
_arch=${DRACUT_ARCH:-$(uname -m)}
inst_libdir_file \
{"tls/$_arch/",tls/,"$_arch/",}"liblz4.so.*" \
{"tls/$_arch/",tls/,"$_arch/",}"liblzma.so.*" \
{"tls/$_arch/",tls/,"$_arch/",}"libzstd.so.*"

# Install the hosts local user configurations if enabled.
if [[ $hostonly ]]; then
inst_multiple -H -o \
Expand Down
5 changes: 3 additions & 2 deletions modules.d/01systemd-journald/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ install() {
# Install library file(s)
_arch=${DRACUT_ARCH:-$(uname -m)}
inst_libdir_file \
{"tls/$_arch/",tls/,"$_arch/",}"libgcrypt.so*" \
{"tls/$_arch/",tls/,"$_arch/",}"liblz4.so.*" \
{"tls/$_arch/",tls/,"$_arch/",}"libzstd.so.*" \
{"tls/$_arch/",tls/,"$_arch/",}"liblzma.so.*"
{"tls/$_arch/",tls/,"$_arch/",}"liblzma.so.*" \
{"tls/$_arch/",tls/,"$_arch/",}"libzstd.so.*"

# Install the hosts local user configurations if enabled.
if [[ $hostonly ]]; then
Expand Down
Loading
Loading