INFO | Intializing class: InitramfsGenerator INFO | Intializing class: InitramfsConfigDict INFO | Module version: 2.1.0 INFO | Processing module: ugrd.base.base INFO | Processing module: ugrd.base.core INFO | Adding library path: /usr/lib64 INFO | Processing module: ugrd.fs.mounts INFO | Processing module: ugrd.base.cmdline INFO | Processing module: ugrd.kmod.kmod INFO | Processing module: ugrd.fs.cpio INFO | Processing module: ugrd.base.checks INFO | Loading config file: /etc/ugrd/config.toml INFO | Processing module: ugrd.kmod.standard_mask INFO | Processing module: ugrd.kmod.nosound INFO | Processing module: ugrd.kmod.novideo INFO | Processing module: ugrd.kmod.nonetwork INFO | Building initramfs INFO | Detected init at: /usr/bin/init WARNING | 'ugrd.fs.fakeudev' may be required if systemd mounts stall on boot. INFO | Build directory does not exist, skipping cleaning: /tmp/initramfs_build INFO | Source path for libgcc_s: /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 INFO | Found device mapper devices: dm-0 INFO | Auto-enabling kernel modules for device: dm_mod INFO | Autodetected mount type: btrfs INFO | [root] Autodetected mount source: uuid=e453674b-b040-488a-8efd-03b28e1a9d60 INFO | [mounts] Updating mount: root INFO | Auto-enabling module: btrfs INFO | Processing module: ugrd.fs.btrfs INFO | Dumping config dict: modules: - ugrd.base.core - ugrd.fs.mounts - ugrd.base.cmdline - ugrd.kmod.kmod - ugrd.fs.cpio - ugrd.base.checks - ugrd.base.base - ugrd.kmod.nosound - ugrd.kmod.novideo - ugrd.kmod.nonetwork - ugrd.kmod.standard_mask imports: config_processing: - - - - - - - - - - - - - - - - - - - - - - - - build_pre: - - - - - - - - - - - - - - - - init_final: - functions: - - - - - - - - - - - - - - - build_tasks: - - - - - - - - - - - - build_final: - - init_pre: - - - - init_early: - init_mount_late: - init_mount: - pack: - checks: - - - - - init_premount: - - - validated: True custom_parameters: init_target: autodetect_init: shebang: hostonly: validate: _custom_init_file: tmpdir: build_dir: build_logging: _build_log_level: symlinks: dependencies: opt_dependencies: xz_dependencies: gz_dependencies: library_paths: find_libgcc: binaries: copies: nodes: paths: masks: out_dir: out_file: old_count: clean: banner: mounts: late_mounts: late_fstab: auto_mounts: mount_wait: mount_timeout: mount_retries: mount_cmd: autodetect_root: autodetect_root_dm: autodetect_root_luks: autodetect_root_lvm: autodetect_init_mount: resolve_root_dev: _mounts: _dm_info: _blkid_info: exports: _init_mount: _kmod_removed: _kmod_modinfo: _kmod_auto: _kmod_dir: _kernel_config_file: kernel_version: kmod_ignore: kmod_pull_firmware: kmod_decompress_firmware: kmod_ignore_softdeps: kmod_autodetect_lsmod: kmod_autodetect_lspci: kernel_modules: kmod_init: no_kmod: cpio_rotate: mknod_cpio: cpio_compression: _archive_out_path: _cpio_archive: check_cpio: check_in_cpio: check_included_funcs: check_in_file: _base_mount_path: root_subvol: subvol_selector: autodetect_root_subvol: custom_processing: _process_init_target: _process_autodetect_init: _process_build_logging: _process_out_file: _process_binaries_multi: _process_dependencies_multi: _process_opt_dependencies_multi: _process_xz_dependencies_multi: _process_gz_dependencies_multi: _process_copies_multi: _process_symlinks_multi: _process_nodes_multi: _process_paths_multi: _process_masks_multi: _process_hostonly: _process_validate: _process_mounts_multi: _process_late_mounts_multi: _process_mount_timeout: _process_kmod_init_multi: _process_kernel_modules_multi: _process__kmod_auto_multi: _process_root_subvol: _process_subvol_selector: _processing: init_target: /usr/lib/systemd/systemd autodetect_init: True shebang: #!/bin/bash -l hostonly: True validate: True _custom_init_file: tmpdir: /tmp build_dir: initramfs_build build_logging: False _build_log_level: 10 symlinks: _auto_libreadline.so.8: source: /usr/lib64/libreadline.so.8.2 target: /usr/lib64/libreadline.so.8 _auto_libtinfow.so.6: source: /usr/lib64/libtinfow.so.6.4 target: /usr/lib64/libtinfow.so.6 _auto_libtinfo.so.6: source: /usr/lib64/libtinfo.so.6.4 target: /usr/lib64/libtinfo.so.6 _auto_libblkid.so.1: source: /usr/lib64/libblkid.so.1.1.0 target: /usr/lib64/libblkid.so.1 _auto_libmount.so.1: source: /usr/lib64/libmount.so.1.1.0 target: /usr/lib64/libmount.so.1 _auto_libsmartcols.so.1: source: /usr/lib64/libsmartcols.so.1.1.0 target: /usr/lib64/libsmartcols.so.1 _auto_libudev.so.1: source: /usr/lib64/libudev.so.1.7.8 target: /usr/lib64/libudev.so.1 _auto_libcap.so.2: source: /usr/lib64/libcap.so.2.70 target: /usr/lib64/libcap.so.2 _auto_modprobe: source: /usr/bin/kmod target: /usr/bin/modprobe _auto_libzstd.so.1: source: /usr/lib64/libzstd.so.1.5.6 target: /usr/lib64/libzstd.so.1 _auto_liblzma.so.5: source: /usr/lib64/liblzma.so.5.6.2 target: /usr/lib64/liblzma.so.5 _auto_libz.so.1: source: /usr/lib64/libz.so.1.3.1 target: /usr/lib64/libz.so.1 _auto_awk: source: /usr/bin/gawk target: /usr/bin/awk _auto_libpcre2-8.so.0: source: /usr/lib64/libpcre2-8.so.0.13.0 target: /usr/lib64/libpcre2-8.so.0 _auto_libacl.so.1: source: /usr/lib64/libacl.so.1.1.2302 target: /usr/lib64/libacl.so.1 _auto_libattr.so.1: source: /usr/lib64/libattr.so.1.1.2502 target: /usr/lib64/libattr.so.1 dependencies: - /bin/bash - /lib64/ld-linux-x86-64.so.2 - /usr/lib64/libreadline.so.8.2 - /usr/lib64/libtinfow.so.6.4 - /usr/lib64/libtinfo.so.6.4 - /usr/lib64/libc.so.6 - /usr/bin/lsblk - /usr/lib64/libblkid.so.1.1.0 - /usr/lib64/libmount.so.1.1.0 - /usr/lib64/libsmartcols.so.1.1.0 - /usr/lib64/libudev.so.1.7.8 - /usr/lib64/libcap.so.2.70 - /usr/bin/blkid - /usr/lib64/libblkid.so.1 - /usr/bin/mount - /usr/lib64/libmount.so.1 - /usr/bin/sleep - /usr/bin/umount - /usr/bin/mkdir - /usr/bin/kmod - /usr/lib64/libzstd.so.1.5.6 - /usr/lib64/liblzma.so.5.6.2 - /usr/lib64/libz.so.1.3.1 - /usr/bin/gawk - /usr/lib64/libreadline.so.8 - /usr/lib64/libtinfow.so.6 - /usr/lib64/libm.so.6 - /usr/bin/grep - /usr/lib64/libpcre2-8.so.0.13.0 - /usr/bin/ls - /usr/bin/cp - /usr/lib64/libacl.so.1.1.2302 - /usr/lib64/libattr.so.1.1.2502 - /usr/bin/cat - /usr/bin/switch_root - /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 opt_dependencies: xz_dependencies: gz_dependencies: library_paths: - /lib64 - /usr/lib64 - /usr/lib/gcc/x86_64-pc-linux-gnu/13 find_libgcc: True binaries: - /bin/bash - lsblk - blkid - mount - sleep - umount - mkdir - modprobe - awk - grep - ls - cp - cat - switch_root copies: nodes: console: mode: 420 major: 5 minor: 1 path: dev/console paths: - target_rootfs - proc - sys - dev - run - root masks: out_dir: /tmp/initramfs_out out_file: old_count: 1 clean: True banner: einfo "UGRD v$(readvar VERSION)" mounts: root: options: + ro destination: /target_rootfs base_mount: False proc: type: proc path: proc options: + nosuid + noexec + nodev base_mount: True destination: /proc sys: type: sysfs path: sysfs options: + nosuid + noexec + nodev base_mount: True destination: /sys dev: type: devtmpfs path: devtmpfs options: + mode=0755 + nosuid base_mount: True destination: /dev run: type: tmpfs path: tmpfs base_mount: True destination: /run options: late_mounts: late_fstab: /etc/fstab.late auto_mounts: mount_wait: False mount_timeout: 0.0 mount_retries: 5 mount_cmd: autodetect_root: True autodetect_root_dm: True autodetect_root_luks: True autodetect_root_lvm: True autodetect_init_mount: True resolve_root_dev: False _mounts: /: device: /dev/mapper/root fstype: btrfs options: - rw - relatime - ssd - space_cache=v2 - subvolid=5 - subvol=/ /proc: device: proc fstype: proc options: - rw - nosuid - nodev - noexec - relatime /sys: device: sys fstype: sysfs options: - ro - nosuid - nodev - noexec - relatime /sys/firmware/efi/efivars: device: efivarfs fstype: efivarfs options: - rw - nosuid - nodev - noexec - relatime /dev: device: udev fstype: devtmpfs options: - rw - nosuid - relatime - size=10240k - nr_inodes=1995385 - mode=755 - inode64 /dev/pts: device: devpts fstype: devpts options: - rw - nosuid - noexec - relatime - gid=5 - mode=620 - ptmxmode=000 /dev/shm: device: shm fstype: tmpfs options: - rw - nosuid - nodev - relatime - inode64 /run: device: run fstype: tmpfs options: - rw - nosuid - nodev - relatime - mode=755 - inode64 /tmp: device: tmp fstype: tmpfs options: - rw - nosuid - nodev - inode64 /etc/resolv.conf: device: LiveOS_rootfs fstype: overlay options: - rw - relatime - lowerdir=/run/rootfsbase - upperdir=/run/overlayfs - workdir=/run/ovlwork - uuid=on /boot: device: /dev/nvme0n1p2 fstype: ext4 options: - rw - noatime /efi: device: /dev/nvme0n1p1 fstype: vfat options: - rw - noatime - fmask=0022 - dmask=0022 - codepage=437 - iocharset=ascii - shortname=mixed - errors=remount-ro _dm_info: dm-0: name: root major: 253 minor: 0 holders: slaves: - nvme0n1p3 uuid: CRYPT-LUKS2-0f6d9fc83ac44b5bb31b467af6ff02a2-root _blkid_info: /dev/nvme0n1p3: uuid: 0f6d9fc8-3ac4-4b5b-b31b-467af6ff02a2 partuuid: eb085cd7-4c66-43cb-98ca-fa5a50d356a6 type: crypto_LUKS /dev/nvme0n1p1: uuid: 0366-8C5B partuuid: b60aa473-e4ad-4f89-a0b2-c1bb8884fb92 type: vfat /dev/nvme0n1p2: uuid: b22e9f8d-68c8-4d9d-90b5-918d357ef1cb partuuid: d60d90b9-b3d4-4f3e-90a5-f942a9826646 label: boot type: ext4 /dev/loop0: type: squashfs /dev/mapper/root: uuid: e453674b-b040-488a-8efd-03b28e1a9d60 label: rootfs type: btrfs /dev/sda1: uuid: 2024-09-29-18-06-10-00 partuuid: 5eca5c4a-01 label: Gentoo-amd64-20240929 type: iso9660 exports: init: /usr/lib/systemd/systemd _init_mount: _kmod_removed: _kmod_modinfo: _kmod_auto: _kmod_dir: . _kernel_config_file: . kernel_version: kmod_ignore: - snd - soundcore - pcspkr - snd_hda_core - snd_hda_codec - snd_hda_ext_core - snd_hwdep - snd_timer - snd_hrtimer - snd_pcm - snd_rawmidi - snd_seq_device - snd_seq - snd_seq_dummy - snd_ump - snd_usb_audio - snd_usbmidi_lib - snd_soc_core - snd_soc_acpi - snd_acp_config - snd_soc_acpi_intel_match - snd_sof - snd_sof_utils - snd_sof_pci - snd_sof_xtensa_dsp - snd_sof_intel_hda - snd_sof_intel_hda_common - snd_hda_intel - snd_intel_sdw_acpi - snd_intel_dspcfg - ac97_bus - snd_rpl_pci_acp6x - snd_rn_pci_acp3x - snd_pci_acp3x - snd_hda_codec_hdmi - soundwire_cadence - soundwire_bus - soundwire_generic_allocation - ledtrig_audio - video - videodev - ttm - gpu_sched - uvcvideo - uvc - drm_kms_helper - drm_display_helper - drm_buddy - drm_ttm_helper - amdgpu - radeon - amdxcp - nouveau - nvidia - nvidia_drm - ast - mgag200 - videobuf2_common - videobuf2_v4l2 - drm_suballoc_helper - videobuf2_vmalloc - videobuf2_memops - rfkill - bluetooth - cfg80211 - mac80211 - iwlwifi - iwlmvm - btusb - btintel - btrtl - btbcm - btmtk - mt76 - mt76x2_common - mt7921_common - mt76x0_common - mt76_usb - mt76x02_lib - cdc_acm - cdc_ncm - cdc_wdm - cdc_ether - stp - 8021q - llc - garp - mrp - bridge - bonding - r8169 - r8152 - r8153_ecm - igb - ixgbe - tg3 - e1000e - e1000 - tun - tap - wireguard - udp_tunnel - ip6_udp_tunnel - net_failover - failover - vhost_net - usbnet - tls - sctp - rtl2832 - r820t - dvb_usb_rtl28xxu - dvb_core - dvb_usb_v2 - grace - nfs_acl - nfsd - lockd - sunrpc - auth_rpcgss - nfs - netfs - nf_nat - nfnetlink - nfnetlink_queue - nfnetlink_log - nf_conntrack - nf_conntrack_netlink - nf_defrag_ipv4 - nf_defrag_ipv6 - nf_reject_ipv4 - nf_reject_ipv6 - iptable_filter - ip_tables - ip6table_filter - ip6_tables - xt_MASQUERADE - xt_conntrack - xt_CHECKSUM - xt_addrtype - xt_comment - xt_mark - xt_multiport - xt_nat - xt_recent - xt_set - xt_tcpudp - xt_u32 - ip6table_nat - iptable_nat - iptable_mangle - ip6table_mangle - ipt_REJECT - ip6t_REJECT - kvm - kvm_amd - kvm_intel - ch341 - cp210x - joydev - binfmt_misc - wmi - xpad - coretemp - x86_pkg_temp_thermal - k10temp - iTCO_wdt - iTCO_vendor_support - sp5100_tco - intel_qat - intel_powerclamp - intel_cstate - rapl - intel_rapl_common - intel_rapl_msr - intel_pmc_bxt - i2c_piix4 - spi_intel_pci - i2c_ismt - i2c_i801 kmod_pull_firmware: True kmod_decompress_firmware: True kmod_ignore_softdeps: False kmod_autodetect_lsmod: False kmod_autodetect_lspci: True kernel_modules: - dm_mod kmod_init: - dm_mod no_kmod: False cpio_rotate: True mknod_cpio: True cpio_compression: xz _archive_out_path: . _cpio_archive: check_cpio: True check_in_cpio: check_included_funcs: True check_in_file: _base_mount_path: . root_subvol: subvol_selector: False autodetect_root_subvol: False ERROR | 'btrfs' not found in PATH Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/ugrd/main.py", line 64, in main generator.build() File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 78, in build self.run_hook(hook) File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 120, in run_hook if function_output := self.run_func(function, *args, **kwargs): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 89, in run_func if function_output := function(self): ^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/zenlib/util/dict_check.py", line 31, in _contains return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/zenlib/util/dict_check.py", line 31, in _contains return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/fs/mounts.py", line 442, in autodetect_root _autodetect_mount(self, '/') File "/usr/lib/python3.12/site-packages/ugrd/fs/mounts.py", line 472, in _autodetect_mount self['mounts'] = mount_config ~~~~^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_generator.py", line 56, in __setitem__ self.config_dict[key] = value ~~~~~~~~~~~~~~~~^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_dict.py", line 60, in __setitem__ return self.handle_parameter(key, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_dict.py", line 110, in handle_parameter return handle_plural(func)(self, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/zenlib/util/handle_plural.py", line 35, in wrapper function(self, *(other_args + (key, value,))) File "/usr/lib/python3.12/site-packages/ugrd/fs/mounts.py", line 110, in _process_mounts_multi _process_mount(self, mount_name, mount_config) File "/usr/lib/python3.12/site-packages/ugrd/fs/mounts.py", line 87, in _process_mount self['modules'] = 'ugrd.fs.btrfs' ~~~~^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_dict.py", line 60, in __setitem__ return self.handle_parameter(key, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_dict.py", line 91, in handle_parameter return getattr(self, f"_process_{key}")(value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/zenlib/util/handle_plural.py", line 38, in wrapper return function(self, *args) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_dict.py", line 272, in _process_modules self[name] = value ~~~~^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_dict.py", line 60, in __setitem__ return self.handle_parameter(key, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/initramfs_dict.py", line 110, in handle_parameter return handle_plural(func)(self, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/zenlib/util/handle_plural.py", line 23, in wrapper function(self, *(other_args + (item,))) File "/usr/lib/python3.12/site-packages/ugrd/base/core.py", line 234, in _process_binaries_multi dependencies = calculate_dependencies(self, binary) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ugrd/base/core.py", line 48, in calculate_dependencies raise RuntimeError("'%s' not found in PATH" % binary) RuntimeError: 'btrfs' not found in PATH