🇳🇦🇲🇪♯➤ premium290.web-hosting.com 🇻♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾♯➤ 2025
𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.105
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/lib/dracut/modules.d/99squash//module-setup.sh
#!/bin/bash
check() {
require_binaries mksquashfs unsquashfs || return 1
for i in CONFIG_SQUASHFS CONFIG_BLK_DEV_LOOP CONFIG_OVERLAY_FS ; do
if ! check_kernel_config $i; then
dinfo "dracut-squash module requires kernel configuration $i (y or m)"
return 1
fi
done
return 255
}
depends() {
echo "systemd-initrd"
return 0
}
installpost() {
local _busybox
_busybox=$(find_binary busybox)
# Move everything under $initdir except $squash_dir
# itself into squash image
for i in "$initdir"/*; do
[[ "$squash_dir" == "$i"/* ]] || mv "$i" "$squash_dir"/
done
# Create mount points for squash loader
mkdir -p "$initdir"/squash/
mkdir -p "$squash_dir"/squash/
# Copy dracut spec files out side of the squash image
# so dracut rebuild and lsinitrd can work
mkdir -p "$initdir/usr/lib/dracut/"
for file in "$squash_dir"/usr/lib/dracut/*; do
[[ -f $file ]] || continue
cp "$file" "$initdir/${file#$squash_dir}"
done
# Install required modules and binaries for the squash image init script.
if [[ $_busybox ]]; then
inst "$_busybox" /usr/bin/busybox
for _i in sh echo mount modprobe mkdir switch_root grep umount; do
ln_r /usr/bin/busybox /usr/bin/$_i
done
else
DRACUT_RESOLVE_DEPS=1 inst_multiple sh mount modprobe mkdir switch_root grep umount
# libpthread workaround: pthread_cancel wants to dlopen libgcc_s.so
inst_libdir_file -o "libgcc_s.so*"
# FIPS workaround for Fedora/RHEL: libcrypto needs libssl when FIPS is enabled
[[ $DRACUT_FIPS_MODE ]] && inst_libdir_file -o "libssl.so*"
fi
hostonly="" instmods "loop" "squashfs" "overlay"
dracut_kernel_post
# Install squash image init script.
ln_r /usr/bin /bin
ln_r /usr/sbin /sbin
inst_simple "$moddir"/init-squash.sh /init
# make sure that library links are correct and up to date for squash loader
build_ld_cache
}
install() {
if [[ $DRACUT_SQUASH_POST_INST ]]; then
installpost
fi
}
| 𝗡𝗔𝗠𝗘 |
𝗦𝗜𝗭𝗘 |
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛 |
𝗨𝗦𝗘𝗥 |
𝗦𝗧𝗔𝗧𝗨𝗦 |
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦 |
| .. | -- | 18 Jun 2026 9.21 AM | root / root | 0755 | |
| | | | | |
| .shchkdir | 0 KB | 18 Jun 2026 9.20 AM | root / root | 0644 | |
| init-squash.sh | 1.123 KB | 18 Jun 2026 9.20 AM | root / root | 0755 | |
| module-setup.sh | 2.074 KB | 18 Jun 2026 9.20 AM | root / root | 0644 | |