2024-04-16T04:56:25,692 Created temporary directory: /tmp/pip-build-tracker-gpzm3kp8 2024-04-16T04:56:25,693 Initialized build tracking at /tmp/pip-build-tracker-gpzm3kp8 2024-04-16T04:56:25,694 Created build tracker: /tmp/pip-build-tracker-gpzm3kp8 2024-04-16T04:56:25,694 Entered build tracker: /tmp/pip-build-tracker-gpzm3kp8 2024-04-16T04:56:25,695 Created temporary directory: /tmp/pip-wheel-fnvtu4zf 2024-04-16T04:56:25,698 Created temporary directory: /tmp/pip-ephem-wheel-cache-n12n8yju 2024-04-16T04:56:25,720 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-04-16T04:56:25,724 2 location(s) to search for versions of funtoo-ramdisk: 2024-04-16T04:56:25,724 * https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:25,724 * https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:25,725 Fetching project page and analyzing links: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:25,726 Getting page https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:25,727 Found index url https://pypi.org/simple/ 2024-04-16T04:56:25,938 Fetched page https://pypi.org/simple/funtoo-ramdisk/ as application/vnd.pypi.simple.v1+json 2024-04-16T04:56:25,942 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-16T04:56:25,944 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-16T04:56:25,945 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-16T04:56:25,946 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-16T04:56:25,947 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-16T04:56:25,948 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-16T04:56:25,949 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-16T04:56:25,950 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-16T04:56:25,951 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-16T04:56:25,952 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-16T04:56:25,953 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-16T04:56:25,954 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-16T04:56:25,955 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-16T04:56:25,956 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-16T04:56:25,957 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-16T04:56:25,958 Found link https://files.pythonhosted.org/packages/10/2f/e2207365cd30d75ed1efbb19f7a991d6dab253a7eb0ad49e8c5a6cf6afd3/funtoo_ramdisk-1.1.7.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.7 2024-04-16T04:56:25,959 Found link https://files.pythonhosted.org/packages/fa/a9/ef20abf6a7c37f79dec2d67bb8b8d1fefefc573195f32eb943558d8597db/funtoo_ramdisk-1.1.8.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.8 2024-04-16T04:56:25,960 Fetching project page and analyzing links: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:25,960 Getting page https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:25,962 Found index url https://www.piwheels.org/simple/ 2024-04-16T04:56:26,138 Fetched page https://www.piwheels.org/simple/funtoo-ramdisk/ as text/html 2024-04-16T04:56:26,143 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.7-py3-none-any.whl#sha256=3f6ee8459b06d90b3b3dd6927b3d64ede7b5523b25979148ac1dfab00b76f35b (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-16T04:56:26,143 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.6-py3-none-any.whl#sha256=c585df70b910eafd17873937e4e09957f694059cbcf0fa12267efa89b4c8a3b2 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-16T04:56:26,144 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-16T04:56:26,145 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-16T04:56:26,145 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-16T04:56:26,146 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-16T04:56:26,146 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-16T04:56:26,147 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-16T04:56:26,147 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-16T04:56:26,148 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-16T04:56:26,149 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-16T04:56:26,149 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-16T04:56:26,150 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-16T04:56:26,150 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-16T04:56:26,151 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-16T04:56:26,151 Skipping link: not a file: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:26,152 Skipping link: not a file: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T04:56:26,172 Given no hashes to check 1 links for project 'funtoo-ramdisk': discarding no candidates 2024-04-16T04:56:26,190 Collecting funtoo-ramdisk==1.1.8 2024-04-16T04:56:26,192 Created temporary directory: /tmp/pip-unpack-5jx0jw7k 2024-04-16T04:56:26,401 Downloading funtoo_ramdisk-1.1.8.tar.gz (38 kB) 2024-04-16T04:56:26,526 Added funtoo-ramdisk==1.1.8 from https://files.pythonhosted.org/packages/fa/a9/ef20abf6a7c37f79dec2d67bb8b8d1fefefc573195f32eb943558d8597db/funtoo_ramdisk-1.1.8.tar.gz to build tracker '/tmp/pip-build-tracker-gpzm3kp8' 2024-04-16T04:56:26,529 Running setup.py (path:/tmp/pip-wheel-fnvtu4zf/funtoo-ramdisk_4b2118387e904ad7a03680a5532b77c4/setup.py) egg_info for package funtoo-ramdisk 2024-04-16T04:56:26,530 Created temporary directory: /tmp/pip-pip-egg-info-ypjl45pn 2024-04-16T04:56:26,531 Preparing metadata (setup.py): started 2024-04-16T04:56:26,532 Running command python setup.py egg_info 2024-04-16T04:56:27,008 ========= 2024-04-16T04:56:27,008 ramdisk 2024-04-16T04:56:27,009 ========= 2024-04-16T04:56:27,010 -------------------------------------------------- 2024-04-16T04:56:27,011 create a bootable initial ramdisk 2024-04-16T04:56:27,011 -------------------------------------------------- 2024-04-16T04:56:27,013 :Author: Daniel Robbins 2024-04-16T04:56:27,013 :Copyright: Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-16T04:56:27,014 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-16T04:56:27,015 you may not use this file except in compliance with the License. 2024-04-16T04:56:27,015 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-16T04:56:27,016 :Version: 1.1.8 2024-04-16T04:56:27,016 :Manual section: 8 2024-04-16T04:56:27,016 :Manual group: Funtoo Linux 2024-04-16T04:56:27,017 SYNOPSIS 2024-04-16T04:56:27,018 ======== 2024-04-16T04:56:27,019 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-16T04:56:27,020 ``ramdisk`` list kernels 2024-04-16T04:56:27,021 ``ramdisk`` list plugins 2024-04-16T04:56:27,022 DESCRIPTION 2024-04-16T04:56:27,023 =========== 2024-04-16T04:56:27,024 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-16T04:56:27,024 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-16T04:56:27,025 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-16T04:56:27,026 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-16T04:56:27,027 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-16T04:56:27,027 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-16T04:56:27,028 documentation at https://www.funtoo.org/Install. 2024-04-16T04:56:27,029 CAPABILITIES 2024-04-16T04:56:27,029 ============ 2024-04-16T04:56:27,030 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-16T04:56:27,031 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-16T04:56:27,031 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-16T04:56:27,032 of functions in a support file. 2024-04-16T04:56:27,033 * Copies over the modules you specify -- and automatically figures out any 2024-04-16T04:56:27,033 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-16T04:56:27,034 This eliminates the need to track these dependencies manually. 2024-04-16T04:56:27,035 * Rootless operation. You do not need enhanced privileges to create the 2024-04-16T04:56:27,035 initramfs. 2024-04-16T04:56:27,036 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-16T04:56:27,037 It is written to be easy to understand and adapt. So it's not just short, 2024-04-16T04:56:27,038 but easy to grasp. 2024-04-16T04:56:27,039 * Enhanced module loading engine on the initramfs which is significantly 2024-04-16T04:56:27,040 faster than genkernel. This effectively eliminates the "watching the 2024-04-16T04:56:27,040 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-16T04:56:27,041 systems with NVMe drives will load just a handful of modules to boot 2024-04-16T04:56:27,041 -- all without requiring any special action from the user. 2024-04-16T04:56:27,042 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-16T04:56:27,043 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-16T04:56:27,043 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-16T04:56:27,044 these necessary modules, leaving all other modules to be loaded by 2024-04-16T04:56:27,045 your Funtoo Linux system. 2024-04-16T04:56:27,046 * Effective Python-based command to actually build the ramdisk, which is 2024-04-16T04:56:27,046 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-16T04:56:27,048 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-16T04:56:27,049 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-16T04:56:27,049 initramfs. 2024-04-16T04:56:27,050 * Support for xz and zstd compression. 2024-04-16T04:56:27,052 ACTIONS 2024-04-16T04:56:27,053 ======= 2024-04-16T04:56:27,054 The default action is ``build``, and can be optionally specified, which will 2024-04-16T04:56:27,054 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-16T04:56:27,055 build 2024-04-16T04:56:27,056 ----- 2024-04-16T04:56:27,057 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-16T04:56:27,058 action requires a destination initramfs path. This will be the literal path and 2024-04-16T04:56:27,059 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-16T04:56:27,061 list 2024-04-16T04:56:27,061 ---- 2024-04-16T04:56:27,062 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-16T04:56:27,063 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-16T04:56:27,063 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-16T04:56:27,064 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-16T04:56:27,066 OPTIONS 2024-04-16T04:56:27,067 ======= 2024-04-16T04:56:27,068 --debug Enable debug output. 2024-04-16T04:56:27,068 --backtrace Display full python backtrace/traceback instead of just a 2024-04-16T04:56:27,069 short error summary. 2024-04-16T04:56:27,069 --force Overwrite target initramfs if it exists. 2024-04-16T04:56:27,070 --version Show this program's version number and exit. 2024-04-16T04:56:27,070 --help Show this help message and exit. 2024-04-16T04:56:27,071 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-16T04:56:27,071 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-16T04:56:27,072 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-16T04:56:27,073 kernels``. 2024-04-16T04:56:27,073 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-16T04:56:27,074 ``ramdisk list kernels`` to display available options. The 2024-04-16T04:56:27,074 default setting is to use the current value of the 2024-04-16T04:56:27,075 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-16T04:56:27,075 which kernel to build a ramdisk for. 2024-04-16T04:56:27,076 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-16T04:56:27,076 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-16T04:56:27,077 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-16T04:56:27,077 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-16T04:56:27,078 plugins. 2024-04-16T04:56:27,079 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-16T04:56:27,079 define what kernel modules get copied to the initramfs, and which ones 2024-04-16T04:56:27,080 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-16T04:56:27,080 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-16T04:56:27,081 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-16T04:56:27,081 will allow your root block device and filesystem to be mounted. For example, 2024-04-16T04:56:27,082 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-16T04:56:27,082 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-16T04:56:27,083 a special minimal kernel module config is used instead of what is specified 2024-04-16T04:56:27,084 via ``--kmod_config`` (see above). 2024-04-16T04:56:27,085 USAGE 2024-04-16T04:56:27,085 ===== 2024-04-16T04:56:27,086 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-16T04:56:27,087 $ ramdisk /var/tmp/my-new-initramfs 2024-04-16T04:56:27,088 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-16T04:56:27,089 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-16T04:56:27,090 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-16T04:56:27,090 extract kernel version information, and then find the appropriate directory in 2024-04-16T04:56:27,090 ``/lib/modules/`` for copying modules. You can type: 2024-04-16T04:56:27,091 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-16T04:56:27,092 for a non-default kernel. 2024-04-16T04:56:27,093 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-16T04:56:27,093 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-16T04:56:27,094 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-16T04:56:27,095 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-16T04:56:27,097 ChangeLog 2024-04-16T04:56:27,098 ========= 2024-04-16T04:56:27,099 funtoo-ramdisk 1.1.8 2024-04-16T04:56:27,099 -------------------- 2024-04-16T04:56:27,100 Released on April 16, 2024. 2024-04-16T04:56:27,101 This is a minor bug release. 2024-04-16T04:56:27,103 * Fix for the previous fix. 2024-04-16T04:56:27,104 funtoo-ramdisk 1.1.7 2024-04-16T04:56:27,104 -------------------- 2024-04-16T04:56:27,105 Released on April 15, 2024. 2024-04-16T04:56:27,106 This is a minor bug release. 2024-04-16T04:56:27,107 * Fix a possible issue where ``__pycache__`` directories can mess 2024-04-16T04:56:27,108 up copying of files to the initramfs. 2024-04-16T04:56:27,109 funtoo-ramdisk 1.1.6 2024-04-16T04:56:27,110 -------------------- 2024-04-16T04:56:27,110 Released on April 14, 2024. 2024-04-16T04:56:27,112 This is a maintenance and minor features release. 2024-04-16T04:56:27,113 * Various minor bug fixes. 2024-04-16T04:56:27,114 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-16T04:56:27,115 self-explanatory. 2024-04-16T04:56:27,116 * Continue to flesh out the plugin system. I added support for 2024-04-16T04:56:27,116 plugins to have an activation script which will get executed 2024-04-16T04:56:27,117 on startup. This is a work in progress and I still need to 2024-04-16T04:56:27,117 add support for listing needed modules for a plugin which 2024-04-16T04:56:27,118 will get loaded automatically. 2024-04-16T04:56:27,119 * Fix a bug in argument parsing where the code was not scanning 2024-04-16T04:56:27,120 for invalid options which could result in odd parsing behavior. 2024-04-16T04:56:27,121 * Start adding support for udev. This is not yet completed but 2024-04-16T04:56:27,121 the plugin system for this has been incorporated into the 2024-04-16T04:56:27,122 linuxrc. 2024-04-16T04:56:27,124 funtoo-ramdisk 1.1.5 2024-04-16T04:56:27,124 -------------------- 2024-04-16T04:56:27,125 Released on September 15, 2023. 2024-04-16T04:56:27,126 This is a packaging fix for the manpage. 2024-04-16T04:56:27,128 funtoo-ramdisk 1.1.4 2024-04-16T04:56:27,129 -------------------- 2024-04-16T04:56:27,130 Released on September 15, 2023. 2024-04-16T04:56:27,131 This release adds a "ramdisk" man page. 2024-04-16T04:56:27,133 funtoo-ramdisk 1.1.3 2024-04-16T04:56:27,134 -------------------- 2024-04-16T04:56:27,135 Released on September 14, 2023. 2024-04-16T04:56:27,136 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-16T04:56:27,137 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-16T04:56:27,137 we were just running it to convieniently spit out the UUID for 2024-04-16T04:56:27,138 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-16T04:56:27,138 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-16T04:56:27,140 funtoo-ramdisk 1.1.2 2024-04-16T04:56:27,140 -------------------- 2024-04-16T04:56:27,142 Released on September 4, 2023. 2024-04-16T04:56:27,143 * Fix exit code (zero on success.) 2024-04-16T04:56:27,144 funtoo-ramdisk 1.1.1 2024-04-16T04:56:27,145 -------------------- 2024-04-16T04:56:27,146 Released on September 4, 2023. 2024-04-16T04:56:27,147 Fix three bugs: 2024-04-16T04:56:27,148 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-16T04:56:27,149 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-16T04:56:27,150 handle this situation gracefully. This situation may exist during 2024-04-16T04:56:27,150 metro builds on incomplete systems. (2 bugs fixed). 2024-04-16T04:56:27,152 funtoo-ramdisk 1.1.0 2024-04-16T04:56:27,152 -------------------- 2024-04-16T04:56:27,153 Released on September 3, 2023. 2024-04-16T04:56:27,154 * Add plugin system for ramdisk: 2024-04-16T04:56:27,155 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-16T04:56:27,156 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-16T04:56:27,156 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-16T04:56:27,157 just ensure necessary binaries are copied over (no extra setup commands 2024-04-16T04:56:27,157 are run by the initramfs.) 2024-04-16T04:56:27,158 This is a starting point for enabling support for advanced 2024-04-16T04:56:27,159 features on the initramfs. 2024-04-16T04:56:27,160 * New "module configurations". The default module configuration is "full", 2024-04-16T04:56:27,160 which means "make a ramdisk with lots of modules to support a lot of 2024-04-16T04:56:27,161 hardware." Different module configurations can be added in the future. 2024-04-16T04:56:27,161 Module configurations can be specified via ``--kmod_config=``. 2024-04-16T04:56:27,163 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-16T04:56:27,163 dynamic module configuration via the command-line, rather than via 2024-04-16T04:56:27,164 static config files. 2024-04-16T04:56:27,165 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-16T04:56:27,166 modules (and their dependencies) will be included. This can dramatically 2024-04-16T04:56:27,166 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-16T04:56:27,167 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-16T04:56:27,167 so it's only for known-good configurations. Enabling this feature also 2024-04-16T04:56:27,168 disables any static module configuration (see above.) 2024-04-16T04:56:27,169 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-16T04:56:27,169 created and programmatic decisions can be made. Previously, we used a 2024-04-16T04:56:27,170 static list. This allows us to use ``lvm.static`` if available, but 2024-04-16T04:56:27,171 fall back to dynamic ``lvm``, for example. 2024-04-16T04:56:27,172 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-16T04:56:27,172 basic name, not just via its full path or glob, was added to 2024-04-16T04:56:27,173 ``modules.copy``. 2024-04-16T04:56:27,174 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-16T04:56:27,175 as dynamically-generated line data rather than just as static files 2024-04-16T04:56:27,175 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-16T04:56:27,177 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-16T04:56:27,177 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-16T04:56:27,178 groups to determine these. 2024-04-16T04:56:27,179 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-16T04:56:27,179 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-16T04:56:27,180 prints the available kernel names which can be copy/pasted for the 2024-04-16T04:56:27,180 ``--kernel`` option. 2024-04-16T04:56:27,181 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-16T04:56:27,182 using. 2024-04-16T04:56:27,183 * Lots of code organized into their own ``.py`` files. 2024-04-16T04:56:27,184 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-16T04:56:27,185 set up at all if doing a metro build. 2024-04-16T04:56:27,187 * Disable colors if we don't have an interactive shell. 2024-04-16T04:56:27,190 funtoo-ramdisk 1.0.7 2024-04-16T04:56:27,191 -------------------- 2024-04-16T04:56:27,192 Released on August 22, 2023. 2024-04-16T04:56:27,193 Changes: 2024-04-16T04:56:27,194 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-16T04:56:27,195 specifies where modules *and* the kernel sources will be. This 2024-04-16T04:56:27,195 allows the tool to work from an ebuild. 2024-04-16T04:56:27,197 * Improve output and add nice colors. Optimize information to be 2024-04-16T04:56:27,197 more useful to users. 2024-04-16T04:56:27,199 funtoo-ramdisk 1.0.6 2024-04-16T04:56:27,200 -------------------- 2024-04-16T04:56:27,202 Released on August 21, 2023. 2024-04-16T04:56:27,203 Two new options: 2024-04-16T04:56:27,204 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-16T04:56:27,204 It defaults to ``/``. 2024-04-16T04:56:27,206 * ``--temp_root`` to set the default path to use for creating a 2024-04-16T04:56:27,206 temporary directory. It defaults to ``/var/tmp``. 2024-04-16T04:56:27,207 funtoo-ramdisk 1.0.5 2024-04-16T04:56:27,208 -------------------- 2024-04-16T04:56:27,209 Released on August 21, 2023. 2024-04-16T04:56:27,210 This is a features/maintenance/bug fix release. 2024-04-16T04:56:27,211 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-16T04:56:27,212 view in the git history, the following significant changes were 2024-04-16T04:56:27,212 made: 2024-04-16T04:56:27,214 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-16T04:56:27,214 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-16T04:56:27,215 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-16T04:56:27,215 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-16T04:56:27,216 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-16T04:56:27,217 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-16T04:56:27,218 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-16T04:56:27,218 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-16T04:56:27,219 ramdisk script. 2024-04-16T04:56:27,220 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-16T04:56:27,221 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-16T04:56:27,222 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-16T04:56:27,223 before starting a rescue shell, to give the kernel time to enumerate 2024-04-16T04:56:27,223 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-16T04:56:27,224 the problem of ``ash`` starting and not having any way to type, because 2024-04-16T04:56:27,225 it didn't connect to your main keyboard. 2024-04-16T04:56:27,226 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-16T04:56:27,227 prevent the root filesystem from being mounted (see FL-11532). 2024-04-16T04:56:27,228 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-16T04:56:27,229 this is not a good idea, and can cause problems if you have multiple 2024-04-16T04:56:27,229 disks. Show them how to fix the problem by switching to UUID. 2024-04-16T04:56:27,230 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-16T04:56:27,231 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-16T04:56:27,231 with a SATA disk. 2024-04-16T04:56:27,232 * To implement above feature, added a feature to allow masking of modules in 2024-04-16T04:56:27,233 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-16T04:56:27,233 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-16T04:56:27,234 wrong section, so it still gets included on the initramfs due to other 2024-04-16T04:56:27,234 section(s), we will warn you. 2024-04-16T04:56:27,236 funtoo-ramdisk 1.0.4 2024-04-16T04:56:27,236 -------------------- 2024-04-16T04:56:27,237 Released on August 18, 2023. 2024-04-16T04:56:27,238 This is a maintenance/bug fix release. 2024-04-16T04:56:27,239 * Fix ability to run from the git repo. This wasn't working. 2024-04-16T04:56:27,240 * Fix issue found by grouche, where if a module is built-in to the 2024-04-16T04:56:27,241 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-16T04:56:27,241 an error because it would think it's not copied to the initramfs. 2024-04-16T04:56:27,242 We now read in the ``modules.builtin`` file and use this in the 2024-04-16T04:56:27,242 internal logic -- if a module is built-in to the kernel, we can 2024-04-16T04:56:27,243 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-16T04:56:27,244 We will also not worry about trying to load it at boot. 2024-04-16T04:56:27,245 * Add a debug output whenever a module is referenced that is actually 2024-04-16T04:56:27,246 a built-in. This helps to audit the behavior of the above 2024-04-16T04:56:27,246 functionality and could be useful to users of the tool as well. 2024-04-16T04:56:27,248 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-16T04:56:27,249 warning. Looks a bit nicer. 2024-04-16T04:56:27,742 running egg_info 2024-04-16T04:56:27,744 creating /tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info 2024-04-16T04:56:27,769 writing /tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info/PKG-INFO 2024-04-16T04:56:27,778 writing dependency_links to /tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-16T04:56:27,780 writing requirements to /tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info/requires.txt 2024-04-16T04:56:27,782 writing top-level names to /tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info/top_level.txt 2024-04-16T04:56:27,783 writing manifest file '/tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T04:56:27,893 reading manifest file '/tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T04:56:27,895 reading manifest template 'MANIFEST.in' 2024-04-16T04:56:27,905 warning: no files found matching 'COPYRIGHT.rst' 2024-04-16T04:56:27,908 writing manifest file '/tmp/pip-pip-egg-info-ypjl45pn/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T04:56:28,017 Preparing metadata (setup.py): finished with status 'done' 2024-04-16T04:56:28,023 Source in /tmp/pip-wheel-fnvtu4zf/funtoo-ramdisk_4b2118387e904ad7a03680a5532b77c4 has version 1.1.8, which satisfies requirement funtoo-ramdisk==1.1.8 from https://files.pythonhosted.org/packages/fa/a9/ef20abf6a7c37f79dec2d67bb8b8d1fefefc573195f32eb943558d8597db/funtoo_ramdisk-1.1.8.tar.gz 2024-04-16T04:56:28,024 Removed funtoo-ramdisk==1.1.8 from https://files.pythonhosted.org/packages/fa/a9/ef20abf6a7c37f79dec2d67bb8b8d1fefefc573195f32eb943558d8597db/funtoo_ramdisk-1.1.8.tar.gz from build tracker '/tmp/pip-build-tracker-gpzm3kp8' 2024-04-16T04:56:28,031 Created temporary directory: /tmp/pip-unpack-vphuno0i 2024-04-16T04:56:28,032 Created temporary directory: /tmp/pip-unpack-v1idq7td 2024-04-16T04:56:28,038 Building wheels for collected packages: funtoo-ramdisk 2024-04-16T04:56:28,043 Created temporary directory: /tmp/pip-wheel-jhjqpz2i 2024-04-16T04:56:28,044 Building wheel for funtoo-ramdisk (setup.py): started 2024-04-16T04:56:28,045 Destination directory: /tmp/pip-wheel-jhjqpz2i 2024-04-16T04:56:28,045 Running command python setup.py bdist_wheel 2024-04-16T04:56:28,488 ========= 2024-04-16T04:56:28,489 ramdisk 2024-04-16T04:56:28,489 ========= 2024-04-16T04:56:28,490 -------------------------------------------------- 2024-04-16T04:56:28,491 create a bootable initial ramdisk 2024-04-16T04:56:28,491 -------------------------------------------------- 2024-04-16T04:56:28,492 :Author: Daniel Robbins 2024-04-16T04:56:28,492 :Copyright: Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-16T04:56:28,493 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-16T04:56:28,493 you may not use this file except in compliance with the License. 2024-04-16T04:56:28,494 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-16T04:56:28,494 :Version: 1.1.8 2024-04-16T04:56:28,495 :Manual section: 8 2024-04-16T04:56:28,495 :Manual group: Funtoo Linux 2024-04-16T04:56:28,497 SYNOPSIS 2024-04-16T04:56:28,497 ======== 2024-04-16T04:56:28,498 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-16T04:56:28,499 ``ramdisk`` list kernels 2024-04-16T04:56:28,501 ``ramdisk`` list plugins 2024-04-16T04:56:28,502 DESCRIPTION 2024-04-16T04:56:28,502 =========== 2024-04-16T04:56:28,503 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-16T04:56:28,504 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-16T04:56:28,505 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-16T04:56:28,506 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-16T04:56:28,507 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-16T04:56:28,507 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-16T04:56:28,508 documentation at https://www.funtoo.org/Install. 2024-04-16T04:56:28,509 CAPABILITIES 2024-04-16T04:56:28,510 ============ 2024-04-16T04:56:28,511 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-16T04:56:28,511 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-16T04:56:28,511 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-16T04:56:28,512 of functions in a support file. 2024-04-16T04:56:28,513 * Copies over the modules you specify -- and automatically figures out any 2024-04-16T04:56:28,514 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-16T04:56:28,514 This eliminates the need to track these dependencies manually. 2024-04-16T04:56:28,516 * Rootless operation. You do not need enhanced privileges to create the 2024-04-16T04:56:28,516 initramfs. 2024-04-16T04:56:28,517 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-16T04:56:28,518 It is written to be easy to understand and adapt. So it's not just short, 2024-04-16T04:56:28,518 but easy to grasp. 2024-04-16T04:56:28,520 * Enhanced module loading engine on the initramfs which is significantly 2024-04-16T04:56:28,520 faster than genkernel. This effectively eliminates the "watching the 2024-04-16T04:56:28,521 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-16T04:56:28,522 systems with NVMe drives will load just a handful of modules to boot 2024-04-16T04:56:28,522 -- all without requiring any special action from the user. 2024-04-16T04:56:28,523 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-16T04:56:28,524 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-16T04:56:28,524 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-16T04:56:28,525 these necessary modules, leaving all other modules to be loaded by 2024-04-16T04:56:28,525 your Funtoo Linux system. 2024-04-16T04:56:28,526 * Effective Python-based command to actually build the ramdisk, which is 2024-04-16T04:56:28,527 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-16T04:56:28,528 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-16T04:56:28,530 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-16T04:56:28,530 initramfs. 2024-04-16T04:56:28,531 * Support for xz and zstd compression. 2024-04-16T04:56:28,532 ACTIONS 2024-04-16T04:56:28,532 ======= 2024-04-16T04:56:28,533 The default action is ``build``, and can be optionally specified, which will 2024-04-16T04:56:28,534 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-16T04:56:28,535 build 2024-04-16T04:56:28,535 ----- 2024-04-16T04:56:28,535 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-16T04:56:28,536 action requires a destination initramfs path. This will be the literal path and 2024-04-16T04:56:28,537 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-16T04:56:28,537 list 2024-04-16T04:56:28,538 ---- 2024-04-16T04:56:28,539 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-16T04:56:28,539 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-16T04:56:28,540 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-16T04:56:28,540 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-16T04:56:28,541 OPTIONS 2024-04-16T04:56:28,542 ======= 2024-04-16T04:56:28,543 --debug Enable debug output. 2024-04-16T04:56:28,544 --backtrace Display full python backtrace/traceback instead of just a 2024-04-16T04:56:28,544 short error summary. 2024-04-16T04:56:28,545 --force Overwrite target initramfs if it exists. 2024-04-16T04:56:28,545 --version Show this program's version number and exit. 2024-04-16T04:56:28,546 --help Show this help message and exit. 2024-04-16T04:56:28,546 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-16T04:56:28,547 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-16T04:56:28,547 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-16T04:56:28,548 kernels``. 2024-04-16T04:56:28,549 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-16T04:56:28,549 ``ramdisk list kernels`` to display available options. The 2024-04-16T04:56:28,550 default setting is to use the current value of the 2024-04-16T04:56:28,550 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-16T04:56:28,551 which kernel to build a ramdisk for. 2024-04-16T04:56:28,551 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-16T04:56:28,552 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-16T04:56:28,553 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-16T04:56:28,554 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-16T04:56:28,554 plugins. 2024-04-16T04:56:28,555 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-16T04:56:28,555 define what kernel modules get copied to the initramfs, and which ones 2024-04-16T04:56:28,555 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-16T04:56:28,556 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-16T04:56:28,556 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-16T04:56:28,557 will allow your root block device and filesystem to be mounted. For example, 2024-04-16T04:56:28,558 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-16T04:56:28,558 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-16T04:56:28,559 a special minimal kernel module config is used instead of what is specified 2024-04-16T04:56:28,559 via ``--kmod_config`` (see above). 2024-04-16T04:56:28,560 USAGE 2024-04-16T04:56:28,561 ===== 2024-04-16T04:56:28,562 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-16T04:56:28,563 $ ramdisk /var/tmp/my-new-initramfs 2024-04-16T04:56:28,564 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-16T04:56:28,565 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-16T04:56:28,566 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-16T04:56:28,566 extract kernel version information, and then find the appropriate directory in 2024-04-16T04:56:28,567 ``/lib/modules/`` for copying modules. You can type: 2024-04-16T04:56:28,567 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-16T04:56:28,568 for a non-default kernel. 2024-04-16T04:56:28,569 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-16T04:56:28,570 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-16T04:56:28,571 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-16T04:56:28,571 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-16T04:56:28,574 ChangeLog 2024-04-16T04:56:28,575 ========= 2024-04-16T04:56:28,576 funtoo-ramdisk 1.1.8 2024-04-16T04:56:28,576 -------------------- 2024-04-16T04:56:28,577 Released on April 16, 2024. 2024-04-16T04:56:28,579 This is a minor bug release. 2024-04-16T04:56:28,580 * Fix for the previous fix. 2024-04-16T04:56:28,582 funtoo-ramdisk 1.1.7 2024-04-16T04:56:28,583 -------------------- 2024-04-16T04:56:28,584 Released on April 15, 2024. 2024-04-16T04:56:28,585 This is a minor bug release. 2024-04-16T04:56:28,586 * Fix a possible issue where ``__pycache__`` directories can mess 2024-04-16T04:56:28,587 up copying of files to the initramfs. 2024-04-16T04:56:28,588 funtoo-ramdisk 1.1.6 2024-04-16T04:56:28,588 -------------------- 2024-04-16T04:56:28,589 Released on April 14, 2024. 2024-04-16T04:56:28,591 This is a maintenance and minor features release. 2024-04-16T04:56:28,592 * Various minor bug fixes. 2024-04-16T04:56:28,593 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-16T04:56:28,594 self-explanatory. 2024-04-16T04:56:28,595 * Continue to flesh out the plugin system. I added support for 2024-04-16T04:56:28,595 plugins to have an activation script which will get executed 2024-04-16T04:56:28,596 on startup. This is a work in progress and I still need to 2024-04-16T04:56:28,597 add support for listing needed modules for a plugin which 2024-04-16T04:56:28,597 will get loaded automatically. 2024-04-16T04:56:28,598 * Fix a bug in argument parsing where the code was not scanning 2024-04-16T04:56:28,598 for invalid options which could result in odd parsing behavior. 2024-04-16T04:56:28,599 * Start adding support for udev. This is not yet completed but 2024-04-16T04:56:28,600 the plugin system for this has been incorporated into the 2024-04-16T04:56:28,600 linuxrc. 2024-04-16T04:56:28,602 funtoo-ramdisk 1.1.5 2024-04-16T04:56:28,602 -------------------- 2024-04-16T04:56:28,603 Released on September 15, 2023. 2024-04-16T04:56:28,604 This is a packaging fix for the manpage. 2024-04-16T04:56:28,605 funtoo-ramdisk 1.1.4 2024-04-16T04:56:28,606 -------------------- 2024-04-16T04:56:28,607 Released on September 15, 2023. 2024-04-16T04:56:28,608 This release adds a "ramdisk" man page. 2024-04-16T04:56:28,609 funtoo-ramdisk 1.1.3 2024-04-16T04:56:28,610 -------------------- 2024-04-16T04:56:28,611 Released on September 14, 2023. 2024-04-16T04:56:28,611 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-16T04:56:28,612 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-16T04:56:28,612 we were just running it to convieniently spit out the UUID for 2024-04-16T04:56:28,613 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-16T04:56:28,613 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-16T04:56:28,615 funtoo-ramdisk 1.1.2 2024-04-16T04:56:28,616 -------------------- 2024-04-16T04:56:28,617 Released on September 4, 2023. 2024-04-16T04:56:28,618 * Fix exit code (zero on success.) 2024-04-16T04:56:28,620 funtoo-ramdisk 1.1.1 2024-04-16T04:56:28,620 -------------------- 2024-04-16T04:56:28,621 Released on September 4, 2023. 2024-04-16T04:56:28,622 Fix three bugs: 2024-04-16T04:56:28,624 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-16T04:56:28,625 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-16T04:56:28,625 handle this situation gracefully. This situation may exist during 2024-04-16T04:56:28,626 metro builds on incomplete systems. (2 bugs fixed). 2024-04-16T04:56:28,628 funtoo-ramdisk 1.1.0 2024-04-16T04:56:28,629 -------------------- 2024-04-16T04:56:28,630 Released on September 3, 2023. 2024-04-16T04:56:28,631 * Add plugin system for ramdisk: 2024-04-16T04:56:28,632 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-16T04:56:28,633 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-16T04:56:28,633 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-16T04:56:28,634 just ensure necessary binaries are copied over (no extra setup commands 2024-04-16T04:56:28,634 are run by the initramfs.) 2024-04-16T04:56:28,635 This is a starting point for enabling support for advanced 2024-04-16T04:56:28,636 features on the initramfs. 2024-04-16T04:56:28,637 * New "module configurations". The default module configuration is "full", 2024-04-16T04:56:28,638 which means "make a ramdisk with lots of modules to support a lot of 2024-04-16T04:56:28,639 hardware." Different module configurations can be added in the future. 2024-04-16T04:56:28,639 Module configurations can be specified via ``--kmod_config=``. 2024-04-16T04:56:28,640 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-16T04:56:28,641 dynamic module configuration via the command-line, rather than via 2024-04-16T04:56:28,641 static config files. 2024-04-16T04:56:28,643 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-16T04:56:28,643 modules (and their dependencies) will be included. This can dramatically 2024-04-16T04:56:28,644 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-16T04:56:28,645 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-16T04:56:28,646 so it's only for known-good configurations. Enabling this feature also 2024-04-16T04:56:28,646 disables any static module configuration (see above.) 2024-04-16T04:56:28,648 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-16T04:56:28,648 created and programmatic decisions can be made. Previously, we used a 2024-04-16T04:56:28,649 static list. This allows us to use ``lvm.static`` if available, but 2024-04-16T04:56:28,649 fall back to dynamic ``lvm``, for example. 2024-04-16T04:56:28,650 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-16T04:56:28,651 basic name, not just via its full path or glob, was added to 2024-04-16T04:56:28,651 ``modules.copy``. 2024-04-16T04:56:28,652 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-16T04:56:28,653 as dynamically-generated line data rather than just as static files 2024-04-16T04:56:28,654 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-16T04:56:28,655 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-16T04:56:28,655 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-16T04:56:28,655 groups to determine these. 2024-04-16T04:56:28,656 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-16T04:56:28,657 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-16T04:56:28,657 prints the available kernel names which can be copy/pasted for the 2024-04-16T04:56:28,658 ``--kernel`` option. 2024-04-16T04:56:28,659 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-16T04:56:28,660 using. 2024-04-16T04:56:28,661 * Lots of code organized into their own ``.py`` files. 2024-04-16T04:56:28,662 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-16T04:56:28,663 set up at all if doing a metro build. 2024-04-16T04:56:28,664 * Disable colors if we don't have an interactive shell. 2024-04-16T04:56:28,667 funtoo-ramdisk 1.0.7 2024-04-16T04:56:28,667 -------------------- 2024-04-16T04:56:28,669 Released on August 22, 2023. 2024-04-16T04:56:28,670 Changes: 2024-04-16T04:56:28,671 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-16T04:56:28,672 specifies where modules *and* the kernel sources will be. This 2024-04-16T04:56:28,673 allows the tool to work from an ebuild. 2024-04-16T04:56:28,675 * Improve output and add nice colors. Optimize information to be 2024-04-16T04:56:28,675 more useful to users. 2024-04-16T04:56:28,677 funtoo-ramdisk 1.0.6 2024-04-16T04:56:28,677 -------------------- 2024-04-16T04:56:28,678 Released on August 21, 2023. 2024-04-16T04:56:28,680 Two new options: 2024-04-16T04:56:28,681 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-16T04:56:28,681 It defaults to ``/``. 2024-04-16T04:56:28,683 * ``--temp_root`` to set the default path to use for creating a 2024-04-16T04:56:28,683 temporary directory. It defaults to ``/var/tmp``. 2024-04-16T04:56:28,684 funtoo-ramdisk 1.0.5 2024-04-16T04:56:28,685 -------------------- 2024-04-16T04:56:28,686 Released on August 21, 2023. 2024-04-16T04:56:28,688 This is a features/maintenance/bug fix release. 2024-04-16T04:56:28,689 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-16T04:56:28,690 view in the git history, the following significant changes were 2024-04-16T04:56:28,691 made: 2024-04-16T04:56:28,692 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-16T04:56:28,693 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-16T04:56:28,693 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-16T04:56:28,694 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-16T04:56:28,695 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-16T04:56:28,696 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-16T04:56:28,697 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-16T04:56:28,697 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-16T04:56:28,697 ramdisk script. 2024-04-16T04:56:28,699 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-16T04:56:28,700 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-16T04:56:28,700 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-16T04:56:28,701 before starting a rescue shell, to give the kernel time to enumerate 2024-04-16T04:56:28,701 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-16T04:56:28,702 the problem of ``ash`` starting and not having any way to type, because 2024-04-16T04:56:28,702 it didn't connect to your main keyboard. 2024-04-16T04:56:28,703 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-16T04:56:28,704 prevent the root filesystem from being mounted (see FL-11532). 2024-04-16T04:56:28,705 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-16T04:56:28,706 this is not a good idea, and can cause problems if you have multiple 2024-04-16T04:56:28,706 disks. Show them how to fix the problem by switching to UUID. 2024-04-16T04:56:28,708 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-16T04:56:28,708 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-16T04:56:28,709 with a SATA disk. 2024-04-16T04:56:28,710 * To implement above feature, added a feature to allow masking of modules in 2024-04-16T04:56:28,711 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-16T04:56:28,711 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-16T04:56:28,712 wrong section, so it still gets included on the initramfs due to other 2024-04-16T04:56:28,713 section(s), we will warn you. 2024-04-16T04:56:28,715 funtoo-ramdisk 1.0.4 2024-04-16T04:56:28,715 -------------------- 2024-04-16T04:56:28,716 Released on August 18, 2023. 2024-04-16T04:56:28,718 This is a maintenance/bug fix release. 2024-04-16T04:56:28,719 * Fix ability to run from the git repo. This wasn't working. 2024-04-16T04:56:28,720 * Fix issue found by grouche, where if a module is built-in to the 2024-04-16T04:56:28,720 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-16T04:56:28,721 an error because it would think it's not copied to the initramfs. 2024-04-16T04:56:28,722 We now read in the ``modules.builtin`` file and use this in the 2024-04-16T04:56:28,722 internal logic -- if a module is built-in to the kernel, we can 2024-04-16T04:56:28,723 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-16T04:56:28,723 We will also not worry about trying to load it at boot. 2024-04-16T04:56:28,724 * Add a debug output whenever a module is referenced that is actually 2024-04-16T04:56:28,725 a built-in. This helps to audit the behavior of the above 2024-04-16T04:56:28,725 functionality and could be useful to users of the tool as well. 2024-04-16T04:56:28,726 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-16T04:56:28,727 warning. Looks a bit nicer. 2024-04-16T04:56:29,291 running bdist_wheel 2024-04-16T04:56:29,388 running build 2024-04-16T04:56:29,389 running build_py 2024-04-16T04:56:29,417 creating build 2024-04-16T04:56:29,417 creating build/lib 2024-04-16T04:56:29,418 creating build/lib/funtoo_ramdisk 2024-04-16T04:56:29,420 copying funtoo_ramdisk/kernel.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,423 copying funtoo_ramdisk/utilities.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,424 copying funtoo_ramdisk/initramfs.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,427 copying funtoo_ramdisk/plugin_base.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,429 copying funtoo_ramdisk/version.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,430 copying funtoo_ramdisk/__init__.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,432 copying funtoo_ramdisk/config_files.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,434 copying funtoo_ramdisk/const.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,436 copying funtoo_ramdisk/args.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,438 copying funtoo_ramdisk/log.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,440 copying funtoo_ramdisk/modules.py -> build/lib/funtoo_ramdisk 2024-04-16T04:56:29,443 creating build/lib/funtoo_ramdisk/support 2024-04-16T04:56:29,444 copying funtoo_ramdisk/support/__init__.py -> build/lib/funtoo_ramdisk/support 2024-04-16T04:56:29,447 creating build/lib/funtoo_ramdisk/plugins 2024-04-16T04:56:29,448 copying funtoo_ramdisk/plugins/lvm.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T04:56:29,450 copying funtoo_ramdisk/plugins/__init__.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T04:56:29,452 copying funtoo_ramdisk/plugins/core.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T04:56:29,453 copying funtoo_ramdisk/plugins/btrfs.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T04:56:29,455 creating build/lib/funtoo_ramdisk/support/module_configs 2024-04-16T04:56:29,456 copying funtoo_ramdisk/support/module_configs/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs 2024-04-16T04:56:29,459 creating build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,460 copying funtoo_ramdisk/support/module_configs/full/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,461 running egg_info 2024-04-16T04:56:29,743 writing funtoo_ramdisk.egg-info/PKG-INFO 2024-04-16T04:56:29,748 writing dependency_links to funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-16T04:56:29,750 writing requirements to funtoo_ramdisk.egg-info/requires.txt 2024-04-16T04:56:29,751 writing top-level names to funtoo_ramdisk.egg-info/top_level.txt 2024-04-16T04:56:29,783 reading manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T04:56:29,787 reading manifest template 'MANIFEST.in' 2024-04-16T04:56:29,796 warning: no files found matching 'COPYRIGHT.rst' 2024-04-16T04:56:29,799 writing manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T04:56:29,802 /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-16T04:56:29,802 !! 2024-04-16T04:56:29,804 ******************************************************************************** 2024-04-16T04:56:29,804 ############################ 2024-04-16T04:56:29,805 # Package would be ignored # 2024-04-16T04:56:29,805 ############################ 2024-04-16T04:56:29,806 Python recognizes 'funtoo_ramdisk.support.etc' as an importable package[^1], 2024-04-16T04:56:29,806 but it is absent from setuptools' `packages` configuration. 2024-04-16T04:56:29,807 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-16T04:56:29,808 package, please make sure that 'funtoo_ramdisk.support.etc' is explicitly added 2024-04-16T04:56:29,808 to the `packages` configuration field. 2024-04-16T04:56:29,810 Alternatively, you can also rely on setuptools' discovery methods 2024-04-16T04:56:29,810 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-16T04:56:29,811 instead of `find_packages(...)`/`find:`). 2024-04-16T04:56:29,812 You can read more about "package discovery" on setuptools documentation page: 2024-04-16T04:56:29,813 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-16T04:56:29,814 If you don't want 'funtoo_ramdisk.support.etc' to be distributed and are 2024-04-16T04:56:29,814 already explicitly excluding 'funtoo_ramdisk.support.etc' via 2024-04-16T04:56:29,815 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-16T04:56:29,815 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-16T04:56:29,816 combination with a more fine grained `package-data` configuration. 2024-04-16T04:56:29,817 You can read more about "package data files" on setuptools documentation page: 2024-04-16T04:56:29,818 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-16T04:56:29,819 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-16T04:56:29,820 even if it does not contain any `.py` files. 2024-04-16T04:56:29,820 On the other hand, currently there is no concept of package data 2024-04-16T04:56:29,821 directory, all directories are treated like packages. 2024-04-16T04:56:29,821 ******************************************************************************** 2024-04-16T04:56:29,822 !! 2024-04-16T04:56:29,823 check.warn(importable) 2024-04-16T04:56:29,823 /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-16T04:56:29,824 !! 2024-04-16T04:56:29,825 ******************************************************************************** 2024-04-16T04:56:29,826 ############################ 2024-04-16T04:56:29,826 # Package would be ignored # 2024-04-16T04:56:29,827 ############################ 2024-04-16T04:56:29,827 Python recognizes 'funtoo_ramdisk.support.etc.plugins' as an importable package[^1], 2024-04-16T04:56:29,828 but it is absent from setuptools' `packages` configuration. 2024-04-16T04:56:29,829 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-16T04:56:29,830 package, please make sure that 'funtoo_ramdisk.support.etc.plugins' is explicitly added 2024-04-16T04:56:29,830 to the `packages` configuration field. 2024-04-16T04:56:29,832 Alternatively, you can also rely on setuptools' discovery methods 2024-04-16T04:56:29,832 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-16T04:56:29,833 instead of `find_packages(...)`/`find:`). 2024-04-16T04:56:29,834 You can read more about "package discovery" on setuptools documentation page: 2024-04-16T04:56:29,835 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-16T04:56:29,836 If you don't want 'funtoo_ramdisk.support.etc.plugins' to be distributed and are 2024-04-16T04:56:29,837 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins' via 2024-04-16T04:56:29,837 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-16T04:56:29,838 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-16T04:56:29,838 combination with a more fine grained `package-data` configuration. 2024-04-16T04:56:29,839 You can read more about "package data files" on setuptools documentation page: 2024-04-16T04:56:29,841 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-16T04:56:29,842 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-16T04:56:29,843 even if it does not contain any `.py` files. 2024-04-16T04:56:29,844 On the other hand, currently there is no concept of package data 2024-04-16T04:56:29,844 directory, all directories are treated like packages. 2024-04-16T04:56:29,844 ******************************************************************************** 2024-04-16T04:56:29,845 !! 2024-04-16T04:56:29,846 check.warn(importable) 2024-04-16T04:56:29,846 /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-16T04:56:29,847 !! 2024-04-16T04:56:29,847 ******************************************************************************** 2024-04-16T04:56:29,848 ############################ 2024-04-16T04:56:29,848 # Package would be ignored # 2024-04-16T04:56:29,849 ############################ 2024-04-16T04:56:29,849 Python recognizes 'funtoo_ramdisk.support.etc.plugins.scan_mode' as an importable package[^1], 2024-04-16T04:56:29,850 but it is absent from setuptools' `packages` configuration. 2024-04-16T04:56:29,851 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-16T04:56:29,851 package, please make sure that 'funtoo_ramdisk.support.etc.plugins.scan_mode' is explicitly added 2024-04-16T04:56:29,852 to the `packages` configuration field. 2024-04-16T04:56:29,853 Alternatively, you can also rely on setuptools' discovery methods 2024-04-16T04:56:29,853 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-16T04:56:29,854 instead of `find_packages(...)`/`find:`). 2024-04-16T04:56:29,855 You can read more about "package discovery" on setuptools documentation page: 2024-04-16T04:56:29,856 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-16T04:56:29,857 If you don't want 'funtoo_ramdisk.support.etc.plugins.scan_mode' to be distributed and are 2024-04-16T04:56:29,857 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins.scan_mode' via 2024-04-16T04:56:29,858 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-16T04:56:29,858 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-16T04:56:29,859 combination with a more fine grained `package-data` configuration. 2024-04-16T04:56:29,860 You can read more about "package data files" on setuptools documentation page: 2024-04-16T04:56:29,861 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-16T04:56:29,863 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-16T04:56:29,864 even if it does not contain any `.py` files. 2024-04-16T04:56:29,864 On the other hand, currently there is no concept of package data 2024-04-16T04:56:29,865 directory, all directories are treated like packages. 2024-04-16T04:56:29,865 ******************************************************************************** 2024-04-16T04:56:29,866 !! 2024-04-16T04:56:29,867 check.warn(importable) 2024-04-16T04:56:29,867 copying funtoo_ramdisk/support/initramfs.cpio -> build/lib/funtoo_ramdisk/support 2024-04-16T04:56:29,868 copying funtoo_ramdisk/support/linuxrc -> build/lib/funtoo_ramdisk/support 2024-04-16T04:56:29,869 creating build/lib/funtoo_ramdisk/support/etc 2024-04-16T04:56:29,869 copying funtoo_ramdisk/support/etc/initrd.defaults -> build/lib/funtoo_ramdisk/support/etc 2024-04-16T04:56:29,870 copying funtoo_ramdisk/support/etc/initrd.scripts -> build/lib/funtoo_ramdisk/support/etc 2024-04-16T04:56:29,870 creating build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-16T04:56:29,871 copying funtoo_ramdisk/support/etc/plugins/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-16T04:56:29,871 creating build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T04:56:29,872 copying funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T04:56:29,873 copying funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T04:56:29,873 copying funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T04:56:29,874 copying funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,874 copying funtoo_ramdisk/support/module_configs/full/modules.copy -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,874 running build_scripts 2024-04-16T04:56:29,875 creating build/scripts-3.11 2024-04-16T04:56:29,875 copying and adjusting bin/ramdisk -> build/scripts-3.11 2024-04-16T04:56:29,876 changing mode of build/scripts-3.11/ramdisk from 644 to 755 2024-04-16T04:56:29,881 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2024-04-16T04:56:29,881 !! 2024-04-16T04:56:29,882 ******************************************************************************** 2024-04-16T04:56:29,883 Please avoid running ``setup.py`` directly. 2024-04-16T04:56:29,883 Instead, use pypa/build, pypa/installer or other 2024-04-16T04:56:29,883 standards-based tools. 2024-04-16T04:56:29,884 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2024-04-16T04:56:29,885 ******************************************************************************** 2024-04-16T04:56:29,886 !! 2024-04-16T04:56:29,887 self.initialize_options() 2024-04-16T04:56:29,908 installing to build/bdist.linux-armv7l/wheel 2024-04-16T04:56:29,908 running install 2024-04-16T04:56:29,932 running install_lib 2024-04-16T04:56:29,958 creating build/bdist.linux-armv7l 2024-04-16T04:56:29,958 creating build/bdist.linux-armv7l/wheel 2024-04-16T04:56:29,961 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:29,962 copying build/lib/funtoo_ramdisk/kernel.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:29,964 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T04:56:29,966 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-16T04:56:29,968 copying build/lib/funtoo_ramdisk/support/module_configs/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-16T04:56:29,971 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,972 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,974 copying build/lib/funtoo_ramdisk/support/module_configs/full/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,976 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.copy -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T04:56:29,979 copying build/lib/funtoo_ramdisk/support/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T04:56:29,982 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-16T04:56:29,983 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-16T04:56:29,984 copying build/lib/funtoo_ramdisk/support/etc/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-16T04:56:29,986 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T04:56:29,987 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-16T04:56:29,989 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-16T04:56:29,991 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-16T04:56:29,992 copying build/lib/funtoo_ramdisk/support/etc/initrd.scripts -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-16T04:56:29,994 copying build/lib/funtoo_ramdisk/support/etc/initrd.defaults -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-16T04:56:29,996 copying build/lib/funtoo_ramdisk/support/linuxrc -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T04:56:29,999 copying build/lib/funtoo_ramdisk/support/initramfs.cpio -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T04:56:30,001 copying build/lib/funtoo_ramdisk/utilities.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,003 copying build/lib/funtoo_ramdisk/initramfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,006 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T04:56:30,007 copying build/lib/funtoo_ramdisk/plugins/lvm.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T04:56:30,009 copying build/lib/funtoo_ramdisk/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T04:56:30,011 copying build/lib/funtoo_ramdisk/plugins/core.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T04:56:30,014 copying build/lib/funtoo_ramdisk/plugins/btrfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T04:56:30,016 copying build/lib/funtoo_ramdisk/plugin_base.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,018 copying build/lib/funtoo_ramdisk/version.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,021 copying build/lib/funtoo_ramdisk/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,023 copying build/lib/funtoo_ramdisk/config_files.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,025 copying build/lib/funtoo_ramdisk/const.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,027 copying build/lib/funtoo_ramdisk/args.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,029 copying build/lib/funtoo_ramdisk/log.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,031 copying build/lib/funtoo_ramdisk/modules.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T04:56:30,034 running install_egg_info 2024-04-16T04:56:30,067 Copying funtoo_ramdisk.egg-info to build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.8-py3.11.egg-info 2024-04-16T04:56:30,078 running install_scripts 2024-04-16T04:56:30,080 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.8.data 2024-04-16T04:56:30,080 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.8.data/scripts 2024-04-16T04:56:30,081 copying build/scripts-3.11/ramdisk -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.8.data/scripts 2024-04-16T04:56:30,084 changing mode of build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.8.data/scripts/ramdisk to 755 2024-04-16T04:56:30,100 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.8.dist-info/WHEEL 2024-04-16T04:56:30,103 creating '/tmp/pip-wheel-jhjqpz2i/funtoo_ramdisk-1.1.8-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2024-04-16T04:56:30,106 adding 'funtoo_ramdisk/__init__.py' 2024-04-16T04:56:30,108 adding 'funtoo_ramdisk/args.py' 2024-04-16T04:56:30,109 adding 'funtoo_ramdisk/config_files.py' 2024-04-16T04:56:30,111 adding 'funtoo_ramdisk/const.py' 2024-04-16T04:56:30,113 adding 'funtoo_ramdisk/initramfs.py' 2024-04-16T04:56:30,114 adding 'funtoo_ramdisk/kernel.py' 2024-04-16T04:56:30,116 adding 'funtoo_ramdisk/log.py' 2024-04-16T04:56:30,118 adding 'funtoo_ramdisk/modules.py' 2024-04-16T04:56:30,120 adding 'funtoo_ramdisk/plugin_base.py' 2024-04-16T04:56:30,121 adding 'funtoo_ramdisk/utilities.py' 2024-04-16T04:56:30,122 adding 'funtoo_ramdisk/version.py' 2024-04-16T04:56:30,123 adding 'funtoo_ramdisk/plugins/__init__.py' 2024-04-16T04:56:30,124 adding 'funtoo_ramdisk/plugins/btrfs.py' 2024-04-16T04:56:30,125 adding 'funtoo_ramdisk/plugins/core.py' 2024-04-16T04:56:30,127 adding 'funtoo_ramdisk/plugins/lvm.py' 2024-04-16T04:56:30,128 adding 'funtoo_ramdisk/support/__init__.py' 2024-04-16T04:56:30,130 adding 'funtoo_ramdisk/support/initramfs.cpio' 2024-04-16T04:56:30,131 adding 'funtoo_ramdisk/support/linuxrc' 2024-04-16T04:56:30,133 adding 'funtoo_ramdisk/support/etc/initrd.defaults' 2024-04-16T04:56:30,134 adding 'funtoo_ramdisk/support/etc/initrd.scripts' 2024-04-16T04:56:30,136 adding 'funtoo_ramdisk/support/etc/plugins/__init__.py' 2024-04-16T04:56:30,137 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py' 2024-04-16T04:56:30,138 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh' 2024-04-16T04:56:30,140 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh' 2024-04-16T04:56:30,141 adding 'funtoo_ramdisk/support/module_configs/__init__.py' 2024-04-16T04:56:30,143 adding 'funtoo_ramdisk/support/module_configs/full/__init__.py' 2024-04-16T04:56:30,144 adding 'funtoo_ramdisk/support/module_configs/full/modules.autoload' 2024-04-16T04:56:30,145 adding 'funtoo_ramdisk/support/module_configs/full/modules.copy' 2024-04-16T04:56:30,147 adding 'funtoo_ramdisk-1.1.8.data/scripts/ramdisk' 2024-04-16T04:56:30,151 adding 'funtoo_ramdisk-1.1.8.dist-info/METADATA' 2024-04-16T04:56:30,152 adding 'funtoo_ramdisk-1.1.8.dist-info/WHEEL' 2024-04-16T04:56:30,153 adding 'funtoo_ramdisk-1.1.8.dist-info/top_level.txt' 2024-04-16T04:56:30,155 adding 'funtoo_ramdisk-1.1.8.dist-info/RECORD' 2024-04-16T04:56:30,157 removing build/bdist.linux-armv7l/wheel 2024-04-16T04:56:30,281 Building wheel for funtoo-ramdisk (setup.py): finished with status 'done' 2024-04-16T04:56:30,284 Created wheel for funtoo-ramdisk: filename=funtoo_ramdisk-1.1.8-py3-none-any.whl size=35311 sha256=da8ddbba5474164d16c3bb7a7a427a6a71b56d10ee31558e954d3028b4eaa1f6 2024-04-16T04:56:30,285 Stored in directory: /tmp/pip-ephem-wheel-cache-n12n8yju/wheels/7d/d6/22/3e532eaed778b238643c92726ae8c8eadcdd355213a48601b1 2024-04-16T04:56:30,298 Successfully built funtoo-ramdisk 2024-04-16T04:56:30,303 Removed build tracker: '/tmp/pip-build-tracker-gpzm3kp8'