2024-04-16T20:51:28,761 Created temporary directory: /tmp/pip-build-tracker-1iyd8zm0 2024-04-16T20:51:28,762 Initialized build tracking at /tmp/pip-build-tracker-1iyd8zm0 2024-04-16T20:51:28,762 Created build tracker: /tmp/pip-build-tracker-1iyd8zm0 2024-04-16T20:51:28,763 Entered build tracker: /tmp/pip-build-tracker-1iyd8zm0 2024-04-16T20:51:28,764 Created temporary directory: /tmp/pip-wheel-j6iilqsp 2024-04-16T20:51:28,767 Created temporary directory: /tmp/pip-ephem-wheel-cache-fuakt328 2024-04-16T20:51:28,790 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-04-16T20:51:28,793 2 location(s) to search for versions of funtoo-ramdisk: 2024-04-16T20:51:28,793 * https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:28,793 * https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:28,795 Fetching project page and analyzing links: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:28,796 Getting page https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:28,797 Found index url https://pypi.org/simple/ 2024-04-16T20:51:29,010 Fetched page https://pypi.org/simple/funtoo-ramdisk/ as application/vnd.pypi.simple.v1+json 2024-04-16T20:51:29,015 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-16T20:51:29,016 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-16T20:51:29,017 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-16T20:51:29,018 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-16T20:51:29,019 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-16T20:51:29,020 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-16T20:51:29,021 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-16T20:51:29,022 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-16T20:51:29,023 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-16T20:51:29,024 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-16T20:51:29,025 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-16T20:51:29,026 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-16T20:51:29,027 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-16T20:51:29,029 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-16T20:51:29,030 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-16T20:51:29,031 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-16T20:51:29,031 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-16T20:51:29,032 Found link https://files.pythonhosted.org/packages/dd/08/9f1cdd46afa442da53cf8c4372adc9059d36e9e99c7fd438132df3f19a43/funtoo_ramdisk-1.1.9.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.9 2024-04-16T20:51:29,033 Fetching project page and analyzing links: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:29,034 Getting page https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:29,035 Found index url https://www.piwheels.org/simple/ 2024-04-16T20:51:29,236 Fetched page https://www.piwheels.org/simple/funtoo-ramdisk/ as text/html 2024-04-16T20:51:29,241 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.8-py3-none-any.whl#sha256=da8ddbba5474164d16c3bb7a7a427a6a71b56d10ee31558e954d3028b4eaa1f6 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-16T20:51:29,242 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-16T20:51:29,243 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-16T20:51:29,243 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-16T20:51:29,244 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-16T20:51:29,244 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-16T20:51:29,245 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-16T20:51:29,246 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-16T20:51:29,247 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-16T20:51:29,247 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-16T20:51:29,248 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-16T20:51:29,248 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-16T20:51:29,249 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-16T20:51:29,249 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-16T20:51:29,250 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-16T20:51:29,250 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-16T20:51:29,251 Skipping link: not a file: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:29,252 Skipping link: not a file: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-16T20:51:29,272 Given no hashes to check 1 links for project 'funtoo-ramdisk': discarding no candidates 2024-04-16T20:51:29,291 Collecting funtoo-ramdisk==1.1.9 2024-04-16T20:51:29,293 Created temporary directory: /tmp/pip-unpack-gz7pzp4l 2024-04-16T20:51:29,504 Downloading funtoo_ramdisk-1.1.9.tar.gz (37 kB) 2024-04-16T20:51:29,631 Added funtoo-ramdisk==1.1.9 from https://files.pythonhosted.org/packages/dd/08/9f1cdd46afa442da53cf8c4372adc9059d36e9e99c7fd438132df3f19a43/funtoo_ramdisk-1.1.9.tar.gz to build tracker '/tmp/pip-build-tracker-1iyd8zm0' 2024-04-16T20:51:29,633 Running setup.py (path:/tmp/pip-wheel-j6iilqsp/funtoo-ramdisk_5beaa71313fc443b9947f4f8a6a68865/setup.py) egg_info for package funtoo-ramdisk 2024-04-16T20:51:29,634 Created temporary directory: /tmp/pip-pip-egg-info-00nhs0jr 2024-04-16T20:51:29,635 Preparing metadata (setup.py): started 2024-04-16T20:51:29,637 Running command python setup.py egg_info 2024-04-16T20:51:30,111 ========= 2024-04-16T20:51:30,111 ramdisk 2024-04-16T20:51:30,112 ========= 2024-04-16T20:51:30,113 -------------------------------------------------- 2024-04-16T20:51:30,113 create a bootable initial ramdisk 2024-04-16T20:51:30,114 -------------------------------------------------- 2024-04-16T20:51:30,115 :Author: Daniel Robbins 2024-04-16T20:51:30,115 :Copyright: Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-16T20:51:30,115 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-16T20:51:30,116 you may not use this file except in compliance with the License. 2024-04-16T20:51:30,116 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-16T20:51:30,117 :Version: 1.1.9 2024-04-16T20:51:30,117 :Manual section: 8 2024-04-16T20:51:30,118 :Manual group: Funtoo Linux 2024-04-16T20:51:30,119 SYNOPSIS 2024-04-16T20:51:30,119 ======== 2024-04-16T20:51:30,120 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-16T20:51:30,121 ``ramdisk`` list kernels 2024-04-16T20:51:30,122 ``ramdisk`` list plugins 2024-04-16T20:51:30,123 DESCRIPTION 2024-04-16T20:51:30,123 =========== 2024-04-16T20:51:30,124 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-16T20:51:30,125 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-16T20:51:30,126 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-16T20:51:30,126 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-16T20:51:30,127 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-16T20:51:30,128 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-16T20:51:30,129 documentation at https://www.funtoo.org/Install. 2024-04-16T20:51:30,130 CAPABILITIES 2024-04-16T20:51:30,130 ============ 2024-04-16T20:51:30,131 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-16T20:51:30,132 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-16T20:51:30,133 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-16T20:51:30,133 of functions in a support file. 2024-04-16T20:51:30,134 * Copies over the modules you specify -- and automatically figures out any 2024-04-16T20:51:30,135 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-16T20:51:30,136 This eliminates the need to track these dependencies manually. 2024-04-16T20:51:30,137 * Rootless operation. You do not need enhanced privileges to create the 2024-04-16T20:51:30,137 initramfs. 2024-04-16T20:51:30,139 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-16T20:51:30,139 It is written to be easy to understand and adapt. So it's not just short, 2024-04-16T20:51:30,140 but easy to grasp. 2024-04-16T20:51:30,141 * Enhanced module loading engine on the initramfs which is significantly 2024-04-16T20:51:30,141 faster than genkernel. This effectively eliminates the "watching the 2024-04-16T20:51:30,142 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-16T20:51:30,142 systems with NVMe drives will load just a handful of modules to boot 2024-04-16T20:51:30,143 -- all without requiring any special action from the user. 2024-04-16T20:51:30,144 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-16T20:51:30,145 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-16T20:51:30,145 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-16T20:51:30,146 these necessary modules, leaving all other modules to be loaded by 2024-04-16T20:51:30,147 your Funtoo Linux system. 2024-04-16T20:51:30,148 * Effective Python-based command to actually build the ramdisk, which is 2024-04-16T20:51:30,149 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-16T20:51:30,149 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-16T20:51:30,150 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-16T20:51:30,151 initramfs. 2024-04-16T20:51:30,152 * Support for xz and zstd compression. 2024-04-16T20:51:30,152 ACTIONS 2024-04-16T20:51:30,153 ======= 2024-04-16T20:51:30,154 The default action is ``build``, and can be optionally specified, which will 2024-04-16T20:51:30,154 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-16T20:51:30,155 build 2024-04-16T20:51:30,155 ----- 2024-04-16T20:51:30,156 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-16T20:51:30,156 action requires a destination initramfs path. This will be the literal path and 2024-04-16T20:51:30,157 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-16T20:51:30,158 list 2024-04-16T20:51:30,158 ---- 2024-04-16T20:51:30,159 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-16T20:51:30,159 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-16T20:51:30,160 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-16T20:51:30,160 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-16T20:51:30,161 OPTIONS 2024-04-16T20:51:30,162 ======= 2024-04-16T20:51:30,163 --debug Enable debug output. 2024-04-16T20:51:30,163 --backtrace Display full python backtrace/traceback instead of just a 2024-04-16T20:51:30,164 short error summary. 2024-04-16T20:51:30,165 --force Overwrite target initramfs if it exists. 2024-04-16T20:51:30,165 --keep Keep the temporary directory after execution for investigation/debugging. 2024-04-16T20:51:30,166 --version Show this program's version number and exit. 2024-04-16T20:51:30,166 --help Show this help message and exit. 2024-04-16T20:51:30,167 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-16T20:51:30,167 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-16T20:51:30,168 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-16T20:51:30,168 kernels``. 2024-04-16T20:51:30,169 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-16T20:51:30,170 ``ramdisk list kernels`` to display available options. The 2024-04-16T20:51:30,170 default setting is to use the current value of the 2024-04-16T20:51:30,171 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-16T20:51:30,172 which kernel to build a ramdisk for. 2024-04-16T20:51:30,172 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-16T20:51:30,173 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-16T20:51:30,173 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-16T20:51:30,174 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-16T20:51:30,175 plugins. 2024-04-16T20:51:30,178 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-16T20:51:30,179 define what kernel modules get copied to the initramfs, and which ones 2024-04-16T20:51:30,179 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-16T20:51:30,180 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-16T20:51:30,181 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-16T20:51:30,181 will allow your root block device and filesystem to be mounted. For example, 2024-04-16T20:51:30,182 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-16T20:51:30,182 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-16T20:51:30,182 a special minimal kernel module config is used instead of what is specified 2024-04-16T20:51:30,183 via ``--kmod_config`` (see above). 2024-04-16T20:51:30,184 USAGE 2024-04-16T20:51:30,184 ===== 2024-04-16T20:51:30,185 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-16T20:51:30,186 $ ramdisk /var/tmp/my-new-initramfs 2024-04-16T20:51:30,186 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-16T20:51:30,187 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-16T20:51:30,188 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-16T20:51:30,188 extract kernel version information, and then find the appropriate directory in 2024-04-16T20:51:30,189 ``/lib/modules/`` for copying modules. You can type: 2024-04-16T20:51:30,189 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-16T20:51:30,190 for a non-default kernel. 2024-04-16T20:51:30,191 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-16T20:51:30,192 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-16T20:51:30,193 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-16T20:51:30,193 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-16T20:51:30,196 ChangeLog 2024-04-16T20:51:30,197 ========= 2024-04-16T20:51:30,198 funtoo-ramdisk 1.1.9 2024-04-16T20:51:30,199 -------------------- 2024-04-16T20:51:30,200 Released on April 16, 2024. 2024-04-16T20:51:30,201 This is a minor feature release. 2024-04-16T20:51:30,202 * Add a ``--keep`` option which will preserve the contents of the 2024-04-16T20:51:30,203 temporary directory so that errors and tracebacks can be investigated. 2024-04-16T20:51:30,203 This can be enabled via ebuilds to allow exploration of any ramdisk- 2024-04-16T20:51:30,204 related errors. 2024-04-16T20:51:30,205 * Improve handling of a permissions error when copying the ramdisk to 2024-04-16T20:51:30,206 a final location (provide error message instead of full traceback.) 2024-04-16T20:51:30,207 funtoo-ramdisk 1.1.8 2024-04-16T20:51:30,207 -------------------- 2024-04-16T20:51:30,208 Released on April 16, 2024. 2024-04-16T20:51:30,209 This is a minor bug release. 2024-04-16T20:51:30,211 * Fix for the previous fix. 2024-04-16T20:51:30,212 funtoo-ramdisk 1.1.7 2024-04-16T20:51:30,212 -------------------- 2024-04-16T20:51:30,214 Released on April 15, 2024. 2024-04-16T20:51:30,215 This is a minor bug release. 2024-04-16T20:51:30,217 * Fix a possible issue where ``__pycache__`` directories can mess 2024-04-16T20:51:30,217 up copying of files to the initramfs. 2024-04-16T20:51:30,218 funtoo-ramdisk 1.1.6 2024-04-16T20:51:30,219 -------------------- 2024-04-16T20:51:30,220 Released on April 14, 2024. 2024-04-16T20:51:30,221 This is a maintenance and minor features release. 2024-04-16T20:51:30,223 * Various minor bug fixes. 2024-04-16T20:51:30,225 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-16T20:51:30,226 self-explanatory. 2024-04-16T20:51:30,227 * Continue to flesh out the plugin system. I added support for 2024-04-16T20:51:30,228 plugins to have an activation script which will get executed 2024-04-16T20:51:30,228 on startup. This is a work in progress and I still need to 2024-04-16T20:51:30,229 add support for listing needed modules for a plugin which 2024-04-16T20:51:30,229 will get loaded automatically. 2024-04-16T20:51:30,230 * Fix a bug in argument parsing where the code was not scanning 2024-04-16T20:51:30,230 for invalid options which could result in odd parsing behavior. 2024-04-16T20:51:30,231 * Start adding support for udev. This is not yet completed but 2024-04-16T20:51:30,232 the plugin system for this has been incorporated into the 2024-04-16T20:51:30,232 linuxrc. 2024-04-16T20:51:30,234 funtoo-ramdisk 1.1.5 2024-04-16T20:51:30,234 -------------------- 2024-04-16T20:51:30,236 Released on September 15, 2023. 2024-04-16T20:51:30,237 This is a packaging fix for the manpage. 2024-04-16T20:51:30,238 funtoo-ramdisk 1.1.4 2024-04-16T20:51:30,239 -------------------- 2024-04-16T20:51:30,240 Released on September 15, 2023. 2024-04-16T20:51:30,242 This release adds a "ramdisk" man page. 2024-04-16T20:51:30,244 funtoo-ramdisk 1.1.3 2024-04-16T20:51:30,245 -------------------- 2024-04-16T20:51:30,246 Released on September 14, 2023. 2024-04-16T20:51:30,248 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-16T20:51:30,249 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-16T20:51:30,249 we were just running it to convieniently spit out the UUID for 2024-04-16T20:51:30,250 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-16T20:51:30,251 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-16T20:51:30,254 funtoo-ramdisk 1.1.2 2024-04-16T20:51:30,255 -------------------- 2024-04-16T20:51:30,257 Released on September 4, 2023. 2024-04-16T20:51:30,259 * Fix exit code (zero on success.) 2024-04-16T20:51:30,260 funtoo-ramdisk 1.1.1 2024-04-16T20:51:30,261 -------------------- 2024-04-16T20:51:30,262 Released on September 4, 2023. 2024-04-16T20:51:30,264 Fix three bugs: 2024-04-16T20:51:30,265 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-16T20:51:30,266 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-16T20:51:30,267 handle this situation gracefully. This situation may exist during 2024-04-16T20:51:30,268 metro builds on incomplete systems. (2 bugs fixed). 2024-04-16T20:51:30,270 funtoo-ramdisk 1.1.0 2024-04-16T20:51:30,271 -------------------- 2024-04-16T20:51:30,273 Released on September 3, 2023. 2024-04-16T20:51:30,274 * Add plugin system for ramdisk: 2024-04-16T20:51:30,276 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-16T20:51:30,277 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-16T20:51:30,278 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-16T20:51:30,278 just ensure necessary binaries are copied over (no extra setup commands 2024-04-16T20:51:30,279 are run by the initramfs.) 2024-04-16T20:51:30,281 This is a starting point for enabling support for advanced 2024-04-16T20:51:30,283 features on the initramfs. 2024-04-16T20:51:30,284 * New "module configurations". The default module configuration is "full", 2024-04-16T20:51:30,285 which means "make a ramdisk with lots of modules to support a lot of 2024-04-16T20:51:30,286 hardware." Different module configurations can be added in the future. 2024-04-16T20:51:30,286 Module configurations can be specified via ``--kmod_config=``. 2024-04-16T20:51:30,287 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-16T20:51:30,288 dynamic module configuration via the command-line, rather than via 2024-04-16T20:51:30,288 static config files. 2024-04-16T20:51:30,290 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-16T20:51:30,290 modules (and their dependencies) will be included. This can dramatically 2024-04-16T20:51:30,291 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-16T20:51:30,291 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-16T20:51:30,292 so it's only for known-good configurations. Enabling this feature also 2024-04-16T20:51:30,292 disables any static module configuration (see above.) 2024-04-16T20:51:30,293 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-16T20:51:30,293 created and programmatic decisions can be made. Previously, we used a 2024-04-16T20:51:30,294 static list. This allows us to use ``lvm.static`` if available, but 2024-04-16T20:51:30,294 fall back to dynamic ``lvm``, for example. 2024-04-16T20:51:30,295 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-16T20:51:30,296 basic name, not just via its full path or glob, was added to 2024-04-16T20:51:30,296 ``modules.copy``. 2024-04-16T20:51:30,297 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-16T20:51:30,298 as dynamically-generated line data rather than just as static files 2024-04-16T20:51:30,298 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-16T20:51:30,299 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-16T20:51:30,299 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-16T20:51:30,300 groups to determine these. 2024-04-16T20:51:30,301 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-16T20:51:30,301 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-16T20:51:30,302 prints the available kernel names which can be copy/pasted for the 2024-04-16T20:51:30,302 ``--kernel`` option. 2024-04-16T20:51:30,303 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-16T20:51:30,304 using. 2024-04-16T20:51:30,305 * Lots of code organized into their own ``.py`` files. 2024-04-16T20:51:30,306 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-16T20:51:30,307 set up at all if doing a metro build. 2024-04-16T20:51:30,308 * Disable colors if we don't have an interactive shell. 2024-04-16T20:51:30,310 funtoo-ramdisk 1.0.7 2024-04-16T20:51:30,310 -------------------- 2024-04-16T20:51:30,312 Released on August 22, 2023. 2024-04-16T20:51:30,313 Changes: 2024-04-16T20:51:30,314 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-16T20:51:30,314 specifies where modules *and* the kernel sources will be. This 2024-04-16T20:51:30,315 allows the tool to work from an ebuild. 2024-04-16T20:51:30,316 * Improve output and add nice colors. Optimize information to be 2024-04-16T20:51:30,316 more useful to users. 2024-04-16T20:51:30,318 funtoo-ramdisk 1.0.6 2024-04-16T20:51:30,319 -------------------- 2024-04-16T20:51:30,320 Released on August 21, 2023. 2024-04-16T20:51:30,321 Two new options: 2024-04-16T20:51:30,322 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-16T20:51:30,323 It defaults to ``/``. 2024-04-16T20:51:30,324 * ``--temp_root`` to set the default path to use for creating a 2024-04-16T20:51:30,324 temporary directory. It defaults to ``/var/tmp``. 2024-04-16T20:51:30,326 funtoo-ramdisk 1.0.5 2024-04-16T20:51:30,326 -------------------- 2024-04-16T20:51:30,328 Released on August 21, 2023. 2024-04-16T20:51:30,329 This is a features/maintenance/bug fix release. 2024-04-16T20:51:30,330 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-16T20:51:30,331 view in the git history, the following significant changes were 2024-04-16T20:51:30,331 made: 2024-04-16T20:51:30,333 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-16T20:51:30,333 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-16T20:51:30,334 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-16T20:51:30,334 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-16T20:51:30,335 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-16T20:51:30,336 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-16T20:51:30,336 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-16T20:51:30,337 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-16T20:51:30,337 ramdisk script. 2024-04-16T20:51:30,338 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-16T20:51:30,339 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-16T20:51:30,340 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-16T20:51:30,340 before starting a rescue shell, to give the kernel time to enumerate 2024-04-16T20:51:30,341 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-16T20:51:30,341 the problem of ``ash`` starting and not having any way to type, because 2024-04-16T20:51:30,342 it didn't connect to your main keyboard. 2024-04-16T20:51:30,343 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-16T20:51:30,343 prevent the root filesystem from being mounted (see FL-11532). 2024-04-16T20:51:30,344 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-16T20:51:30,345 this is not a good idea, and can cause problems if you have multiple 2024-04-16T20:51:30,345 disks. Show them how to fix the problem by switching to UUID. 2024-04-16T20:51:30,347 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-16T20:51:30,347 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-16T20:51:30,348 with a SATA disk. 2024-04-16T20:51:30,349 * To implement above feature, added a feature to allow masking of modules in 2024-04-16T20:51:30,350 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-16T20:51:30,350 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-16T20:51:30,351 wrong section, so it still gets included on the initramfs due to other 2024-04-16T20:51:30,352 section(s), we will warn you. 2024-04-16T20:51:30,354 funtoo-ramdisk 1.0.4 2024-04-16T20:51:30,354 -------------------- 2024-04-16T20:51:30,356 Released on August 18, 2023. 2024-04-16T20:51:30,357 This is a maintenance/bug fix release. 2024-04-16T20:51:30,358 * Fix ability to run from the git repo. This wasn't working. 2024-04-16T20:51:30,359 * Fix issue found by grouche, where if a module is built-in to the 2024-04-16T20:51:30,360 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-16T20:51:30,360 an error because it would think it's not copied to the initramfs. 2024-04-16T20:51:30,361 We now read in the ``modules.builtin`` file and use this in the 2024-04-16T20:51:30,361 internal logic -- if a module is built-in to the kernel, we can 2024-04-16T20:51:30,362 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-16T20:51:30,362 We will also not worry about trying to load it at boot. 2024-04-16T20:51:30,364 * Add a debug output whenever a module is referenced that is actually 2024-04-16T20:51:30,364 a built-in. This helps to audit the behavior of the above 2024-04-16T20:51:30,365 functionality and could be useful to users of the tool as well. 2024-04-16T20:51:30,366 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-16T20:51:30,367 warning. Looks a bit nicer. 2024-04-16T20:51:30,839 running egg_info 2024-04-16T20:51:30,840 creating /tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info 2024-04-16T20:51:30,866 writing /tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info/PKG-INFO 2024-04-16T20:51:30,870 writing dependency_links to /tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-16T20:51:30,872 writing requirements to /tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info/requires.txt 2024-04-16T20:51:30,874 writing top-level names to /tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info/top_level.txt 2024-04-16T20:51:30,875 writing manifest file '/tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T20:51:30,986 reading manifest file '/tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T20:51:30,987 reading manifest template 'MANIFEST.in' 2024-04-16T20:51:30,997 warning: no files found matching 'COPYRIGHT.rst' 2024-04-16T20:51:31,000 writing manifest file '/tmp/pip-pip-egg-info-00nhs0jr/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T20:51:31,108 Preparing metadata (setup.py): finished with status 'done' 2024-04-16T20:51:31,113 Source in /tmp/pip-wheel-j6iilqsp/funtoo-ramdisk_5beaa71313fc443b9947f4f8a6a68865 has version 1.1.9, which satisfies requirement funtoo-ramdisk==1.1.9 from https://files.pythonhosted.org/packages/dd/08/9f1cdd46afa442da53cf8c4372adc9059d36e9e99c7fd438132df3f19a43/funtoo_ramdisk-1.1.9.tar.gz 2024-04-16T20:51:31,114 Removed funtoo-ramdisk==1.1.9 from https://files.pythonhosted.org/packages/dd/08/9f1cdd46afa442da53cf8c4372adc9059d36e9e99c7fd438132df3f19a43/funtoo_ramdisk-1.1.9.tar.gz from build tracker '/tmp/pip-build-tracker-1iyd8zm0' 2024-04-16T20:51:31,122 Created temporary directory: /tmp/pip-unpack-5irblmrs 2024-04-16T20:51:31,123 Created temporary directory: /tmp/pip-unpack-ztvm0yfd 2024-04-16T20:51:31,129 Building wheels for collected packages: funtoo-ramdisk 2024-04-16T20:51:31,134 Created temporary directory: /tmp/pip-wheel-l5jr453b 2024-04-16T20:51:31,135 Building wheel for funtoo-ramdisk (setup.py): started 2024-04-16T20:51:31,136 Destination directory: /tmp/pip-wheel-l5jr453b 2024-04-16T20:51:31,137 Running command python setup.py bdist_wheel 2024-04-16T20:51:31,554 ========= 2024-04-16T20:51:31,554 ramdisk 2024-04-16T20:51:31,554 ========= 2024-04-16T20:51:31,556 -------------------------------------------------- 2024-04-16T20:51:31,556 create a bootable initial ramdisk 2024-04-16T20:51:31,557 -------------------------------------------------- 2024-04-16T20:51:31,558 :Author: Daniel Robbins 2024-04-16T20:51:31,558 :Copyright: Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-16T20:51:31,559 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-16T20:51:31,560 you may not use this file except in compliance with the License. 2024-04-16T20:51:31,560 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-16T20:51:31,561 :Version: 1.1.9 2024-04-16T20:51:31,561 :Manual section: 8 2024-04-16T20:51:31,562 :Manual group: Funtoo Linux 2024-04-16T20:51:31,563 SYNOPSIS 2024-04-16T20:51:31,564 ======== 2024-04-16T20:51:31,565 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-16T20:51:31,566 ``ramdisk`` list kernels 2024-04-16T20:51:31,567 ``ramdisk`` list plugins 2024-04-16T20:51:31,568 DESCRIPTION 2024-04-16T20:51:31,569 =========== 2024-04-16T20:51:31,570 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-16T20:51:31,570 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-16T20:51:31,571 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-16T20:51:31,572 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-16T20:51:31,573 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-16T20:51:31,574 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-16T20:51:31,574 documentation at https://www.funtoo.org/Install. 2024-04-16T20:51:31,575 CAPABILITIES 2024-04-16T20:51:31,576 ============ 2024-04-16T20:51:31,577 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-16T20:51:31,577 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-16T20:51:31,578 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-16T20:51:31,578 of functions in a support file. 2024-04-16T20:51:31,579 * Copies over the modules you specify -- and automatically figures out any 2024-04-16T20:51:31,579 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-16T20:51:31,580 This eliminates the need to track these dependencies manually. 2024-04-16T20:51:31,581 * Rootless operation. You do not need enhanced privileges to create the 2024-04-16T20:51:31,581 initramfs. 2024-04-16T20:51:31,582 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-16T20:51:31,583 It is written to be easy to understand and adapt. So it's not just short, 2024-04-16T20:51:31,583 but easy to grasp. 2024-04-16T20:51:31,584 * Enhanced module loading engine on the initramfs which is significantly 2024-04-16T20:51:31,585 faster than genkernel. This effectively eliminates the "watching the 2024-04-16T20:51:31,585 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-16T20:51:31,586 systems with NVMe drives will load just a handful of modules to boot 2024-04-16T20:51:31,586 -- all without requiring any special action from the user. 2024-04-16T20:51:31,587 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-16T20:51:31,588 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-16T20:51:31,589 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-16T20:51:31,589 these necessary modules, leaving all other modules to be loaded by 2024-04-16T20:51:31,590 your Funtoo Linux system. 2024-04-16T20:51:31,591 * Effective Python-based command to actually build the ramdisk, which is 2024-04-16T20:51:31,591 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-16T20:51:31,592 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-16T20:51:31,593 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-16T20:51:31,594 initramfs. 2024-04-16T20:51:31,595 * Support for xz and zstd compression. 2024-04-16T20:51:31,596 ACTIONS 2024-04-16T20:51:31,597 ======= 2024-04-16T20:51:31,598 The default action is ``build``, and can be optionally specified, which will 2024-04-16T20:51:31,599 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-16T20:51:31,600 build 2024-04-16T20:51:31,600 ----- 2024-04-16T20:51:31,601 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-16T20:51:31,601 action requires a destination initramfs path. This will be the literal path and 2024-04-16T20:51:31,602 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-16T20:51:31,603 list 2024-04-16T20:51:31,604 ---- 2024-04-16T20:51:31,604 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-16T20:51:31,605 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-16T20:51:31,606 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-16T20:51:31,606 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-16T20:51:31,607 OPTIONS 2024-04-16T20:51:31,608 ======= 2024-04-16T20:51:31,609 --debug Enable debug output. 2024-04-16T20:51:31,610 --backtrace Display full python backtrace/traceback instead of just a 2024-04-16T20:51:31,610 short error summary. 2024-04-16T20:51:31,611 --force Overwrite target initramfs if it exists. 2024-04-16T20:51:31,612 --keep Keep the temporary directory after execution for investigation/debugging. 2024-04-16T20:51:31,612 --version Show this program's version number and exit. 2024-04-16T20:51:31,612 --help Show this help message and exit. 2024-04-16T20:51:31,613 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-16T20:51:31,613 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-16T20:51:31,614 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-16T20:51:31,614 kernels``. 2024-04-16T20:51:31,615 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-16T20:51:31,615 ``ramdisk list kernels`` to display available options. The 2024-04-16T20:51:31,616 default setting is to use the current value of the 2024-04-16T20:51:31,616 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-16T20:51:31,617 which kernel to build a ramdisk for. 2024-04-16T20:51:31,617 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-16T20:51:31,618 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-16T20:51:31,619 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-16T20:51:31,619 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-16T20:51:31,620 plugins. 2024-04-16T20:51:31,621 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-16T20:51:31,621 define what kernel modules get copied to the initramfs, and which ones 2024-04-16T20:51:31,622 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-16T20:51:31,622 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-16T20:51:31,623 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-16T20:51:31,624 will allow your root block device and filesystem to be mounted. For example, 2024-04-16T20:51:31,624 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-16T20:51:31,625 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-16T20:51:31,626 a special minimal kernel module config is used instead of what is specified 2024-04-16T20:51:31,626 via ``--kmod_config`` (see above). 2024-04-16T20:51:31,628 USAGE 2024-04-16T20:51:31,628 ===== 2024-04-16T20:51:31,630 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-16T20:51:31,631 $ ramdisk /var/tmp/my-new-initramfs 2024-04-16T20:51:31,632 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-16T20:51:31,633 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-16T20:51:31,634 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-16T20:51:31,634 extract kernel version information, and then find the appropriate directory in 2024-04-16T20:51:31,635 ``/lib/modules/`` for copying modules. You can type: 2024-04-16T20:51:31,636 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-16T20:51:31,636 for a non-default kernel. 2024-04-16T20:51:31,638 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-16T20:51:31,638 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-16T20:51:31,640 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-16T20:51:31,640 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-16T20:51:31,643 ChangeLog 2024-04-16T20:51:31,643 ========= 2024-04-16T20:51:31,644 funtoo-ramdisk 1.1.9 2024-04-16T20:51:31,644 -------------------- 2024-04-16T20:51:31,645 Released on April 16, 2024. 2024-04-16T20:51:31,646 This is a minor feature release. 2024-04-16T20:51:31,647 * Add a ``--keep`` option which will preserve the contents of the 2024-04-16T20:51:31,648 temporary directory so that errors and tracebacks can be investigated. 2024-04-16T20:51:31,648 This can be enabled via ebuilds to allow exploration of any ramdisk- 2024-04-16T20:51:31,648 related errors. 2024-04-16T20:51:31,649 * Improve handling of a permissions error when copying the ramdisk to 2024-04-16T20:51:31,650 a final location (provide error message instead of full traceback.) 2024-04-16T20:51:31,651 funtoo-ramdisk 1.1.8 2024-04-16T20:51:31,652 -------------------- 2024-04-16T20:51:31,652 Released on April 16, 2024. 2024-04-16T20:51:31,653 This is a minor bug release. 2024-04-16T20:51:31,654 * Fix for the previous fix. 2024-04-16T20:51:31,655 funtoo-ramdisk 1.1.7 2024-04-16T20:51:31,656 -------------------- 2024-04-16T20:51:31,657 Released on April 15, 2024. 2024-04-16T20:51:31,658 This is a minor bug release. 2024-04-16T20:51:31,658 * Fix a possible issue where ``__pycache__`` directories can mess 2024-04-16T20:51:31,659 up copying of files to the initramfs. 2024-04-16T20:51:31,660 funtoo-ramdisk 1.1.6 2024-04-16T20:51:31,661 -------------------- 2024-04-16T20:51:31,662 Released on April 14, 2024. 2024-04-16T20:51:31,663 This is a maintenance and minor features release. 2024-04-16T20:51:31,664 * Various minor bug fixes. 2024-04-16T20:51:31,665 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-16T20:51:31,665 self-explanatory. 2024-04-16T20:51:31,666 * Continue to flesh out the plugin system. I added support for 2024-04-16T20:51:31,667 plugins to have an activation script which will get executed 2024-04-16T20:51:31,667 on startup. This is a work in progress and I still need to 2024-04-16T20:51:31,668 add support for listing needed modules for a plugin which 2024-04-16T20:51:31,669 will get loaded automatically. 2024-04-16T20:51:31,670 * Fix a bug in argument parsing where the code was not scanning 2024-04-16T20:51:31,670 for invalid options which could result in odd parsing behavior. 2024-04-16T20:51:31,672 * Start adding support for udev. This is not yet completed but 2024-04-16T20:51:31,672 the plugin system for this has been incorporated into the 2024-04-16T20:51:31,673 linuxrc. 2024-04-16T20:51:31,674 funtoo-ramdisk 1.1.5 2024-04-16T20:51:31,675 -------------------- 2024-04-16T20:51:31,676 Released on September 15, 2023. 2024-04-16T20:51:31,677 This is a packaging fix for the manpage. 2024-04-16T20:51:31,679 funtoo-ramdisk 1.1.4 2024-04-16T20:51:31,680 -------------------- 2024-04-16T20:51:31,681 Released on September 15, 2023. 2024-04-16T20:51:31,682 This release adds a "ramdisk" man page. 2024-04-16T20:51:31,684 funtoo-ramdisk 1.1.3 2024-04-16T20:51:31,684 -------------------- 2024-04-16T20:51:31,685 Released on September 14, 2023. 2024-04-16T20:51:31,687 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-16T20:51:31,687 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-16T20:51:31,688 we were just running it to convieniently spit out the UUID for 2024-04-16T20:51:31,688 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-16T20:51:31,689 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-16T20:51:31,691 funtoo-ramdisk 1.1.2 2024-04-16T20:51:31,691 -------------------- 2024-04-16T20:51:31,692 Released on September 4, 2023. 2024-04-16T20:51:31,693 * Fix exit code (zero on success.) 2024-04-16T20:51:31,695 funtoo-ramdisk 1.1.1 2024-04-16T20:51:31,695 -------------------- 2024-04-16T20:51:31,696 Released on September 4, 2023. 2024-04-16T20:51:31,697 Fix three bugs: 2024-04-16T20:51:31,698 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-16T20:51:31,699 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-16T20:51:31,700 handle this situation gracefully. This situation may exist during 2024-04-16T20:51:31,700 metro builds on incomplete systems. (2 bugs fixed). 2024-04-16T20:51:31,701 funtoo-ramdisk 1.1.0 2024-04-16T20:51:31,702 -------------------- 2024-04-16T20:51:31,703 Released on September 3, 2023. 2024-04-16T20:51:31,704 * Add plugin system for ramdisk: 2024-04-16T20:51:31,705 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-16T20:51:31,706 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-16T20:51:31,706 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-16T20:51:31,707 just ensure necessary binaries are copied over (no extra setup commands 2024-04-16T20:51:31,707 are run by the initramfs.) 2024-04-16T20:51:31,708 This is a starting point for enabling support for advanced 2024-04-16T20:51:31,709 features on the initramfs. 2024-04-16T20:51:31,710 * New "module configurations". The default module configuration is "full", 2024-04-16T20:51:31,710 which means "make a ramdisk with lots of modules to support a lot of 2024-04-16T20:51:31,711 hardware." Different module configurations can be added in the future. 2024-04-16T20:51:31,711 Module configurations can be specified via ``--kmod_config=``. 2024-04-16T20:51:31,712 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-16T20:51:31,713 dynamic module configuration via the command-line, rather than via 2024-04-16T20:51:31,713 static config files. 2024-04-16T20:51:31,714 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-16T20:51:31,715 modules (and their dependencies) will be included. This can dramatically 2024-04-16T20:51:31,716 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-16T20:51:31,716 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-16T20:51:31,717 so it's only for known-good configurations. Enabling this feature also 2024-04-16T20:51:31,717 disables any static module configuration (see above.) 2024-04-16T20:51:31,719 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-16T20:51:31,720 created and programmatic decisions can be made. Previously, we used a 2024-04-16T20:51:31,720 static list. This allows us to use ``lvm.static`` if available, but 2024-04-16T20:51:31,721 fall back to dynamic ``lvm``, for example. 2024-04-16T20:51:31,723 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-16T20:51:31,723 basic name, not just via its full path or glob, was added to 2024-04-16T20:51:31,724 ``modules.copy``. 2024-04-16T20:51:31,725 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-16T20:51:31,726 as dynamically-generated line data rather than just as static files 2024-04-16T20:51:31,726 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-16T20:51:31,727 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-16T20:51:31,728 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-16T20:51:31,729 groups to determine these. 2024-04-16T20:51:31,730 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-16T20:51:31,730 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-16T20:51:31,731 prints the available kernel names which can be copy/pasted for the 2024-04-16T20:51:31,732 ``--kernel`` option. 2024-04-16T20:51:31,733 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-16T20:51:31,733 using. 2024-04-16T20:51:31,734 * Lots of code organized into their own ``.py`` files. 2024-04-16T20:51:31,735 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-16T20:51:31,736 set up at all if doing a metro build. 2024-04-16T20:51:31,737 * Disable colors if we don't have an interactive shell. 2024-04-16T20:51:31,738 funtoo-ramdisk 1.0.7 2024-04-16T20:51:31,739 -------------------- 2024-04-16T20:51:31,740 Released on August 22, 2023. 2024-04-16T20:51:31,741 Changes: 2024-04-16T20:51:31,741 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-16T20:51:31,742 specifies where modules *and* the kernel sources will be. This 2024-04-16T20:51:31,742 allows the tool to work from an ebuild. 2024-04-16T20:51:31,744 * Improve output and add nice colors. Optimize information to be 2024-04-16T20:51:31,744 more useful to users. 2024-04-16T20:51:31,746 funtoo-ramdisk 1.0.6 2024-04-16T20:51:31,746 -------------------- 2024-04-16T20:51:31,747 Released on August 21, 2023. 2024-04-16T20:51:31,749 Two new options: 2024-04-16T20:51:31,750 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-16T20:51:31,750 It defaults to ``/``. 2024-04-16T20:51:31,751 * ``--temp_root`` to set the default path to use for creating a 2024-04-16T20:51:31,752 temporary directory. It defaults to ``/var/tmp``. 2024-04-16T20:51:31,753 funtoo-ramdisk 1.0.5 2024-04-16T20:51:31,753 -------------------- 2024-04-16T20:51:31,754 Released on August 21, 2023. 2024-04-16T20:51:31,756 This is a features/maintenance/bug fix release. 2024-04-16T20:51:31,757 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-16T20:51:31,758 view in the git history, the following significant changes were 2024-04-16T20:51:31,758 made: 2024-04-16T20:51:31,759 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-16T20:51:31,760 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-16T20:51:31,761 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-16T20:51:31,761 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-16T20:51:31,762 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-16T20:51:31,763 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-16T20:51:31,764 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-16T20:51:31,765 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-16T20:51:31,765 ramdisk script. 2024-04-16T20:51:31,766 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-16T20:51:31,768 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-16T20:51:31,768 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-16T20:51:31,769 before starting a rescue shell, to give the kernel time to enumerate 2024-04-16T20:51:31,769 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-16T20:51:31,770 the problem of ``ash`` starting and not having any way to type, because 2024-04-16T20:51:31,770 it didn't connect to your main keyboard. 2024-04-16T20:51:31,772 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-16T20:51:31,772 prevent the root filesystem from being mounted (see FL-11532). 2024-04-16T20:51:31,773 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-16T20:51:31,774 this is not a good idea, and can cause problems if you have multiple 2024-04-16T20:51:31,775 disks. Show them how to fix the problem by switching to UUID. 2024-04-16T20:51:31,776 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-16T20:51:31,777 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-16T20:51:31,777 with a SATA disk. 2024-04-16T20:51:31,778 * To implement above feature, added a feature to allow masking of modules in 2024-04-16T20:51:31,778 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-16T20:51:31,779 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-16T20:51:31,779 wrong section, so it still gets included on the initramfs due to other 2024-04-16T20:51:31,780 section(s), we will warn you. 2024-04-16T20:51:31,781 funtoo-ramdisk 1.0.4 2024-04-16T20:51:31,781 -------------------- 2024-04-16T20:51:31,782 Released on August 18, 2023. 2024-04-16T20:51:31,783 This is a maintenance/bug fix release. 2024-04-16T20:51:31,784 * Fix ability to run from the git repo. This wasn't working. 2024-04-16T20:51:31,784 * Fix issue found by grouche, where if a module is built-in to the 2024-04-16T20:51:31,785 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-16T20:51:31,785 an error because it would think it's not copied to the initramfs. 2024-04-16T20:51:31,786 We now read in the ``modules.builtin`` file and use this in the 2024-04-16T20:51:31,786 internal logic -- if a module is built-in to the kernel, we can 2024-04-16T20:51:31,787 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-16T20:51:31,787 We will also not worry about trying to load it at boot. 2024-04-16T20:51:31,788 * Add a debug output whenever a module is referenced that is actually 2024-04-16T20:51:31,788 a built-in. This helps to audit the behavior of the above 2024-04-16T20:51:31,789 functionality and could be useful to users of the tool as well. 2024-04-16T20:51:31,790 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-16T20:51:31,790 warning. Looks a bit nicer. 2024-04-16T20:51:32,222 running bdist_wheel 2024-04-16T20:51:32,318 running build 2024-04-16T20:51:32,318 running build_py 2024-04-16T20:51:32,346 creating build 2024-04-16T20:51:32,347 creating build/lib 2024-04-16T20:51:32,348 creating build/lib/funtoo_ramdisk 2024-04-16T20:51:32,349 copying funtoo_ramdisk/log.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,351 copying funtoo_ramdisk/__init__.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,353 copying funtoo_ramdisk/config_files.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,355 copying funtoo_ramdisk/plugin_base.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,356 copying funtoo_ramdisk/modules.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,359 copying funtoo_ramdisk/const.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,361 copying funtoo_ramdisk/utilities.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,363 copying funtoo_ramdisk/args.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,365 copying funtoo_ramdisk/version.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,367 copying funtoo_ramdisk/initramfs.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,370 copying funtoo_ramdisk/kernel.py -> build/lib/funtoo_ramdisk 2024-04-16T20:51:32,372 creating build/lib/funtoo_ramdisk/plugins 2024-04-16T20:51:32,373 copying funtoo_ramdisk/plugins/core.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T20:51:32,375 copying funtoo_ramdisk/plugins/__init__.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T20:51:32,377 copying funtoo_ramdisk/plugins/btrfs.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T20:51:32,378 copying funtoo_ramdisk/plugins/lvm.py -> build/lib/funtoo_ramdisk/plugins 2024-04-16T20:51:32,381 creating build/lib/funtoo_ramdisk/support 2024-04-16T20:51:32,382 copying funtoo_ramdisk/support/__init__.py -> build/lib/funtoo_ramdisk/support 2024-04-16T20:51:32,384 creating build/lib/funtoo_ramdisk/support/module_configs 2024-04-16T20:51:32,385 copying funtoo_ramdisk/support/module_configs/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs 2024-04-16T20:51:32,387 creating build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,388 copying funtoo_ramdisk/support/module_configs/full/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,389 running egg_info 2024-04-16T20:51:32,446 writing funtoo_ramdisk.egg-info/PKG-INFO 2024-04-16T20:51:32,450 writing dependency_links to funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-16T20:51:32,452 writing requirements to funtoo_ramdisk.egg-info/requires.txt 2024-04-16T20:51:32,453 writing top-level names to funtoo_ramdisk.egg-info/top_level.txt 2024-04-16T20:51:32,486 reading manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T20:51:32,489 reading manifest template 'MANIFEST.in' 2024-04-16T20:51:32,497 warning: no files found matching 'COPYRIGHT.rst' 2024-04-16T20:51:32,500 writing manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-16T20:51:32,502 /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-16T20:51:32,503 !! 2024-04-16T20:51:32,504 ******************************************************************************** 2024-04-16T20:51:32,504 ############################ 2024-04-16T20:51:32,505 # Package would be ignored # 2024-04-16T20:51:32,505 ############################ 2024-04-16T20:51:32,505 Python recognizes 'funtoo_ramdisk.support.etc' as an importable package[^1], 2024-04-16T20:51:32,506 but it is absent from setuptools' `packages` configuration. 2024-04-16T20:51:32,507 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-16T20:51:32,507 package, please make sure that 'funtoo_ramdisk.support.etc' is explicitly added 2024-04-16T20:51:32,508 to the `packages` configuration field. 2024-04-16T20:51:32,509 Alternatively, you can also rely on setuptools' discovery methods 2024-04-16T20:51:32,509 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-16T20:51:32,510 instead of `find_packages(...)`/`find:`). 2024-04-16T20:51:32,511 You can read more about "package discovery" on setuptools documentation page: 2024-04-16T20:51:32,512 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-16T20:51:32,513 If you don't want 'funtoo_ramdisk.support.etc' to be distributed and are 2024-04-16T20:51:32,513 already explicitly excluding 'funtoo_ramdisk.support.etc' via 2024-04-16T20:51:32,514 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-16T20:51:32,514 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-16T20:51:32,515 combination with a more fine grained `package-data` configuration. 2024-04-16T20:51:32,516 You can read more about "package data files" on setuptools documentation page: 2024-04-16T20:51:32,518 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-16T20:51:32,521 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-16T20:51:32,521 even if it does not contain any `.py` files. 2024-04-16T20:51:32,522 On the other hand, currently there is no concept of package data 2024-04-16T20:51:32,523 directory, all directories are treated like packages. 2024-04-16T20:51:32,524 ******************************************************************************** 2024-04-16T20:51:32,525 !! 2024-04-16T20:51:32,526 check.warn(importable) 2024-04-16T20:51:32,527 /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-16T20:51:32,528 !! 2024-04-16T20:51:32,530 ******************************************************************************** 2024-04-16T20:51:32,530 ############################ 2024-04-16T20:51:32,531 # Package would be ignored # 2024-04-16T20:51:32,532 ############################ 2024-04-16T20:51:32,532 Python recognizes 'funtoo_ramdisk.support.etc.plugins' as an importable package[^1], 2024-04-16T20:51:32,532 but it is absent from setuptools' `packages` configuration. 2024-04-16T20:51:32,533 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-16T20:51:32,534 package, please make sure that 'funtoo_ramdisk.support.etc.plugins' is explicitly added 2024-04-16T20:51:32,534 to the `packages` configuration field. 2024-04-16T20:51:32,535 Alternatively, you can also rely on setuptools' discovery methods 2024-04-16T20:51:32,535 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-16T20:51:32,536 instead of `find_packages(...)`/`find:`). 2024-04-16T20:51:32,537 You can read more about "package discovery" on setuptools documentation page: 2024-04-16T20:51:32,538 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-16T20:51:32,539 If you don't want 'funtoo_ramdisk.support.etc.plugins' to be distributed and are 2024-04-16T20:51:32,539 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins' via 2024-04-16T20:51:32,540 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-16T20:51:32,540 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-16T20:51:32,541 combination with a more fine grained `package-data` configuration. 2024-04-16T20:51:32,542 You can read more about "package data files" on setuptools documentation page: 2024-04-16T20:51:32,543 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-16T20:51:32,544 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-16T20:51:32,545 even if it does not contain any `.py` files. 2024-04-16T20:51:32,545 On the other hand, currently there is no concept of package data 2024-04-16T20:51:32,546 directory, all directories are treated like packages. 2024-04-16T20:51:32,546 ******************************************************************************** 2024-04-16T20:51:32,548 !! 2024-04-16T20:51:32,548 check.warn(importable) 2024-04-16T20:51:32,549 /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-16T20:51:32,549 !! 2024-04-16T20:51:32,550 ******************************************************************************** 2024-04-16T20:51:32,551 ############################ 2024-04-16T20:51:32,551 # Package would be ignored # 2024-04-16T20:51:32,552 ############################ 2024-04-16T20:51:32,552 Python recognizes 'funtoo_ramdisk.support.etc.plugins.scan_mode' as an importable package[^1], 2024-04-16T20:51:32,553 but it is absent from setuptools' `packages` configuration. 2024-04-16T20:51:32,554 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-16T20:51:32,555 package, please make sure that 'funtoo_ramdisk.support.etc.plugins.scan_mode' is explicitly added 2024-04-16T20:51:32,556 to the `packages` configuration field. 2024-04-16T20:51:32,557 Alternatively, you can also rely on setuptools' discovery methods 2024-04-16T20:51:32,558 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-16T20:51:32,558 instead of `find_packages(...)`/`find:`). 2024-04-16T20:51:32,560 You can read more about "package discovery" on setuptools documentation page: 2024-04-16T20:51:32,561 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-16T20:51:32,561 If you don't want 'funtoo_ramdisk.support.etc.plugins.scan_mode' to be distributed and are 2024-04-16T20:51:32,562 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins.scan_mode' via 2024-04-16T20:51:32,562 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-16T20:51:32,563 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-16T20:51:32,563 combination with a more fine grained `package-data` configuration. 2024-04-16T20:51:32,564 You can read more about "package data files" on setuptools documentation page: 2024-04-16T20:51:32,565 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-16T20:51:32,566 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-16T20:51:32,567 even if it does not contain any `.py` files. 2024-04-16T20:51:32,568 On the other hand, currently there is no concept of package data 2024-04-16T20:51:32,568 directory, all directories are treated like packages. 2024-04-16T20:51:32,569 ******************************************************************************** 2024-04-16T20:51:32,569 !! 2024-04-16T20:51:32,570 check.warn(importable) 2024-04-16T20:51:32,571 copying funtoo_ramdisk/support/initramfs.cpio -> build/lib/funtoo_ramdisk/support 2024-04-16T20:51:32,571 copying funtoo_ramdisk/support/linuxrc -> build/lib/funtoo_ramdisk/support 2024-04-16T20:51:32,571 creating build/lib/funtoo_ramdisk/support/etc 2024-04-16T20:51:32,572 copying funtoo_ramdisk/support/etc/initrd.defaults -> build/lib/funtoo_ramdisk/support/etc 2024-04-16T20:51:32,573 copying funtoo_ramdisk/support/etc/initrd.scripts -> build/lib/funtoo_ramdisk/support/etc 2024-04-16T20:51:32,573 creating build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-16T20:51:32,574 copying funtoo_ramdisk/support/etc/plugins/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-16T20:51:32,575 creating build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T20:51:32,575 copying funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T20:51:32,576 copying funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T20:51:32,577 copying funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T20:51:32,577 copying funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,578 copying funtoo_ramdisk/support/module_configs/full/modules.copy -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,579 running build_scripts 2024-04-16T20:51:32,580 creating build/scripts-3.11 2024-04-16T20:51:32,580 copying and adjusting bin/ramdisk -> build/scripts-3.11 2024-04-16T20:51:32,581 changing mode of build/scripts-3.11/ramdisk from 644 to 755 2024-04-16T20:51:32,586 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2024-04-16T20:51:32,587 !! 2024-04-16T20:51:32,588 ******************************************************************************** 2024-04-16T20:51:32,589 Please avoid running ``setup.py`` directly. 2024-04-16T20:51:32,590 Instead, use pypa/build, pypa/installer or other 2024-04-16T20:51:32,590 standards-based tools. 2024-04-16T20:51:32,592 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2024-04-16T20:51:32,593 ******************************************************************************** 2024-04-16T20:51:32,594 !! 2024-04-16T20:51:32,594 self.initialize_options() 2024-04-16T20:51:32,613 installing to build/bdist.linux-armv7l/wheel 2024-04-16T20:51:32,614 running install 2024-04-16T20:51:32,638 running install_lib 2024-04-16T20:51:32,663 creating build/bdist.linux-armv7l 2024-04-16T20:51:32,663 creating build/bdist.linux-armv7l/wheel 2024-04-16T20:51:32,665 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,666 copying build/lib/funtoo_ramdisk/log.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,668 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T20:51:32,669 copying build/lib/funtoo_ramdisk/plugins/core.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T20:51:32,671 copying build/lib/funtoo_ramdisk/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T20:51:32,673 copying build/lib/funtoo_ramdisk/plugins/btrfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T20:51:32,674 copying build/lib/funtoo_ramdisk/plugins/lvm.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-16T20:51:32,676 copying build/lib/funtoo_ramdisk/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,678 copying build/lib/funtoo_ramdisk/config_files.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,680 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T20:51:32,681 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-16T20:51:32,682 copying build/lib/funtoo_ramdisk/support/module_configs/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-16T20:51:32,685 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,686 copying build/lib/funtoo_ramdisk/support/module_configs/full/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,688 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.copy -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,689 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-16T20:51:32,691 copying build/lib/funtoo_ramdisk/support/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T20:51:32,693 copying build/lib/funtoo_ramdisk/support/initramfs.cpio -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T20:51:32,695 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-16T20:51:32,697 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-16T20:51:32,698 copying build/lib/funtoo_ramdisk/support/etc/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-16T20:51:32,700 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-16T20:51:32,701 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-16T20:51:32,703 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-16T20:51:32,705 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-16T20:51:32,707 copying build/lib/funtoo_ramdisk/support/etc/initrd.defaults -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-16T20:51:32,709 copying build/lib/funtoo_ramdisk/support/etc/initrd.scripts -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-16T20:51:32,711 copying build/lib/funtoo_ramdisk/support/linuxrc -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-16T20:51:32,713 copying build/lib/funtoo_ramdisk/plugin_base.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,715 copying build/lib/funtoo_ramdisk/modules.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,717 copying build/lib/funtoo_ramdisk/const.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,719 copying build/lib/funtoo_ramdisk/utilities.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,721 copying build/lib/funtoo_ramdisk/args.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,723 copying build/lib/funtoo_ramdisk/version.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,725 copying build/lib/funtoo_ramdisk/initramfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,728 copying build/lib/funtoo_ramdisk/kernel.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-16T20:51:32,730 running install_egg_info 2024-04-16T20:51:32,761 Copying funtoo_ramdisk.egg-info to build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.9-py3.11.egg-info 2024-04-16T20:51:32,773 running install_scripts 2024-04-16T20:51:32,774 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.9.data 2024-04-16T20:51:32,775 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.9.data/scripts 2024-04-16T20:51:32,776 copying build/scripts-3.11/ramdisk -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.9.data/scripts 2024-04-16T20:51:32,778 changing mode of build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.9.data/scripts/ramdisk to 755 2024-04-16T20:51:32,793 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.9.dist-info/WHEEL 2024-04-16T20:51:32,796 creating '/tmp/pip-wheel-l5jr453b/funtoo_ramdisk-1.1.9-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2024-04-16T20:51:32,799 adding 'funtoo_ramdisk/__init__.py' 2024-04-16T20:51:32,800 adding 'funtoo_ramdisk/args.py' 2024-04-16T20:51:32,802 adding 'funtoo_ramdisk/config_files.py' 2024-04-16T20:51:32,803 adding 'funtoo_ramdisk/const.py' 2024-04-16T20:51:32,805 adding 'funtoo_ramdisk/initramfs.py' 2024-04-16T20:51:32,807 adding 'funtoo_ramdisk/kernel.py' 2024-04-16T20:51:32,808 adding 'funtoo_ramdisk/log.py' 2024-04-16T20:51:32,811 adding 'funtoo_ramdisk/modules.py' 2024-04-16T20:51:32,812 adding 'funtoo_ramdisk/plugin_base.py' 2024-04-16T20:51:32,813 adding 'funtoo_ramdisk/utilities.py' 2024-04-16T20:51:32,815 adding 'funtoo_ramdisk/version.py' 2024-04-16T20:51:32,816 adding 'funtoo_ramdisk/plugins/__init__.py' 2024-04-16T20:51:32,817 adding 'funtoo_ramdisk/plugins/btrfs.py' 2024-04-16T20:51:32,819 adding 'funtoo_ramdisk/plugins/core.py' 2024-04-16T20:51:32,820 adding 'funtoo_ramdisk/plugins/lvm.py' 2024-04-16T20:51:32,821 adding 'funtoo_ramdisk/support/__init__.py' 2024-04-16T20:51:32,823 adding 'funtoo_ramdisk/support/initramfs.cpio' 2024-04-16T20:51:32,824 adding 'funtoo_ramdisk/support/linuxrc' 2024-04-16T20:51:32,826 adding 'funtoo_ramdisk/support/etc/initrd.defaults' 2024-04-16T20:51:32,827 adding 'funtoo_ramdisk/support/etc/initrd.scripts' 2024-04-16T20:51:32,829 adding 'funtoo_ramdisk/support/etc/plugins/__init__.py' 2024-04-16T20:51:32,831 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py' 2024-04-16T20:51:32,832 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh' 2024-04-16T20:51:32,834 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh' 2024-04-16T20:51:32,835 adding 'funtoo_ramdisk/support/module_configs/__init__.py' 2024-04-16T20:51:32,837 adding 'funtoo_ramdisk/support/module_configs/full/__init__.py' 2024-04-16T20:51:32,838 adding 'funtoo_ramdisk/support/module_configs/full/modules.autoload' 2024-04-16T20:51:32,840 adding 'funtoo_ramdisk/support/module_configs/full/modules.copy' 2024-04-16T20:51:32,842 adding 'funtoo_ramdisk-1.1.9.data/scripts/ramdisk' 2024-04-16T20:51:32,846 adding 'funtoo_ramdisk-1.1.9.dist-info/METADATA' 2024-04-16T20:51:32,847 adding 'funtoo_ramdisk-1.1.9.dist-info/WHEEL' 2024-04-16T20:51:32,848 adding 'funtoo_ramdisk-1.1.9.dist-info/top_level.txt' 2024-04-16T20:51:32,849 adding 'funtoo_ramdisk-1.1.9.dist-info/RECORD' 2024-04-16T20:51:32,851 removing build/bdist.linux-armv7l/wheel 2024-04-16T20:51:32,975 Building wheel for funtoo-ramdisk (setup.py): finished with status 'done' 2024-04-16T20:51:32,978 Created wheel for funtoo-ramdisk: filename=funtoo_ramdisk-1.1.9-py3-none-any.whl size=35668 sha256=8d8bd0cce90a7901e84b04edecd8f79fb46b65617f6881ae4f95627379ccc7c9 2024-04-16T20:51:32,979 Stored in directory: /tmp/pip-ephem-wheel-cache-fuakt328/wheels/22/f1/b6/d7d89a1ca34c2c6479e6ae2b25839c51ec21e71be30cc8b5f6 2024-04-16T20:51:32,992 Successfully built funtoo-ramdisk 2024-04-16T20:51:32,997 Removed build tracker: '/tmp/pip-build-tracker-1iyd8zm0'