2024-04-15T14:07:32,332 Created temporary directory: /tmp/pip-build-tracker-m5s4jrqf 2024-04-15T14:07:32,333 Initialized build tracking at /tmp/pip-build-tracker-m5s4jrqf 2024-04-15T14:07:32,334 Created build tracker: /tmp/pip-build-tracker-m5s4jrqf 2024-04-15T14:07:32,334 Entered build tracker: /tmp/pip-build-tracker-m5s4jrqf 2024-04-15T14:07:32,335 Created temporary directory: /tmp/pip-wheel-n4nrapvz 2024-04-15T14:07:32,340 Created temporary directory: /tmp/pip-ephem-wheel-cache-o0zhpqni 2024-04-15T14:07:32,362 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-04-15T14:07:32,366 2 location(s) to search for versions of funtoo-ramdisk: 2024-04-15T14:07:32,366 * https://pypi.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,366 * https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,367 Fetching project page and analyzing links: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,367 Getting page https://pypi.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,369 Found index url https://pypi.org/simple/ 2024-04-15T14:07:32,640 Fetched page https://pypi.org/simple/funtoo-ramdisk/ as application/vnd.pypi.simple.v1+json 2024-04-15T14:07:32,644 Found link https://files.pythonhosted.org/packages/d3/2f/2d92b7aef92983cdfbe7e0809b00e5ffa9ff699c73ad53e501b93dfd5e7f/funtoo-ramdisk-1.0.0.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.0 2024-04-15T14:07:32,645 Found link https://files.pythonhosted.org/packages/f7/ce/2b2669f5181ad3da55bdb4c0b7e78f1a1f02a52cf6f4d26da363b98b0ff6/funtoo-ramdisk-1.0.1.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.1 2024-04-15T14:07:32,646 Found link https://files.pythonhosted.org/packages/f9/fa/646343cf9f6313cf3808fc13d1f0e047a0f044afbdd7c60d76613a4da543/funtoo-ramdisk-1.0.2.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.2 2024-04-15T14:07:32,647 Found link https://files.pythonhosted.org/packages/33/8b/67d6030fe5aca53d240d6f4fb5cc6319918ed0c9310866a074c27ceebdf7/funtoo-ramdisk-1.0.3.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.3 2024-04-15T14:07:32,648 Found link https://files.pythonhosted.org/packages/3f/13/0c6d2f9e8ae74fe6fc8a290bfbb7b389818e7a7b82d158ff20e9251e5c89/funtoo-ramdisk-1.0.4.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.4 2024-04-15T14:07:32,648 Found link https://files.pythonhosted.org/packages/b2/7e/d3590830418ed3e696c6e922ead5a50daee4c8c2136b315153fcee0377a2/funtoo-ramdisk-1.0.5.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.5 2024-04-15T14:07:32,649 Found link https://files.pythonhosted.org/packages/ed/be/18b4d837c37a78a43accd3347db70d3dc5bafd48b668d1f45d1b92172a00/funtoo-ramdisk-1.0.6.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.6 2024-04-15T14:07:32,650 Found link https://files.pythonhosted.org/packages/5b/af/89829fafc0fdc46f515dcc45cac43a14a333f10703d9e77e2f07b75f9315/funtoo-ramdisk-1.0.7.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.0.7 2024-04-15T14:07:32,652 Found link https://files.pythonhosted.org/packages/7c/a6/12d689149a2f7695776cc1c97dba03d1baabbf2451e4bf7c28ccdd2ae4d3/funtoo-ramdisk-1.1.0.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.0 2024-04-15T14:07:32,653 Found link https://files.pythonhosted.org/packages/cd/f2/c7a93f91f1c06e4e7697f4cb1af5ff1afa2e7e20c8ba456c0b6820a1e9ca/funtoo-ramdisk-1.1.1.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.1 2024-04-15T14:07:32,653 Found link https://files.pythonhosted.org/packages/5c/80/ca623eaa36c300bb5ae15cafcc2e31d47cd6c3b8e6fda88377ba1dce4daa/funtoo-ramdisk-1.1.2.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.2 2024-04-15T14:07:32,654 Found link https://files.pythonhosted.org/packages/71/ee/28d91ae310a7a95ed7ba0ef51c19acc865ff5241180c22a0523f79e3c434/funtoo-ramdisk-1.1.3.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.3 2024-04-15T14:07:32,656 Found link https://files.pythonhosted.org/packages/58/6e/6870840ee61954a50a065a346153b1346608b4bf083aaf4f825e77318e90/funtoo-ramdisk-1.1.4.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.4 2024-04-15T14:07:32,657 Found link https://files.pythonhosted.org/packages/ae/7d/97e4fb2652319c7a1d66b54f0145546d9a76d8955041931bc78fba6d6ab9/funtoo-ramdisk-1.1.5.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.5 2024-04-15T14:07:32,658 Found link https://files.pythonhosted.org/packages/f3/67/b3bf3836d65feca182c4912891b0536f85915d62dc8ac4cd26ddb1504c08/funtoo_ramdisk-1.1.6.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.6 2024-04-15T14:07:32,658 Fetching project page and analyzing links: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,659 Getting page https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,660 Found index url https://www.piwheels.org/simple/ 2024-04-15T14:07:32,821 Fetched page https://www.piwheels.org/simple/funtoo-ramdisk/ as text/html 2024-04-15T14:07:32,826 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.5-py3-none-any.whl#sha256=bf0be2ea4c9e906d7c8622d4ce42c76d5eb9d6b477c7d856bc3e9f9e34a14b5a (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,827 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.3-py3-none-any.whl#sha256=0f98fea7a4892de73fc0dae0f4762ff9834011b43acd8b146ebd15a770df75e2 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,827 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.2-py3-none-any.whl#sha256=3d74e5ebfd1cccc7b8f485c95d434ef9e8bc1a4716f8a22b08a259452a4c73bc (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,828 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.1-py3-none-any.whl#sha256=ad2dcafb5a8dceeea14bdbede73669479db69fb3cca89c6392aa3c2e688b15c0 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,828 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.0-py3-none-any.whl#sha256=1a4604cec4d133454e7d49d6b8046ecac63c5d35bee972e0b83d7c642519b1fe (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,829 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.7-py3-none-any.whl#sha256=1d5973cefc4213fd86b3c2d588147d819d85b297838aec0f76a7083c038f897d (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,830 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.6-py3-none-any.whl#sha256=f40079c99c437f3949147af63efa1e16713bbe6101b4fde69e8de5ea434306e3 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,830 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.5-py3-none-any.whl#sha256=3451404b0e9f527100407bfd4f343cfe9197b5f6f9bab7e5f6494ce9ea2bafff (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,831 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.4-py3-none-any.whl#sha256=54c976a5a708a542266aa1f9c2584634ecaa529c6564bbef4c66d65012ced852 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,832 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.3-py3-none-any.whl#sha256=cde4241106db6ca7c0bd04d0f1817c5f352fc45c46e5b75df9b1cf0dcd977234 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,833 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.2-py3-none-any.whl#sha256=6e70627cb0da3859494b41255b0ba8bf164c16221b5779924cc3b5fd12a0a928 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,833 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.1-py3-none-any.whl#sha256=232a400779c3abd15ac70e995c47347a69f669d1ce4d4e4ced81b43b3a6b6c30 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,834 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.0.0-py3-none-any.whl#sha256=cb61659ae06f4e370b5de5a9a3e3041eeaaa193ec1b45e1a0948b75d7ca922f2 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-15T14:07:32,834 Skipping link: not a file: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,835 Skipping link: not a file: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-15T14:07:32,855 Given no hashes to check 1 links for project 'funtoo-ramdisk': discarding no candidates 2024-04-15T14:07:32,873 Collecting funtoo-ramdisk==1.1.6 2024-04-15T14:07:32,876 Created temporary directory: /tmp/pip-unpack-rlfh0q0y 2024-04-15T14:07:33,088 Downloading funtoo_ramdisk-1.1.6.tar.gz (38 kB) 2024-04-15T14:07:33,204 Added funtoo-ramdisk==1.1.6 from https://files.pythonhosted.org/packages/f3/67/b3bf3836d65feca182c4912891b0536f85915d62dc8ac4cd26ddb1504c08/funtoo_ramdisk-1.1.6.tar.gz to build tracker '/tmp/pip-build-tracker-m5s4jrqf' 2024-04-15T14:07:33,206 Running setup.py (path:/tmp/pip-wheel-n4nrapvz/funtoo-ramdisk_5b4773ecf67b42429f121d35b63d426e/setup.py) egg_info for package funtoo-ramdisk 2024-04-15T14:07:33,207 Created temporary directory: /tmp/pip-pip-egg-info-z2ag0n29 2024-04-15T14:07:33,207 Preparing metadata (setup.py): started 2024-04-15T14:07:33,208 Running command python setup.py egg_info 2024-04-15T14:07:33,628 ========= 2024-04-15T14:07:33,628 ramdisk 2024-04-15T14:07:33,628 ========= 2024-04-15T14:07:33,630 -------------------------------------------------- 2024-04-15T14:07:33,630 create a bootable initial ramdisk 2024-04-15T14:07:33,631 -------------------------------------------------- 2024-04-15T14:07:33,632 :Author: Daniel Robbins 2024-04-15T14:07:33,633 :Copyright: Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-15T14:07:33,633 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-15T14:07:33,634 you may not use this file except in compliance with the License. 2024-04-15T14:07:33,635 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-15T14:07:33,635 :Version: 1.1.6 2024-04-15T14:07:33,636 :Manual section: 8 2024-04-15T14:07:33,637 :Manual group: Funtoo Linux 2024-04-15T14:07:33,638 SYNOPSIS 2024-04-15T14:07:33,639 ======== 2024-04-15T14:07:33,640 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-15T14:07:33,641 ``ramdisk`` list kernels 2024-04-15T14:07:33,642 ``ramdisk`` list plugins 2024-04-15T14:07:33,644 DESCRIPTION 2024-04-15T14:07:33,644 =========== 2024-04-15T14:07:33,645 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-15T14:07:33,646 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-15T14:07:33,647 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-15T14:07:33,648 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-15T14:07:33,649 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-15T14:07:33,649 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-15T14:07:33,650 documentation at https://www.funtoo.org/Install. 2024-04-15T14:07:33,651 CAPABILITIES 2024-04-15T14:07:33,651 ============ 2024-04-15T14:07:33,652 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-15T14:07:33,652 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-15T14:07:33,653 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-15T14:07:33,653 of functions in a support file. 2024-04-15T14:07:33,654 * Copies over the modules you specify -- and automatically figures out any 2024-04-15T14:07:33,654 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-15T14:07:33,655 This eliminates the need to track these dependencies manually. 2024-04-15T14:07:33,655 * Rootless operation. You do not need enhanced privileges to create the 2024-04-15T14:07:33,656 initramfs. 2024-04-15T14:07:33,657 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-15T14:07:33,657 It is written to be easy to understand and adapt. So it's not just short, 2024-04-15T14:07:33,658 but easy to grasp. 2024-04-15T14:07:33,658 * Enhanced module loading engine on the initramfs which is significantly 2024-04-15T14:07:33,659 faster than genkernel. This effectively eliminates the "watching the 2024-04-15T14:07:33,659 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-15T14:07:33,660 systems with NVMe drives will load just a handful of modules to boot 2024-04-15T14:07:33,661 -- all without requiring any special action from the user. 2024-04-15T14:07:33,662 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-15T14:07:33,662 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-15T14:07:33,663 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-15T14:07:33,664 these necessary modules, leaving all other modules to be loaded by 2024-04-15T14:07:33,664 your Funtoo Linux system. 2024-04-15T14:07:33,665 * Effective Python-based command to actually build the ramdisk, which is 2024-04-15T14:07:33,666 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-15T14:07:33,667 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-15T14:07:33,668 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-15T14:07:33,669 initramfs. 2024-04-15T14:07:33,670 * Support for xz and zstd compression. 2024-04-15T14:07:33,671 ACTIONS 2024-04-15T14:07:33,671 ======= 2024-04-15T14:07:33,673 The default action is ``build``, and can be optionally specified, which will 2024-04-15T14:07:33,673 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-15T14:07:33,674 build 2024-04-15T14:07:33,675 ----- 2024-04-15T14:07:33,675 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-15T14:07:33,676 action requires a destination initramfs path. This will be the literal path and 2024-04-15T14:07:33,676 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-15T14:07:33,677 list 2024-04-15T14:07:33,678 ---- 2024-04-15T14:07:33,679 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-15T14:07:33,679 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-15T14:07:33,680 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-15T14:07:33,680 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-15T14:07:33,681 OPTIONS 2024-04-15T14:07:33,682 ======= 2024-04-15T14:07:33,683 --debug Enable debug output. 2024-04-15T14:07:33,684 --backtrace Display full python backtrace/traceback instead of just a 2024-04-15T14:07:33,684 short error summary. 2024-04-15T14:07:33,685 --force Overwrite target initramfs if it exists. 2024-04-15T14:07:33,685 --version Show this program's version number and exit. 2024-04-15T14:07:33,686 --help Show this help message and exit. 2024-04-15T14:07:33,686 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-15T14:07:33,686 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-15T14:07:33,687 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-15T14:07:33,687 kernels``. 2024-04-15T14:07:33,688 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-15T14:07:33,688 ``ramdisk list kernels`` to display available options. The 2024-04-15T14:07:33,689 default setting is to use the current value of the 2024-04-15T14:07:33,689 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-15T14:07:33,689 which kernel to build a ramdisk for. 2024-04-15T14:07:33,690 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-15T14:07:33,690 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-15T14:07:33,691 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-15T14:07:33,691 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-15T14:07:33,692 plugins. 2024-04-15T14:07:33,693 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-15T14:07:33,693 define what kernel modules get copied to the initramfs, and which ones 2024-04-15T14:07:33,694 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-15T14:07:33,694 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-15T14:07:33,695 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-15T14:07:33,695 will allow your root block device and filesystem to be mounted. For example, 2024-04-15T14:07:33,696 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-15T14:07:33,697 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-15T14:07:33,697 a special minimal kernel module config is used instead of what is specified 2024-04-15T14:07:33,698 via ``--kmod_config`` (see above). 2024-04-15T14:07:33,699 USAGE 2024-04-15T14:07:33,699 ===== 2024-04-15T14:07:33,700 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-15T14:07:33,702 $ ramdisk /var/tmp/my-new-initramfs 2024-04-15T14:07:33,702 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-15T14:07:33,703 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-15T14:07:33,704 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-15T14:07:33,704 extract kernel version information, and then find the appropriate directory in 2024-04-15T14:07:33,705 ``/lib/modules/`` for copying modules. You can type: 2024-04-15T14:07:33,706 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-15T14:07:33,706 for a non-default kernel. 2024-04-15T14:07:33,708 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-15T14:07:33,708 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-15T14:07:33,709 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-15T14:07:33,709 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-15T14:07:33,711 ChangeLog 2024-04-15T14:07:33,712 ========= 2024-04-15T14:07:33,713 funtoo-ramdisk 1.1.6 2024-04-15T14:07:33,713 -------------------- 2024-04-15T14:07:33,714 Released on April 14, 2024. 2024-04-15T14:07:33,715 This is a maintenance and minor features release. 2024-04-15T14:07:33,716 * Various minor bug fixes. 2024-04-15T14:07:33,716 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-15T14:07:33,717 self-explanatory. 2024-04-15T14:07:33,718 * Continue to flesh out the plugin system. I added support for 2024-04-15T14:07:33,718 plugins to have an activation script which will get executed 2024-04-15T14:07:33,719 on startup. This is a work in progress and I still need to 2024-04-15T14:07:33,719 add support for listing needed modules for a plugin which 2024-04-15T14:07:33,720 will get loaded automatically. 2024-04-15T14:07:33,721 * Fix a bug in argument parsing where the code was not scanning 2024-04-15T14:07:33,721 for invalid options which could result in odd parsing behavior. 2024-04-15T14:07:33,722 * Start adding support for udev. This is not yet completed but 2024-04-15T14:07:33,723 the plugin system for this has been incorporated into the 2024-04-15T14:07:33,723 linuxrc. 2024-04-15T14:07:33,725 funtoo-ramdisk 1.1.5 2024-04-15T14:07:33,726 -------------------- 2024-04-15T14:07:33,727 Released on September 15, 2023. 2024-04-15T14:07:33,728 This is a packaging fix for the manpage. 2024-04-15T14:07:33,730 funtoo-ramdisk 1.1.4 2024-04-15T14:07:33,730 -------------------- 2024-04-15T14:07:33,731 Released on September 15, 2023. 2024-04-15T14:07:33,732 This release adds a "ramdisk" man page. 2024-04-15T14:07:33,734 funtoo-ramdisk 1.1.3 2024-04-15T14:07:33,735 -------------------- 2024-04-15T14:07:33,736 Released on September 14, 2023. 2024-04-15T14:07:33,737 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-15T14:07:33,738 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-15T14:07:33,738 we were just running it to convieniently spit out the UUID for 2024-04-15T14:07:33,739 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-15T14:07:33,739 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-15T14:07:33,741 funtoo-ramdisk 1.1.2 2024-04-15T14:07:33,742 -------------------- 2024-04-15T14:07:33,743 Released on September 4, 2023. 2024-04-15T14:07:33,744 * Fix exit code (zero on success.) 2024-04-15T14:07:33,746 funtoo-ramdisk 1.1.1 2024-04-15T14:07:33,746 -------------------- 2024-04-15T14:07:33,748 Released on September 4, 2023. 2024-04-15T14:07:33,749 Fix three bugs: 2024-04-15T14:07:33,750 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-15T14:07:33,751 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-15T14:07:33,751 handle this situation gracefully. This situation may exist during 2024-04-15T14:07:33,752 metro builds on incomplete systems. (2 bugs fixed). 2024-04-15T14:07:33,754 funtoo-ramdisk 1.1.0 2024-04-15T14:07:33,754 -------------------- 2024-04-15T14:07:33,762 Released on September 3, 2023. 2024-04-15T14:07:33,765 * Add plugin system for ramdisk: 2024-04-15T14:07:33,766 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-15T14:07:33,767 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-15T14:07:33,768 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-15T14:07:33,769 just ensure necessary binaries are copied over (no extra setup commands 2024-04-15T14:07:33,770 are run by the initramfs.) 2024-04-15T14:07:33,771 This is a starting point for enabling support for advanced 2024-04-15T14:07:33,771 features on the initramfs. 2024-04-15T14:07:33,772 * New "module configurations". The default module configuration is "full", 2024-04-15T14:07:33,772 which means "make a ramdisk with lots of modules to support a lot of 2024-04-15T14:07:33,773 hardware." Different module configurations can be added in the future. 2024-04-15T14:07:33,773 Module configurations can be specified via ``--kmod_config=``. 2024-04-15T14:07:33,774 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-15T14:07:33,775 dynamic module configuration via the command-line, rather than via 2024-04-15T14:07:33,775 static config files. 2024-04-15T14:07:33,776 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-15T14:07:33,777 modules (and their dependencies) will be included. This can dramatically 2024-04-15T14:07:33,777 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-15T14:07:33,777 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-15T14:07:33,778 so it's only for known-good configurations. Enabling this feature also 2024-04-15T14:07:33,778 disables any static module configuration (see above.) 2024-04-15T14:07:33,779 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-15T14:07:33,780 created and programmatic decisions can be made. Previously, we used a 2024-04-15T14:07:33,781 static list. This allows us to use ``lvm.static`` if available, but 2024-04-15T14:07:33,781 fall back to dynamic ``lvm``, for example. 2024-04-15T14:07:33,782 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-15T14:07:33,783 basic name, not just via its full path or glob, was added to 2024-04-15T14:07:33,784 ``modules.copy``. 2024-04-15T14:07:33,785 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-15T14:07:33,785 as dynamically-generated line data rather than just as static files 2024-04-15T14:07:33,786 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-15T14:07:33,787 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-15T14:07:33,788 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-15T14:07:33,789 groups to determine these. 2024-04-15T14:07:33,790 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-15T14:07:33,790 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-15T14:07:33,791 prints the available kernel names which can be copy/pasted for the 2024-04-15T14:07:33,792 ``--kernel`` option. 2024-04-15T14:07:33,793 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-15T14:07:33,793 using. 2024-04-15T14:07:33,794 * Lots of code organized into their own ``.py`` files. 2024-04-15T14:07:33,795 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-15T14:07:33,796 set up at all if doing a metro build. 2024-04-15T14:07:33,797 * Disable colors if we don't have an interactive shell. 2024-04-15T14:07:33,799 funtoo-ramdisk 1.0.7 2024-04-15T14:07:33,799 -------------------- 2024-04-15T14:07:33,800 Released on August 22, 2023. 2024-04-15T14:07:33,801 Changes: 2024-04-15T14:07:33,803 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-15T14:07:33,803 specifies where modules *and* the kernel sources will be. This 2024-04-15T14:07:33,804 allows the tool to work from an ebuild. 2024-04-15T14:07:33,805 * Improve output and add nice colors. Optimize information to be 2024-04-15T14:07:33,805 more useful to users. 2024-04-15T14:07:33,807 funtoo-ramdisk 1.0.6 2024-04-15T14:07:33,808 -------------------- 2024-04-15T14:07:33,810 Released on August 21, 2023. 2024-04-15T14:07:33,811 Two new options: 2024-04-15T14:07:33,811 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-15T14:07:33,812 It defaults to ``/``. 2024-04-15T14:07:33,813 * ``--temp_root`` to set the default path to use for creating a 2024-04-15T14:07:33,813 temporary directory. It defaults to ``/var/tmp``. 2024-04-15T14:07:33,814 funtoo-ramdisk 1.0.5 2024-04-15T14:07:33,814 -------------------- 2024-04-15T14:07:33,815 Released on August 21, 2023. 2024-04-15T14:07:33,816 This is a features/maintenance/bug fix release. 2024-04-15T14:07:33,817 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-15T14:07:33,817 view in the git history, the following significant changes were 2024-04-15T14:07:33,818 made: 2024-04-15T14:07:33,819 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-15T14:07:33,819 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-15T14:07:33,820 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-15T14:07:33,820 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-15T14:07:33,821 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-15T14:07:33,821 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-15T14:07:33,822 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-15T14:07:33,822 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-15T14:07:33,823 ramdisk script. 2024-04-15T14:07:33,824 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-15T14:07:33,826 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-15T14:07:33,827 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-15T14:07:33,827 before starting a rescue shell, to give the kernel time to enumerate 2024-04-15T14:07:33,828 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-15T14:07:33,829 the problem of ``ash`` starting and not having any way to type, because 2024-04-15T14:07:33,829 it didn't connect to your main keyboard. 2024-04-15T14:07:33,830 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-15T14:07:33,831 prevent the root filesystem from being mounted (see FL-11532). 2024-04-15T14:07:33,832 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-15T14:07:33,832 this is not a good idea, and can cause problems if you have multiple 2024-04-15T14:07:33,833 disks. Show them how to fix the problem by switching to UUID. 2024-04-15T14:07:33,834 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-15T14:07:33,835 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-15T14:07:33,835 with a SATA disk. 2024-04-15T14:07:33,836 * To implement above feature, added a feature to allow masking of modules in 2024-04-15T14:07:33,837 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-15T14:07:33,837 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-15T14:07:33,838 wrong section, so it still gets included on the initramfs due to other 2024-04-15T14:07:33,839 section(s), we will warn you. 2024-04-15T14:07:33,841 funtoo-ramdisk 1.0.4 2024-04-15T14:07:33,841 -------------------- 2024-04-15T14:07:33,843 Released on August 18, 2023. 2024-04-15T14:07:33,844 This is a maintenance/bug fix release. 2024-04-15T14:07:33,845 * Fix ability to run from the git repo. This wasn't working. 2024-04-15T14:07:33,846 * Fix issue found by grouche, where if a module is built-in to the 2024-04-15T14:07:33,847 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-15T14:07:33,848 an error because it would think it's not copied to the initramfs. 2024-04-15T14:07:33,849 We now read in the ``modules.builtin`` file and use this in the 2024-04-15T14:07:33,849 internal logic -- if a module is built-in to the kernel, we can 2024-04-15T14:07:33,850 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-15T14:07:33,850 We will also not worry about trying to load it at boot. 2024-04-15T14:07:33,851 * Add a debug output whenever a module is referenced that is actually 2024-04-15T14:07:33,852 a built-in. This helps to audit the behavior of the above 2024-04-15T14:07:33,852 functionality and could be useful to users of the tool as well. 2024-04-15T14:07:33,853 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-15T14:07:33,854 warning. Looks a bit nicer. 2024-04-15T14:07:34,334 running egg_info 2024-04-15T14:07:34,335 creating /tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info 2024-04-15T14:07:34,360 writing /tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info/PKG-INFO 2024-04-15T14:07:34,364 writing dependency_links to /tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-15T14:07:34,366 writing requirements to /tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info/requires.txt 2024-04-15T14:07:34,366 writing top-level names to /tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info/top_level.txt 2024-04-15T14:07:34,368 writing manifest file '/tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-15T14:07:34,473 reading manifest file '/tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-15T14:07:34,474 reading manifest template 'MANIFEST.in' 2024-04-15T14:07:34,483 warning: no files found matching 'COPYRIGHT.rst' 2024-04-15T14:07:34,485 writing manifest file '/tmp/pip-pip-egg-info-z2ag0n29/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-15T14:07:34,594 Preparing metadata (setup.py): finished with status 'done' 2024-04-15T14:07:34,599 Source in /tmp/pip-wheel-n4nrapvz/funtoo-ramdisk_5b4773ecf67b42429f121d35b63d426e has version 1.1.6, which satisfies requirement funtoo-ramdisk==1.1.6 from https://files.pythonhosted.org/packages/f3/67/b3bf3836d65feca182c4912891b0536f85915d62dc8ac4cd26ddb1504c08/funtoo_ramdisk-1.1.6.tar.gz 2024-04-15T14:07:34,600 Removed funtoo-ramdisk==1.1.6 from https://files.pythonhosted.org/packages/f3/67/b3bf3836d65feca182c4912891b0536f85915d62dc8ac4cd26ddb1504c08/funtoo_ramdisk-1.1.6.tar.gz from build tracker '/tmp/pip-build-tracker-m5s4jrqf' 2024-04-15T14:07:34,607 Created temporary directory: /tmp/pip-unpack-4arnn8f2 2024-04-15T14:07:34,608 Created temporary directory: /tmp/pip-unpack-mweqg236 2024-04-15T14:07:34,613 Building wheels for collected packages: funtoo-ramdisk 2024-04-15T14:07:34,618 Created temporary directory: /tmp/pip-wheel-ohggb5_j 2024-04-15T14:07:34,618 Building wheel for funtoo-ramdisk (setup.py): started 2024-04-15T14:07:34,620 Destination directory: /tmp/pip-wheel-ohggb5_j 2024-04-15T14:07:34,620 Running command python setup.py bdist_wheel 2024-04-15T14:07:35,030 ========= 2024-04-15T14:07:35,031 ramdisk 2024-04-15T14:07:35,031 ========= 2024-04-15T14:07:35,032 -------------------------------------------------- 2024-04-15T14:07:35,033 create a bootable initial ramdisk 2024-04-15T14:07:35,033 -------------------------------------------------- 2024-04-15T14:07:35,034 :Author: Daniel Robbins 2024-04-15T14:07:35,035 :Copyright: Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-15T14:07:35,036 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-15T14:07:35,036 you may not use this file except in compliance with the License. 2024-04-15T14:07:35,037 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-15T14:07:35,037 :Version: 1.1.6 2024-04-15T14:07:35,038 :Manual section: 8 2024-04-15T14:07:35,038 :Manual group: Funtoo Linux 2024-04-15T14:07:35,040 SYNOPSIS 2024-04-15T14:07:35,041 ======== 2024-04-15T14:07:35,042 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-15T14:07:35,044 ``ramdisk`` list kernels 2024-04-15T14:07:35,046 ``ramdisk`` list plugins 2024-04-15T14:07:35,047 DESCRIPTION 2024-04-15T14:07:35,047 =========== 2024-04-15T14:07:35,049 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-15T14:07:35,051 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-15T14:07:35,052 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-15T14:07:35,053 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-15T14:07:35,055 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-15T14:07:35,056 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-15T14:07:35,057 documentation at https://www.funtoo.org/Install. 2024-04-15T14:07:35,058 CAPABILITIES 2024-04-15T14:07:35,059 ============ 2024-04-15T14:07:35,112 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-15T14:07:35,113 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-15T14:07:35,113 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-15T14:07:35,114 of functions in a support file. 2024-04-15T14:07:35,116 * Copies over the modules you specify -- and automatically figures out any 2024-04-15T14:07:35,117 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-15T14:07:35,117 This eliminates the need to track these dependencies manually. 2024-04-15T14:07:35,119 * Rootless operation. You do not need enhanced privileges to create the 2024-04-15T14:07:35,120 initramfs. 2024-04-15T14:07:35,122 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-15T14:07:35,161 It is written to be easy to understand and adapt. So it's not just short, 2024-04-15T14:07:35,162 but easy to grasp. 2024-04-15T14:07:35,164 * Enhanced module loading engine on the initramfs which is significantly 2024-04-15T14:07:35,165 faster than genkernel. This effectively eliminates the "watching the 2024-04-15T14:07:35,166 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-15T14:07:35,166 systems with NVMe drives will load just a handful of modules to boot 2024-04-15T14:07:35,167 -- all without requiring any special action from the user. 2024-04-15T14:07:35,168 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-15T14:07:35,169 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-15T14:07:35,170 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-15T14:07:35,170 these necessary modules, leaving all other modules to be loaded by 2024-04-15T14:07:35,171 your Funtoo Linux system. 2024-04-15T14:07:35,172 * Effective Python-based command to actually build the ramdisk, which is 2024-04-15T14:07:35,172 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-15T14:07:35,173 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-15T14:07:35,174 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-15T14:07:35,175 initramfs. 2024-04-15T14:07:35,176 * Support for xz and zstd compression. 2024-04-15T14:07:35,177 ACTIONS 2024-04-15T14:07:35,178 ======= 2024-04-15T14:07:35,179 The default action is ``build``, and can be optionally specified, which will 2024-04-15T14:07:35,180 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-15T14:07:35,181 build 2024-04-15T14:07:35,182 ----- 2024-04-15T14:07:35,182 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-15T14:07:35,183 action requires a destination initramfs path. This will be the literal path and 2024-04-15T14:07:35,184 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-15T14:07:35,185 list 2024-04-15T14:07:35,185 ---- 2024-04-15T14:07:35,186 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-15T14:07:35,186 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-15T14:07:35,187 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-15T14:07:35,187 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-15T14:07:35,188 OPTIONS 2024-04-15T14:07:35,188 ======= 2024-04-15T14:07:35,189 --debug Enable debug output. 2024-04-15T14:07:35,189 --backtrace Display full python backtrace/traceback instead of just a 2024-04-15T14:07:35,190 short error summary. 2024-04-15T14:07:35,190 --force Overwrite target initramfs if it exists. 2024-04-15T14:07:35,191 --version Show this program's version number and exit. 2024-04-15T14:07:35,191 --help Show this help message and exit. 2024-04-15T14:07:35,192 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-15T14:07:35,192 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-15T14:07:35,193 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-15T14:07:35,193 kernels``. 2024-04-15T14:07:35,194 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-15T14:07:35,194 ``ramdisk list kernels`` to display available options. The 2024-04-15T14:07:35,195 default setting is to use the current value of the 2024-04-15T14:07:35,195 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-15T14:07:35,196 which kernel to build a ramdisk for. 2024-04-15T14:07:35,196 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-15T14:07:35,197 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-15T14:07:35,197 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-15T14:07:35,198 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-15T14:07:35,198 plugins. 2024-04-15T14:07:35,199 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-15T14:07:35,200 define what kernel modules get copied to the initramfs, and which ones 2024-04-15T14:07:35,200 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-15T14:07:35,201 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-15T14:07:35,202 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-15T14:07:35,203 will allow your root block device and filesystem to be mounted. For example, 2024-04-15T14:07:35,204 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-15T14:07:35,206 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-15T14:07:35,207 a special minimal kernel module config is used instead of what is specified 2024-04-15T14:07:35,207 via ``--kmod_config`` (see above). 2024-04-15T14:07:35,209 USAGE 2024-04-15T14:07:35,210 ===== 2024-04-15T14:07:35,213 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-15T14:07:35,215 $ ramdisk /var/tmp/my-new-initramfs 2024-04-15T14:07:35,216 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-15T14:07:35,218 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-15T14:07:35,219 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-15T14:07:35,219 extract kernel version information, and then find the appropriate directory in 2024-04-15T14:07:35,220 ``/lib/modules/`` for copying modules. You can type: 2024-04-15T14:07:35,221 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-15T14:07:35,222 for a non-default kernel. 2024-04-15T14:07:35,224 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-15T14:07:35,225 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-15T14:07:35,226 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-15T14:07:35,227 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-15T14:07:35,230 ChangeLog 2024-04-15T14:07:35,230 ========= 2024-04-15T14:07:35,232 funtoo-ramdisk 1.1.6 2024-04-15T14:07:35,233 -------------------- 2024-04-15T14:07:35,236 Released on April 14, 2024. 2024-04-15T14:07:35,281 This is a maintenance and minor features release. 2024-04-15T14:07:35,282 * Various minor bug fixes. 2024-04-15T14:07:35,283 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-15T14:07:35,284 self-explanatory. 2024-04-15T14:07:35,285 * Continue to flesh out the plugin system. I added support for 2024-04-15T14:07:35,361 plugins to have an activation script which will get executed 2024-04-15T14:07:35,361 on startup. This is a work in progress and I still need to 2024-04-15T14:07:35,362 add support for listing needed modules for a plugin which 2024-04-15T14:07:35,362 will get loaded automatically. 2024-04-15T14:07:35,363 * Fix a bug in argument parsing where the code was not scanning 2024-04-15T14:07:35,364 for invalid options which could result in odd parsing behavior. 2024-04-15T14:07:35,365 * Start adding support for udev. This is not yet completed but 2024-04-15T14:07:35,366 the plugin system for this has been incorporated into the 2024-04-15T14:07:35,366 linuxrc. 2024-04-15T14:07:35,368 funtoo-ramdisk 1.1.5 2024-04-15T14:07:35,368 -------------------- 2024-04-15T14:07:35,370 Released on September 15, 2023. 2024-04-15T14:07:35,371 This is a packaging fix for the manpage. 2024-04-15T14:07:35,372 funtoo-ramdisk 1.1.4 2024-04-15T14:07:35,373 -------------------- 2024-04-15T14:07:35,374 Released on September 15, 2023. 2024-04-15T14:07:35,375 This release adds a "ramdisk" man page. 2024-04-15T14:07:35,377 funtoo-ramdisk 1.1.3 2024-04-15T14:07:35,378 -------------------- 2024-04-15T14:07:35,379 Released on September 14, 2023. 2024-04-15T14:07:35,380 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-15T14:07:35,381 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-15T14:07:35,381 we were just running it to convieniently spit out the UUID for 2024-04-15T14:07:35,382 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-15T14:07:35,382 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-15T14:07:35,384 funtoo-ramdisk 1.1.2 2024-04-15T14:07:35,385 -------------------- 2024-04-15T14:07:35,386 Released on September 4, 2023. 2024-04-15T14:07:35,387 * Fix exit code (zero on success.) 2024-04-15T14:07:35,390 funtoo-ramdisk 1.1.1 2024-04-15T14:07:35,390 -------------------- 2024-04-15T14:07:35,391 Released on September 4, 2023. 2024-04-15T14:07:35,393 Fix three bugs: 2024-04-15T14:07:35,394 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-15T14:07:35,395 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-15T14:07:35,396 handle this situation gracefully. This situation may exist during 2024-04-15T14:07:35,396 metro builds on incomplete systems. (2 bugs fixed). 2024-04-15T14:07:35,398 funtoo-ramdisk 1.1.0 2024-04-15T14:07:35,399 -------------------- 2024-04-15T14:07:35,400 Released on September 3, 2023. 2024-04-15T14:07:35,400 * Add plugin system for ramdisk: 2024-04-15T14:07:35,401 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-15T14:07:35,402 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-15T14:07:35,402 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-15T14:07:35,403 just ensure necessary binaries are copied over (no extra setup commands 2024-04-15T14:07:35,403 are run by the initramfs.) 2024-04-15T14:07:35,404 This is a starting point for enabling support for advanced 2024-04-15T14:07:35,405 features on the initramfs. 2024-04-15T14:07:35,405 * New "module configurations". The default module configuration is "full", 2024-04-15T14:07:35,406 which means "make a ramdisk with lots of modules to support a lot of 2024-04-15T14:07:35,406 hardware." Different module configurations can be added in the future. 2024-04-15T14:07:35,407 Module configurations can be specified via ``--kmod_config=``. 2024-04-15T14:07:35,408 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-15T14:07:35,408 dynamic module configuration via the command-line, rather than via 2024-04-15T14:07:35,409 static config files. 2024-04-15T14:07:35,410 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-15T14:07:35,410 modules (and their dependencies) will be included. This can dramatically 2024-04-15T14:07:35,411 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-15T14:07:35,412 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-15T14:07:35,413 so it's only for known-good configurations. Enabling this feature also 2024-04-15T14:07:35,413 disables any static module configuration (see above.) 2024-04-15T14:07:35,414 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-15T14:07:35,415 created and programmatic decisions can be made. Previously, we used a 2024-04-15T14:07:35,416 static list. This allows us to use ``lvm.static`` if available, but 2024-04-15T14:07:35,416 fall back to dynamic ``lvm``, for example. 2024-04-15T14:07:35,418 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-15T14:07:35,419 basic name, not just via its full path or glob, was added to 2024-04-15T14:07:35,419 ``modules.copy``. 2024-04-15T14:07:35,421 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-15T14:07:35,421 as dynamically-generated line data rather than just as static files 2024-04-15T14:07:35,422 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-15T14:07:35,423 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-15T14:07:35,424 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-15T14:07:35,424 groups to determine these. 2024-04-15T14:07:35,426 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-15T14:07:35,426 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-15T14:07:35,427 prints the available kernel names which can be copy/pasted for the 2024-04-15T14:07:35,427 ``--kernel`` option. 2024-04-15T14:07:35,429 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-15T14:07:35,429 using. 2024-04-15T14:07:35,430 * Lots of code organized into their own ``.py`` files. 2024-04-15T14:07:35,432 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-15T14:07:35,432 set up at all if doing a metro build. 2024-04-15T14:07:35,434 * Disable colors if we don't have an interactive shell. 2024-04-15T14:07:35,436 funtoo-ramdisk 1.0.7 2024-04-15T14:07:35,437 -------------------- 2024-04-15T14:07:35,438 Released on August 22, 2023. 2024-04-15T14:07:35,439 Changes: 2024-04-15T14:07:35,440 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-15T14:07:35,440 specifies where modules *and* the kernel sources will be. This 2024-04-15T14:07:35,441 allows the tool to work from an ebuild. 2024-04-15T14:07:35,442 * Improve output and add nice colors. Optimize information to be 2024-04-15T14:07:35,442 more useful to users. 2024-04-15T14:07:35,444 funtoo-ramdisk 1.0.6 2024-04-15T14:07:35,444 -------------------- 2024-04-15T14:07:35,445 Released on August 21, 2023. 2024-04-15T14:07:35,446 Two new options: 2024-04-15T14:07:35,446 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-15T14:07:35,447 It defaults to ``/``. 2024-04-15T14:07:35,448 * ``--temp_root`` to set the default path to use for creating a 2024-04-15T14:07:35,448 temporary directory. It defaults to ``/var/tmp``. 2024-04-15T14:07:35,449 funtoo-ramdisk 1.0.5 2024-04-15T14:07:35,449 -------------------- 2024-04-15T14:07:35,450 Released on August 21, 2023. 2024-04-15T14:07:35,451 This is a features/maintenance/bug fix release. 2024-04-15T14:07:35,452 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-15T14:07:35,453 view in the git history, the following significant changes were 2024-04-15T14:07:35,454 made: 2024-04-15T14:07:35,455 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-15T14:07:35,455 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-15T14:07:35,456 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-15T14:07:35,456 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-15T14:07:35,457 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-15T14:07:35,459 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-15T14:07:35,459 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-15T14:07:35,460 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-15T14:07:35,461 ramdisk script. 2024-04-15T14:07:35,462 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-15T14:07:35,463 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-15T14:07:35,464 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-15T14:07:35,465 before starting a rescue shell, to give the kernel time to enumerate 2024-04-15T14:07:35,465 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-15T14:07:35,466 the problem of ``ash`` starting and not having any way to type, because 2024-04-15T14:07:35,466 it didn't connect to your main keyboard. 2024-04-15T14:07:35,468 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-15T14:07:35,468 prevent the root filesystem from being mounted (see FL-11532). 2024-04-15T14:07:35,469 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-15T14:07:35,470 this is not a good idea, and can cause problems if you have multiple 2024-04-15T14:07:35,470 disks. Show them how to fix the problem by switching to UUID. 2024-04-15T14:07:35,471 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-15T14:07:35,472 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-15T14:07:35,472 with a SATA disk. 2024-04-15T14:07:35,473 * To implement above feature, added a feature to allow masking of modules in 2024-04-15T14:07:35,474 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-15T14:07:35,474 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-15T14:07:35,475 wrong section, so it still gets included on the initramfs due to other 2024-04-15T14:07:35,476 section(s), we will warn you. 2024-04-15T14:07:35,477 funtoo-ramdisk 1.0.4 2024-04-15T14:07:35,477 -------------------- 2024-04-15T14:07:35,478 Released on August 18, 2023. 2024-04-15T14:07:35,480 This is a maintenance/bug fix release. 2024-04-15T14:07:35,482 * Fix ability to run from the git repo. This wasn't working. 2024-04-15T14:07:35,484 * Fix issue found by grouche, where if a module is built-in to the 2024-04-15T14:07:35,499 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-15T14:07:35,501 an error because it would think it's not copied to the initramfs. 2024-04-15T14:07:35,505 We now read in the ``modules.builtin`` file and use this in the 2024-04-15T14:07:35,506 internal logic -- if a module is built-in to the kernel, we can 2024-04-15T14:07:35,507 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-15T14:07:35,508 We will also not worry about trying to load it at boot. 2024-04-15T14:07:35,510 * Add a debug output whenever a module is referenced that is actually 2024-04-15T14:07:35,510 a built-in. This helps to audit the behavior of the above 2024-04-15T14:07:35,511 functionality and could be useful to users of the tool as well. 2024-04-15T14:07:35,512 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-15T14:07:35,513 warning. Looks a bit nicer. 2024-04-15T14:07:35,935 running bdist_wheel 2024-04-15T14:07:36,030 running build 2024-04-15T14:07:36,031 running build_py 2024-04-15T14:07:36,058 creating build 2024-04-15T14:07:36,058 creating build/lib 2024-04-15T14:07:36,059 creating build/lib/funtoo_ramdisk 2024-04-15T14:07:36,060 copying funtoo_ramdisk/log.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,062 copying funtoo_ramdisk/__init__.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,064 copying funtoo_ramdisk/config_files.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,065 copying funtoo_ramdisk/plugin_base.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,067 copying funtoo_ramdisk/modules.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,069 copying funtoo_ramdisk/const.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,071 copying funtoo_ramdisk/utilities.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,073 copying funtoo_ramdisk/args.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,075 copying funtoo_ramdisk/version.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,077 copying funtoo_ramdisk/initramfs.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,079 copying funtoo_ramdisk/kernel.py -> build/lib/funtoo_ramdisk 2024-04-15T14:07:36,082 creating build/lib/funtoo_ramdisk/plugins 2024-04-15T14:07:36,083 copying funtoo_ramdisk/plugins/core.py -> build/lib/funtoo_ramdisk/plugins 2024-04-15T14:07:36,084 copying funtoo_ramdisk/plugins/__init__.py -> build/lib/funtoo_ramdisk/plugins 2024-04-15T14:07:36,086 copying funtoo_ramdisk/plugins/btrfs.py -> build/lib/funtoo_ramdisk/plugins 2024-04-15T14:07:36,088 copying funtoo_ramdisk/plugins/lvm.py -> build/lib/funtoo_ramdisk/plugins 2024-04-15T14:07:36,090 creating build/lib/funtoo_ramdisk/support 2024-04-15T14:07:36,091 copying funtoo_ramdisk/support/__init__.py -> build/lib/funtoo_ramdisk/support 2024-04-15T14:07:36,093 creating build/lib/funtoo_ramdisk/support/module_configs 2024-04-15T14:07:36,094 copying funtoo_ramdisk/support/module_configs/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs 2024-04-15T14:07:36,096 creating build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,097 copying funtoo_ramdisk/support/module_configs/full/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,098 running egg_info 2024-04-15T14:07:36,153 writing funtoo_ramdisk.egg-info/PKG-INFO 2024-04-15T14:07:36,158 writing dependency_links to funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-15T14:07:36,160 writing requirements to funtoo_ramdisk.egg-info/requires.txt 2024-04-15T14:07:36,161 writing top-level names to funtoo_ramdisk.egg-info/top_level.txt 2024-04-15T14:07:36,191 reading manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-15T14:07:36,194 reading manifest template 'MANIFEST.in' 2024-04-15T14:07:36,201 warning: no files found matching 'COPYRIGHT.rst' 2024-04-15T14:07:36,204 writing manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-15T14:07:36,206 /usr/local/lib/python3.11/dist-packages/setuptools/command/build_py.py:207: _Warning: Package 'funtoo_ramdisk.support.etc' is absent from the `packages` configuration. 2024-04-15T14:07:36,207 !! 2024-04-15T14:07:36,208 ******************************************************************************** 2024-04-15T14:07:36,208 ############################ 2024-04-15T14:07:36,209 # Package would be ignored # 2024-04-15T14:07:36,209 ############################ 2024-04-15T14:07:36,210 Python recognizes 'funtoo_ramdisk.support.etc' as an importable package[^1], 2024-04-15T14:07:36,210 but it is absent from setuptools' `packages` configuration. 2024-04-15T14:07:36,211 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-15T14:07:36,211 package, please make sure that 'funtoo_ramdisk.support.etc' is explicitly added 2024-04-15T14:07:36,212 to the `packages` configuration field. 2024-04-15T14:07:36,213 Alternatively, you can also rely on setuptools' discovery methods 2024-04-15T14:07:36,213 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-15T14:07:36,213 instead of `find_packages(...)`/`find:`). 2024-04-15T14:07:36,214 You can read more about "package discovery" on setuptools documentation page: 2024-04-15T14:07:36,215 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-15T14:07:36,217 If you don't want 'funtoo_ramdisk.support.etc' to be distributed and are 2024-04-15T14:07:36,217 already explicitly excluding 'funtoo_ramdisk.support.etc' via 2024-04-15T14:07:36,218 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-15T14:07:36,218 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-15T14:07:36,219 combination with a more fine grained `package-data` configuration. 2024-04-15T14:07:36,220 You can read more about "package data files" on setuptools documentation page: 2024-04-15T14:07:36,221 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-15T14:07:36,222 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-15T14:07:36,223 even if it does not contain any `.py` files. 2024-04-15T14:07:36,223 On the other hand, currently there is no concept of package data 2024-04-15T14:07:36,224 directory, all directories are treated like packages. 2024-04-15T14:07:36,224 ******************************************************************************** 2024-04-15T14:07:36,226 !! 2024-04-15T14:07:36,227 check.warn(importable) 2024-04-15T14:07:36,228 /usr/local/lib/python3.11/dist-packages/setuptools/command/build_py.py:207: _Warning: Package 'funtoo_ramdisk.support.etc.plugins' is absent from the `packages` configuration. 2024-04-15T14:07:36,228 !! 2024-04-15T14:07:36,229 ******************************************************************************** 2024-04-15T14:07:36,230 ############################ 2024-04-15T14:07:36,230 # Package would be ignored # 2024-04-15T14:07:36,231 ############################ 2024-04-15T14:07:36,231 Python recognizes 'funtoo_ramdisk.support.etc.plugins' as an importable package[^1], 2024-04-15T14:07:36,232 but it is absent from setuptools' `packages` configuration. 2024-04-15T14:07:36,233 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-15T14:07:36,233 package, please make sure that 'funtoo_ramdisk.support.etc.plugins' is explicitly added 2024-04-15T14:07:36,234 to the `packages` configuration field. 2024-04-15T14:07:36,235 Alternatively, you can also rely on setuptools' discovery methods 2024-04-15T14:07:36,235 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-15T14:07:36,235 instead of `find_packages(...)`/`find:`). 2024-04-15T14:07:36,236 You can read more about "package discovery" on setuptools documentation page: 2024-04-15T14:07:36,237 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-15T14:07:36,238 If you don't want 'funtoo_ramdisk.support.etc.plugins' to be distributed and are 2024-04-15T14:07:36,238 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins' via 2024-04-15T14:07:36,238 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-15T14:07:36,239 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-15T14:07:36,239 combination with a more fine grained `package-data` configuration. 2024-04-15T14:07:36,240 You can read more about "package data files" on setuptools documentation page: 2024-04-15T14:07:36,241 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-15T14:07:36,242 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-15T14:07:36,243 even if it does not contain any `.py` files. 2024-04-15T14:07:36,243 On the other hand, currently there is no concept of package data 2024-04-15T14:07:36,244 directory, all directories are treated like packages. 2024-04-15T14:07:36,244 ******************************************************************************** 2024-04-15T14:07:36,245 !! 2024-04-15T14:07:36,246 check.warn(importable) 2024-04-15T14:07:36,246 /usr/local/lib/python3.11/dist-packages/setuptools/command/build_py.py:207: _Warning: Package 'funtoo_ramdisk.support.etc.plugins.scan_mode' is absent from the `packages` configuration. 2024-04-15T14:07:36,247 !! 2024-04-15T14:07:36,248 ******************************************************************************** 2024-04-15T14:07:36,248 ############################ 2024-04-15T14:07:36,249 # Package would be ignored # 2024-04-15T14:07:36,249 ############################ 2024-04-15T14:07:36,250 Python recognizes 'funtoo_ramdisk.support.etc.plugins.scan_mode' as an importable package[^1], 2024-04-15T14:07:36,250 but it is absent from setuptools' `packages` configuration. 2024-04-15T14:07:36,251 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-15T14:07:36,252 package, please make sure that 'funtoo_ramdisk.support.etc.plugins.scan_mode' is explicitly added 2024-04-15T14:07:36,252 to the `packages` configuration field. 2024-04-15T14:07:36,253 Alternatively, you can also rely on setuptools' discovery methods 2024-04-15T14:07:36,254 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-15T14:07:36,255 instead of `find_packages(...)`/`find:`). 2024-04-15T14:07:36,256 You can read more about "package discovery" on setuptools documentation page: 2024-04-15T14:07:36,257 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-15T14:07:36,258 If you don't want 'funtoo_ramdisk.support.etc.plugins.scan_mode' to be distributed and are 2024-04-15T14:07:36,259 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins.scan_mode' via 2024-04-15T14:07:36,259 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-15T14:07:36,260 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-15T14:07:36,260 combination with a more fine grained `package-data` configuration. 2024-04-15T14:07:36,261 You can read more about "package data files" on setuptools documentation page: 2024-04-15T14:07:36,262 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-15T14:07:36,264 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-15T14:07:36,264 even if it does not contain any `.py` files. 2024-04-15T14:07:36,265 On the other hand, currently there is no concept of package data 2024-04-15T14:07:36,265 directory, all directories are treated like packages. 2024-04-15T14:07:36,265 ******************************************************************************** 2024-04-15T14:07:36,266 !! 2024-04-15T14:07:36,267 check.warn(importable) 2024-04-15T14:07:36,267 copying funtoo_ramdisk/support/initramfs.cpio -> build/lib/funtoo_ramdisk/support 2024-04-15T14:07:36,268 copying funtoo_ramdisk/support/linuxrc -> build/lib/funtoo_ramdisk/support 2024-04-15T14:07:36,268 creating build/lib/funtoo_ramdisk/support/etc 2024-04-15T14:07:36,269 copying funtoo_ramdisk/support/etc/initrd.defaults -> build/lib/funtoo_ramdisk/support/etc 2024-04-15T14:07:36,269 copying funtoo_ramdisk/support/etc/initrd.scripts -> build/lib/funtoo_ramdisk/support/etc 2024-04-15T14:07:36,270 creating build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-15T14:07:36,270 copying funtoo_ramdisk/support/etc/plugins/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-15T14:07:36,270 creating build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,271 copying funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,272 copying funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,272 copying funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,273 copying funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,274 copying funtoo_ramdisk/support/module_configs/full/modules.copy -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,274 running build_scripts 2024-04-15T14:07:36,275 creating build/scripts-3.11 2024-04-15T14:07:36,275 copying and adjusting bin/ramdisk -> build/scripts-3.11 2024-04-15T14:07:36,276 changing mode of build/scripts-3.11/ramdisk from 644 to 755 2024-04-15T14:07:36,282 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2024-04-15T14:07:36,282 !! 2024-04-15T14:07:36,284 ******************************************************************************** 2024-04-15T14:07:36,284 Please avoid running ``setup.py`` directly. 2024-04-15T14:07:36,285 Instead, use pypa/build, pypa/installer or other 2024-04-15T14:07:36,285 standards-based tools. 2024-04-15T14:07:36,286 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2024-04-15T14:07:36,287 ******************************************************************************** 2024-04-15T14:07:36,288 !! 2024-04-15T14:07:36,289 self.initialize_options() 2024-04-15T14:07:36,307 installing to build/bdist.linux-armv7l/wheel 2024-04-15T14:07:36,307 running install 2024-04-15T14:07:36,331 running install_lib 2024-04-15T14:07:36,355 creating build/bdist.linux-armv7l 2024-04-15T14:07:36,356 creating build/bdist.linux-armv7l/wheel 2024-04-15T14:07:36,357 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,358 copying build/lib/funtoo_ramdisk/log.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,361 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-15T14:07:36,362 copying build/lib/funtoo_ramdisk/plugins/core.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-15T14:07:36,363 copying build/lib/funtoo_ramdisk/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-15T14:07:36,365 copying build/lib/funtoo_ramdisk/plugins/btrfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-15T14:07:36,366 copying build/lib/funtoo_ramdisk/plugins/lvm.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-15T14:07:36,368 copying build/lib/funtoo_ramdisk/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,369 copying build/lib/funtoo_ramdisk/config_files.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,371 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-15T14:07:36,372 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-15T14:07:36,373 copying build/lib/funtoo_ramdisk/support/module_configs/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-15T14:07:36,375 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,376 copying build/lib/funtoo_ramdisk/support/module_configs/full/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,378 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.copy -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,380 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-15T14:07:36,381 copying build/lib/funtoo_ramdisk/support/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-15T14:07:36,383 copying build/lib/funtoo_ramdisk/support/initramfs.cpio -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-15T14:07:36,385 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-15T14:07:36,386 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-15T14:07:36,387 copying build/lib/funtoo_ramdisk/support/etc/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-15T14:07:36,389 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,390 copying build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,392 copying build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,394 copying build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-15T14:07:36,396 copying build/lib/funtoo_ramdisk/support/etc/initrd.defaults -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-15T14:07:36,397 copying build/lib/funtoo_ramdisk/support/etc/initrd.scripts -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-15T14:07:36,400 copying build/lib/funtoo_ramdisk/support/linuxrc -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-15T14:07:36,401 copying build/lib/funtoo_ramdisk/plugin_base.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,403 copying build/lib/funtoo_ramdisk/modules.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,406 copying build/lib/funtoo_ramdisk/const.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,408 copying build/lib/funtoo_ramdisk/utilities.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,410 copying build/lib/funtoo_ramdisk/args.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,412 copying build/lib/funtoo_ramdisk/version.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,414 copying build/lib/funtoo_ramdisk/initramfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,418 copying build/lib/funtoo_ramdisk/kernel.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-15T14:07:36,419 running install_egg_info 2024-04-15T14:07:36,450 Copying funtoo_ramdisk.egg-info to build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.6-py3.11.egg-info 2024-04-15T14:07:36,461 running install_scripts 2024-04-15T14:07:36,462 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.6.data 2024-04-15T14:07:36,462 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.6.data/scripts 2024-04-15T14:07:36,463 copying build/scripts-3.11/ramdisk -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.6.data/scripts 2024-04-15T14:07:36,465 changing mode of build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.6.data/scripts/ramdisk to 755 2024-04-15T14:07:36,478 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.6.dist-info/WHEEL 2024-04-15T14:07:36,481 creating '/tmp/pip-wheel-ohggb5_j/funtoo_ramdisk-1.1.6-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2024-04-15T14:07:36,483 adding 'funtoo_ramdisk/__init__.py' 2024-04-15T14:07:36,485 adding 'funtoo_ramdisk/args.py' 2024-04-15T14:07:36,486 adding 'funtoo_ramdisk/config_files.py' 2024-04-15T14:07:36,488 adding 'funtoo_ramdisk/const.py' 2024-04-15T14:07:36,524 adding 'funtoo_ramdisk/initramfs.py' 2024-04-15T14:07:36,526 adding 'funtoo_ramdisk/kernel.py' 2024-04-15T14:07:36,528 adding 'funtoo_ramdisk/log.py' 2024-04-15T14:07:36,531 adding 'funtoo_ramdisk/modules.py' 2024-04-15T14:07:36,534 adding 'funtoo_ramdisk/plugin_base.py' 2024-04-15T14:07:36,536 adding 'funtoo_ramdisk/utilities.py' 2024-04-15T14:07:36,539 adding 'funtoo_ramdisk/version.py' 2024-04-15T14:07:36,543 adding 'funtoo_ramdisk/plugins/__init__.py' 2024-04-15T14:07:36,545 adding 'funtoo_ramdisk/plugins/btrfs.py' 2024-04-15T14:07:36,547 adding 'funtoo_ramdisk/plugins/core.py' 2024-04-15T14:07:36,549 adding 'funtoo_ramdisk/plugins/lvm.py' 2024-04-15T14:07:36,553 adding 'funtoo_ramdisk/support/__init__.py' 2024-04-15T14:07:36,555 adding 'funtoo_ramdisk/support/initramfs.cpio' 2024-04-15T14:07:36,558 adding 'funtoo_ramdisk/support/linuxrc' 2024-04-15T14:07:36,604 adding 'funtoo_ramdisk/support/etc/initrd.defaults' 2024-04-15T14:07:36,607 adding 'funtoo_ramdisk/support/etc/initrd.scripts' 2024-04-15T14:07:36,655 adding 'funtoo_ramdisk/support/etc/plugins/__init__.py' 2024-04-15T14:07:36,733 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py' 2024-04-15T14:07:36,737 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh' 2024-04-15T14:07:36,739 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh' 2024-04-15T14:07:36,743 adding 'funtoo_ramdisk/support/module_configs/__init__.py' 2024-04-15T14:07:36,747 adding 'funtoo_ramdisk/support/module_configs/full/__init__.py' 2024-04-15T14:07:36,750 adding 'funtoo_ramdisk/support/module_configs/full/modules.autoload' 2024-04-15T14:07:36,753 adding 'funtoo_ramdisk/support/module_configs/full/modules.copy' 2024-04-15T14:07:36,788 adding 'funtoo_ramdisk-1.1.6.data/scripts/ramdisk' 2024-04-15T14:07:36,794 adding 'funtoo_ramdisk-1.1.6.dist-info/METADATA' 2024-04-15T14:07:36,796 adding 'funtoo_ramdisk-1.1.6.dist-info/WHEEL' 2024-04-15T14:07:36,798 adding 'funtoo_ramdisk-1.1.6.dist-info/top_level.txt' 2024-04-15T14:07:36,800 adding 'funtoo_ramdisk-1.1.6.dist-info/RECORD' 2024-04-15T14:07:36,805 removing build/bdist.linux-armv7l/wheel 2024-04-15T14:07:36,943 Building wheel for funtoo-ramdisk (setup.py): finished with status 'done' 2024-04-15T14:07:36,946 Created wheel for funtoo-ramdisk: filename=funtoo_ramdisk-1.1.6-py3-none-any.whl size=35203 sha256=c585df70b910eafd17873937e4e09957f694059cbcf0fa12267efa89b4c8a3b2 2024-04-15T14:07:36,948 Stored in directory: /tmp/pip-ephem-wheel-cache-o0zhpqni/wheels/cb/4d/eb/377829c05291a10a169fa6e41e56a388055ff499c3627d1885 2024-04-15T14:07:36,960 Successfully built funtoo-ramdisk 2024-04-15T14:07:36,965 Removed build tracker: '/tmp/pip-build-tracker-m5s4jrqf'