2023-09-04T03:16:03,090 Created temporary directory: /tmp/pip-build-tracker-y6fdobeg 2023-09-04T03:16:03,094 Initialized build tracking at /tmp/pip-build-tracker-y6fdobeg 2023-09-04T03:16:03,094 Created build tracker: /tmp/pip-build-tracker-y6fdobeg 2023-09-04T03:16:03,094 Entered build tracker: /tmp/pip-build-tracker-y6fdobeg 2023-09-04T03:16:03,095 Created temporary directory: /tmp/pip-wheel-1ety85jj 2023-09-04T03:16:03,104 Created temporary directory: /tmp/pip-ephem-wheel-cache-4yn__5w8 2023-09-04T03:16:03,165 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-04T03:16:03,173 2 location(s) to search for versions of funtoo-ramdisk: 2023-09-04T03:16:03,173 * https://pypi.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,173 * https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,175 Fetching project page and analyzing links: https://pypi.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,176 Getting page https://pypi.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,180 Found index url https://pypi.org/simple/ 2023-09-04T03:16:03,363 Fetched page https://pypi.org/simple/funtoo-ramdisk/ as application/vnd.pypi.simple.v1+json 2023-09-04T03:16:03,370 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 2023-09-04T03:16:03,372 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 2023-09-04T03:16:03,373 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 2023-09-04T03:16:03,375 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 2023-09-04T03:16:03,376 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 2023-09-04T03:16:03,378 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 2023-09-04T03:16:03,379 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 2023-09-04T03:16:03,381 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 2023-09-04T03:16:03,382 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 2023-09-04T03:16:03,383 Fetching project page and analyzing links: https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,384 Getting page https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,386 Found index url https://www.piwheels.org/simple/ 2023-09-04T03:16:03,603 Fetched page https://www.piwheels.org/simple/funtoo-ramdisk/ as text/html 2023-09-04T03:16:03,611 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) 2023-09-04T03:16:03,612 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) 2023-09-04T03:16:03,612 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) 2023-09-04T03:16:03,613 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) 2023-09-04T03:16:03,613 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) 2023-09-04T03:16:03,614 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) 2023-09-04T03:16:03,614 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) 2023-09-04T03:16:03,615 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) 2023-09-04T03:16:03,615 Skipping link: not a file: https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,616 Skipping link: not a file: https://pypi.org/simple/funtoo-ramdisk/ 2023-09-04T03:16:03,651 Given no hashes to check 1 links for project 'funtoo-ramdisk': discarding no candidates 2023-09-04T03:16:03,682 Collecting funtoo-ramdisk==1.1.0 2023-09-04T03:16:03,687 Created temporary directory: /tmp/pip-unpack-3a8cnh1e 2023-09-04T03:16:03,855 Downloading funtoo-ramdisk-1.1.0.tar.gz (31 kB) 2023-09-04T03:16:04,044 Added funtoo-ramdisk==1.1.0 from https://files.pythonhosted.org/packages/7c/a6/12d689149a2f7695776cc1c97dba03d1baabbf2451e4bf7c28ccdd2ae4d3/funtoo-ramdisk-1.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-y6fdobeg' 2023-09-04T03:16:04,048 Running setup.py (path:/tmp/pip-wheel-1ety85jj/funtoo-ramdisk_b98fb48c065747c7a6ff7c913bb2e505/setup.py) egg_info for package funtoo-ramdisk 2023-09-04T03:16:04,049 Created temporary directory: /tmp/pip-pip-egg-info-ketf6azs 2023-09-04T03:16:04,050 Preparing metadata (setup.py): started 2023-09-04T03:16:04,052 Running command python setup.py egg_info 2023-09-04T03:16:05,187 ************** 2023-09-04T03:16:05,189 Funtoo Ramdisk 2023-09-04T03:16:05,189 ************** 2023-09-04T03:16:05,190 Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2023-09-04T03:16:05,191 Licensed under the Apache License, Version 2.0 (the "License"); 2023-09-04T03:16:05,191 you may not use this file except in compliance with the License. 2023-09-04T03:16:05,191 You may obtain a copy of the License at 2023-09-04T03:16:05,192 http://www.apache.org/licenses/LICENSE-2.0 2023-09-04T03:16:05,193 Unless required by applicable law or agreed to in writing, software 2023-09-04T03:16:05,193 distributed under the License is distributed on an "AS IS" BASIS, 2023-09-04T03:16:05,193 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2023-09-04T03:16:05,194 See the License for the specific language governing permissions and 2023-09-04T03:16:05,194 limitations under the License. 2023-09-04T03:16:05,195 Introduction 2023-09-04T03:16:05,195 ============ 2023-09-04T03:16:05,196 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2023-09-04T03:16:05,196 initial RAM disk filesystem (initramfs) for booting your Linux system. 2023-09-04T03:16:05,196 The internal initramfs logic is based on the logic found in Gentoo Linux's 2023-09-04T03:16:05,197 genkernel tool, but has been rewritten to be simpler and more efficient. 2023-09-04T03:16:05,197 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2023-09-04T03:16:05,198 ext4 or XFS filesystem, which is what we support in our official installation 2023-09-04T03:16:05,198 documentation at https://www.funtoo.org/Install -- but that's about it. 2023-09-04T03:16:05,199 What's Not Included 2023-09-04T03:16:05,199 =================== 2023-09-04T03:16:05,200 Nearly all "extra" genkernel features are intentionally not yet implemented. 2023-09-04T03:16:05,200 This tool doesn't build your kernel or modules. 2023-09-04T03:16:05,201 It also currently doesn't support dmraid, zfs, btrfs, encrypted root, or LiveCD 2023-09-04T03:16:05,201 or LiveUSB booting. 2023-09-04T03:16:05,202 Why not? Because one of the main design goals of this project is to create a 2023-09-04T03:16:05,202 very elegant and easy-to-understand initramfs whose core logic is not cluttered 2023-09-04T03:16:05,202 with tons of complicated features. To start from a clean slate, we are starting 2023-09-04T03:16:05,203 from very minimal functionality and then will very carefully add back various 2023-09-04T03:16:05,203 features while keeping the code clean, simple, elegant and effective. 2023-09-04T03:16:05,204 What's Included 2023-09-04T03:16:05,204 =============== 2023-09-04T03:16:05,205 So, what *does* Funtoo's ramdisk tool actually offer? Here's a list: 2023-09-04T03:16:05,205 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2023-09-04T03:16:05,205 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2023-09-04T03:16:05,206 been modernized. About 100 lines of shell script, with another 215 lines 2023-09-04T03:16:05,206 of functions in a support file. 2023-09-04T03:16:05,207 * Copies over the modules you specify -- and automatically figures out any 2023-09-04T03:16:05,207 kernel module dependencies, so any depended-upon modules are also copied. 2023-09-04T03:16:05,207 This eliminates the need to track these dependencies manually. 2023-09-04T03:16:05,208 * Rootless operation. You do not need enhanced privileges to create the 2023-09-04T03:16:05,208 initramfs. 2023-09-04T03:16:05,209 * You can read the ``linuxrc`` script and actually understand what it does. 2023-09-04T03:16:05,209 It is written to be easy to understand and adapt. So it's not just short, 2023-09-04T03:16:05,210 but easy to grasp. 2023-09-04T03:16:05,210 * Enhanced module loading engine on the initramfs which is significantly 2023-09-04T03:16:05,211 faster than genkernel. This effectively eliminates the "watching the 2023-09-04T03:16:05,211 stream of useless modules being loaded" issue with genkernel. Modern 2023-09-04T03:16:05,211 systems with NVMe drives will load just a handful of modules to boot 2023-09-04T03:16:05,211 -- all without requiring any special action from the user. 2023-09-04T03:16:05,212 * "kpop" functionality allows for building ramdisks with just the modules 2023-09-04T03:16:05,213 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2023-09-04T03:16:05,213 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2023-09-04T03:16:05,213 these necessary modules, leaving all other modules to be loaded by 2023-09-04T03:16:05,214 your Funtoo Linux system. 2023-09-04T03:16:05,214 * Effective Python-based command to actually build the ramdisk, which is 2023-09-04T03:16:05,215 called: ``ramdisk``. This gives us an extensible platform for the future. 2023-09-04T03:16:05,215 * Enhanced ini-style system for selecting modules to include on your initramfs. 2023-09-04T03:16:05,215 * Enhanced ini-style system for selecting module groups to autoload on the initramfs. 2023-09-04T03:16:05,216 * Support for xz and zstd compression. 2023-09-04T03:16:05,216 How To Use It 2023-09-04T03:16:05,217 ============= 2023-09-04T03:16:05,217 First, install the package, via ``emerge ramdisk`` on Funtoo Linux, or alternatively 2023-09-04T03:16:05,218 ``pip3 install --user funtoo-ramdisk``. You will then have a ``ramdisk`` command 2023-09-04T03:16:05,218 in your path, which can be used to build a ramdisk. 2023-09-04T03:16:05,219 Then, as a regular user, you can run:: 2023-09-04T03:16:05,219 ramdisk /var/tmp/my-new-initramfs 2023-09-04T03:16:05,220 sudo cp /var/tmp/my-new-initramfs /boot 2023-09-04T03:16:05,220 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2023-09-04T03:16:05,221 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2023-09-04T03:16:05,221 extract kernel version information, and then find the appropriate directory in 2023-09-04T03:16:05,221 ``/lib/modules/`` for copying modules. You can type: 2023-09-04T03:16:05,222 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2023-09-04T03:16:05,222 for a non-default kernel. 2023-09-04T03:16:05,223 Since this is brand-new software, it is highly recommended that you DO NOT OVERWRITE 2023-09-04T03:16:05,223 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM. 2023-09-04T03:16:05,224 Instead -- create a NEW BOOT ENTRY to test your initramfs. In GRUB, you can also 2023-09-04T03:16:05,224 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2023-09-04T03:16:05,224 Enjoy -- and let me know how it works for you! Please report issues and feature 2023-09-04T03:16:05,225 requests to https://bugs.funtoo.org. 2023-09-04T03:16:05,226 ChangeLog 2023-09-04T03:16:05,226 ========= 2023-09-04T03:16:05,227 funtoo-ramdisk 1.1.0 2023-09-04T03:16:05,227 -------------------- 2023-09-04T03:16:05,228 Released on September 3, 2023. 2023-09-04T03:16:05,228 * Add plugin system for ramdisk: 2023-09-04T03:16:05,229 To use, pass ``--enable=,``. The ``core`` plugin is 2023-09-04T03:16:05,229 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2023-09-04T03:16:05,229 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2023-09-04T03:16:05,230 just ensure necessary binaries are copied over (no extra setup commands 2023-09-04T03:16:05,230 are run by the initramfs.) 2023-09-04T03:16:05,231 This is a starting point for enabling support for advanced 2023-09-04T03:16:05,231 features on the initramfs. 2023-09-04T03:16:05,232 * New "module configurations". The default module configuration is "full", 2023-09-04T03:16:05,232 which means "make a ramdisk with lots of modules to support a lot of 2023-09-04T03:16:05,232 hardware." Different module configurations can be added in the future. 2023-09-04T03:16:05,233 Module configurations can be specified via ``--kmod_config=``. 2023-09-04T03:16:05,233 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2023-09-04T03:16:05,234 dynamic module configuration via the command-line, rather than via 2023-09-04T03:16:05,234 static config files. 2023-09-04T03:16:05,235 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2023-09-04T03:16:05,235 modules (and their dependencies) will be included. This can dramatically 2023-09-04T03:16:05,235 reduce the size of your ramdisk. Note that this doesn't include the 2023-09-04T03:16:05,236 necessary modules to allow USB keyboards to work in the rescue shell, 2023-09-04T03:16:05,236 so it's only for known-good configurations. Enabling this feature also 2023-09-04T03:16:05,236 disables any static module configuration (see above.) 2023-09-04T03:16:05,237 * Change the binary plugin API so lists of binaries can be dynamically 2023-09-04T03:16:05,237 created and programmatic decisions can be made. Previously, we used a 2023-09-04T03:16:05,238 static list. This allows us to use ``lvm.static`` if available, but 2023-09-04T03:16:05,238 fall back to dynamic ``lvm``, for example. 2023-09-04T03:16:05,239 * To support ``kpop`` functionality, the ability to add a module by its 2023-09-04T03:16:05,239 basic name, not just via its full path or glob, was added to 2023-09-04T03:16:05,239 ``modules.copy``. 2023-09-04T03:16:05,240 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2023-09-04T03:16:05,240 as dynamically-generated line data rather than just as static files 2023-09-04T03:16:05,240 that must exist on the filesystem. (Again, used by ``kpop``). 2023-09-04T03:16:05,241 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2023-09-04T03:16:05,241 module groups to try to load, and instead use the ``modules.autoload`` 2023-09-04T03:16:05,242 groups to determine these. 2023-09-04T03:16:05,242 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2023-09-04T03:16:05,243 The former makes use of ``ramdisk --kernel `` easier because it 2023-09-04T03:16:05,243 prints the available kernel names which can be copy/pasted for the 2023-09-04T03:16:05,243 ``--kernel`` option. 2023-09-04T03:16:05,244 * Implemented our own argument parsing as ``argparse`` was not worth 2023-09-04T03:16:05,244 using. 2023-09-04T03:16:05,245 * Lots of code organized into their own ``.py`` files. 2023-09-04T03:16:05,246 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2023-09-04T03:16:05,246 set up at all if doing a metro build. 2023-09-04T03:16:05,247 * Disable colors if we don't have an interactive shell. 2023-09-04T03:16:05,247 funtoo-ramdisk 1.0.7 2023-09-04T03:16:05,248 -------------------- 2023-09-04T03:16:05,248 Released on August 22, 2023. 2023-09-04T03:16:05,249 Changes: 2023-09-04T03:16:05,250 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2023-09-04T03:16:05,250 specifies where modules *and* the kernel sources will be. This 2023-09-04T03:16:05,250 allows the tool to work from an ebuild. 2023-09-04T03:16:05,251 * Improve output and add nice colors. Optimize information to be 2023-09-04T03:16:05,251 more useful to users. 2023-09-04T03:16:05,252 funtoo-ramdisk 1.0.6 2023-09-04T03:16:05,253 -------------------- 2023-09-04T03:16:05,253 Released on August 21, 2023. 2023-09-04T03:16:05,254 Two new options: 2023-09-04T03:16:05,255 * ``--modules_root`` to set the root filesystem to scan for modules. 2023-09-04T03:16:05,255 It defaults to ``/``. 2023-09-04T03:16:05,256 * ``--temp_root`` to set the default path to use for creating a 2023-09-04T03:16:05,256 temporary directory. It defaults to ``/var/tmp``. 2023-09-04T03:16:05,257 funtoo-ramdisk 1.0.5 2023-09-04T03:16:05,257 -------------------- 2023-09-04T03:16:05,257 Released on August 21, 2023. 2023-09-04T03:16:05,258 This is a features/maintenance/bug fix release. 2023-09-04T03:16:05,259 In addition to a bunch of minor fixes and clean-ups, which you can 2023-09-04T03:16:05,259 view in the git history, the following significant changes were 2023-09-04T03:16:05,259 made: 2023-09-04T03:16:05,260 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2023-09-04T03:16:05,260 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2023-09-04T03:16:05,260 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2023-09-04T03:16:05,261 over. This fixes an issue where we get invalid symbols when loading modules 2023-09-04T03:16:05,261 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2023-09-04T03:16:05,262 At some point, we could make a "toggle" to select kmod/busybox mode. The 2023-09-04T03:16:05,262 best time to run ``depmod`` for busybox is probably once the ramdisk first 2023-09-04T03:16:05,262 boots, since it doesn't have a "root" option, making it hard to call from our 2023-09-04T03:16:05,263 ramdisk script. 2023-09-04T03:16:05,263 * Remove unused control character definitions in ``initrd.defaults``. 2023-09-04T03:16:05,264 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2023-09-04T03:16:05,264 have been detected, resulting in lack of input. We now wait 5 seconds 2023-09-04T03:16:05,265 before starting a rescue shell, to give the kernel time to enumerate 2023-09-04T03:16:05,265 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2023-09-04T03:16:05,265 the problem of ``ash`` starting and not having any way to type, because 2023-09-04T03:16:05,266 it didn't connect to your main keyboard. 2023-09-04T03:16:05,266 Try to work around issues related to ATA/SCSI disk enumeration which could 2023-09-04T03:16:05,267 prevent the root filesystem from being mounted (see FL-11532). 2023-09-04T03:16:05,267 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2023-09-04T03:16:05,268 this is not a good idea, and can cause problems if you have multiple 2023-09-04T03:16:05,268 disks. Show them how to fix the problem by switching to UUID. 2023-09-04T03:16:05,269 * Remove scsi_debug module which is evil and if we force-load it, will create 2023-09-04T03:16:05,269 a new SCSI device 8MB in size and trigger the problem above for anyone 2023-09-04T03:16:05,269 with a SATA disk. 2023-09-04T03:16:05,270 * To implement above feature, added a feature to allow masking of modules in 2023-09-04T03:16:05,270 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2023-09-04T03:16:05,270 lot of sanity checking and warnings. If you happen to mask a module in the 2023-09-04T03:16:05,271 wrong section, so it still gets included on the initramfs due to other 2023-09-04T03:16:05,271 section(s), we will warn you. 2023-09-04T03:16:05,272 funtoo-ramdisk 1.0.4 2023-09-04T03:16:05,272 -------------------- 2023-09-04T03:16:05,273 Released on August 18, 2023. 2023-09-04T03:16:05,274 This is a maintenance/bug fix release. 2023-09-04T03:16:05,274 * Fix ability to run from the git repo. This wasn't working. 2023-09-04T03:16:05,275 * Fix issue found by grouche, where if a module is built-in to the 2023-09-04T03:16:05,275 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2023-09-04T03:16:05,276 an error because it would think it's not copied to the initramfs. 2023-09-04T03:16:05,276 We now read in the ``modules.builtin`` file and use this in the 2023-09-04T03:16:05,276 internal logic -- if a module is built-in to the kernel, we can 2023-09-04T03:16:05,277 not worry if it is our ``modules.autoload`` list. We still have it. 2023-09-04T03:16:05,277 We will also not worry about trying to load it at boot. 2023-09-04T03:16:05,277 * Add a debug output whenever a module is referenced that is actually 2023-09-04T03:16:05,278 a built-in. This helps to audit the behavior of the above 2023-09-04T03:16:05,278 functionality and could be useful to users of the tool as well. 2023-09-04T03:16:05,279 * Announce we are in debug mode with ``log.info()`` instead of a 2023-09-04T03:16:05,279 warning. Looks a bit nicer. 2023-09-04T03:16:05,885 running egg_info 2023-09-04T03:16:05,888 creating /tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info 2023-09-04T03:16:06,009 writing /tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info/PKG-INFO 2023-09-04T03:16:06,015 writing dependency_links to /tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info/dependency_links.txt 2023-09-04T03:16:06,020 writing requirements to /tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info/requires.txt 2023-09-04T03:16:06,022 writing top-level names to /tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info/top_level.txt 2023-09-04T03:16:06,025 writing manifest file '/tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info/SOURCES.txt' 2023-09-04T03:16:06,503 reading manifest file '/tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info/SOURCES.txt' 2023-09-04T03:16:06,506 reading manifest template 'MANIFEST.in' 2023-09-04T03:16:06,526 writing manifest file '/tmp/pip-pip-egg-info-ketf6azs/funtoo_ramdisk.egg-info/SOURCES.txt' 2023-09-04T03:16:06,648 Preparing metadata (setup.py): finished with status 'done' 2023-09-04T03:16:06,662 Source in /tmp/pip-wheel-1ety85jj/funtoo-ramdisk_b98fb48c065747c7a6ff7c913bb2e505 has version 1.1.0, which satisfies requirement funtoo-ramdisk==1.1.0 from https://files.pythonhosted.org/packages/7c/a6/12d689149a2f7695776cc1c97dba03d1baabbf2451e4bf7c28ccdd2ae4d3/funtoo-ramdisk-1.1.0.tar.gz 2023-09-04T03:16:06,664 Removed funtoo-ramdisk==1.1.0 from https://files.pythonhosted.org/packages/7c/a6/12d689149a2f7695776cc1c97dba03d1baabbf2451e4bf7c28ccdd2ae4d3/funtoo-ramdisk-1.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-y6fdobeg' 2023-09-04T03:16:06,681 Created temporary directory: /tmp/pip-unpack-_pqbyfvb 2023-09-04T03:16:06,682 Building wheels for collected packages: funtoo-ramdisk 2023-09-04T03:16:06,691 Created temporary directory: /tmp/pip-wheel-ev6gd84o 2023-09-04T03:16:06,692 Building wheel for funtoo-ramdisk (setup.py): started 2023-09-04T03:16:06,694 Destination directory: /tmp/pip-wheel-ev6gd84o 2023-09-04T03:16:06,694 Running command python setup.py bdist_wheel 2023-09-04T03:16:07,776 ************** 2023-09-04T03:16:07,778 Funtoo Ramdisk 2023-09-04T03:16:07,778 ************** 2023-09-04T03:16:07,779 Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2023-09-04T03:16:07,779 Licensed under the Apache License, Version 2.0 (the "License"); 2023-09-04T03:16:07,780 you may not use this file except in compliance with the License. 2023-09-04T03:16:07,780 You may obtain a copy of the License at 2023-09-04T03:16:07,781 http://www.apache.org/licenses/LICENSE-2.0 2023-09-04T03:16:07,781 Unless required by applicable law or agreed to in writing, software 2023-09-04T03:16:07,782 distributed under the License is distributed on an "AS IS" BASIS, 2023-09-04T03:16:07,782 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2023-09-04T03:16:07,782 See the License for the specific language governing permissions and 2023-09-04T03:16:07,783 limitations under the License. 2023-09-04T03:16:07,783 Introduction 2023-09-04T03:16:07,784 ============ 2023-09-04T03:16:07,784 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2023-09-04T03:16:07,785 initial RAM disk filesystem (initramfs) for booting your Linux system. 2023-09-04T03:16:07,785 The internal initramfs logic is based on the logic found in Gentoo Linux's 2023-09-04T03:16:07,786 genkernel tool, but has been rewritten to be simpler and more efficient. 2023-09-04T03:16:07,786 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2023-09-04T03:16:07,787 ext4 or XFS filesystem, which is what we support in our official installation 2023-09-04T03:16:07,787 documentation at https://www.funtoo.org/Install -- but that's about it. 2023-09-04T03:16:07,788 What's Not Included 2023-09-04T03:16:07,788 =================== 2023-09-04T03:16:07,788 Nearly all "extra" genkernel features are intentionally not yet implemented. 2023-09-04T03:16:07,789 This tool doesn't build your kernel or modules. 2023-09-04T03:16:07,789 It also currently doesn't support dmraid, zfs, btrfs, encrypted root, or LiveCD 2023-09-04T03:16:07,790 or LiveUSB booting. 2023-09-04T03:16:07,790 Why not? Because one of the main design goals of this project is to create a 2023-09-04T03:16:07,791 very elegant and easy-to-understand initramfs whose core logic is not cluttered 2023-09-04T03:16:07,791 with tons of complicated features. To start from a clean slate, we are starting 2023-09-04T03:16:07,791 from very minimal functionality and then will very carefully add back various 2023-09-04T03:16:07,792 features while keeping the code clean, simple, elegant and effective. 2023-09-04T03:16:07,792 What's Included 2023-09-04T03:16:07,793 =============== 2023-09-04T03:16:07,793 So, what *does* Funtoo's ramdisk tool actually offer? Here's a list: 2023-09-04T03:16:07,794 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2023-09-04T03:16:07,794 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2023-09-04T03:16:07,795 been modernized. About 100 lines of shell script, with another 215 lines 2023-09-04T03:16:07,795 of functions in a support file. 2023-09-04T03:16:07,796 * Copies over the modules you specify -- and automatically figures out any 2023-09-04T03:16:07,796 kernel module dependencies, so any depended-upon modules are also copied. 2023-09-04T03:16:07,796 This eliminates the need to track these dependencies manually. 2023-09-04T03:16:07,797 * Rootless operation. You do not need enhanced privileges to create the 2023-09-04T03:16:07,797 initramfs. 2023-09-04T03:16:07,798 * You can read the ``linuxrc`` script and actually understand what it does. 2023-09-04T03:16:07,798 It is written to be easy to understand and adapt. So it's not just short, 2023-09-04T03:16:07,799 but easy to grasp. 2023-09-04T03:16:07,799 * Enhanced module loading engine on the initramfs which is significantly 2023-09-04T03:16:07,799 faster than genkernel. This effectively eliminates the "watching the 2023-09-04T03:16:07,800 stream of useless modules being loaded" issue with genkernel. Modern 2023-09-04T03:16:07,800 systems with NVMe drives will load just a handful of modules to boot 2023-09-04T03:16:07,800 -- all without requiring any special action from the user. 2023-09-04T03:16:07,801 * "kpop" functionality allows for building ramdisks with just the modules 2023-09-04T03:16:07,801 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2023-09-04T03:16:07,802 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2023-09-04T03:16:07,802 these necessary modules, leaving all other modules to be loaded by 2023-09-04T03:16:07,802 your Funtoo Linux system. 2023-09-04T03:16:07,803 * Effective Python-based command to actually build the ramdisk, which is 2023-09-04T03:16:07,803 called: ``ramdisk``. This gives us an extensible platform for the future. 2023-09-04T03:16:07,804 * Enhanced ini-style system for selecting modules to include on your initramfs. 2023-09-04T03:16:07,804 * Enhanced ini-style system for selecting module groups to autoload on the initramfs. 2023-09-04T03:16:07,805 * Support for xz and zstd compression. 2023-09-04T03:16:07,805 How To Use It 2023-09-04T03:16:07,806 ============= 2023-09-04T03:16:07,806 First, install the package, via ``emerge ramdisk`` on Funtoo Linux, or alternatively 2023-09-04T03:16:07,807 ``pip3 install --user funtoo-ramdisk``. You will then have a ``ramdisk`` command 2023-09-04T03:16:07,807 in your path, which can be used to build a ramdisk. 2023-09-04T03:16:07,808 Then, as a regular user, you can run:: 2023-09-04T03:16:07,808 ramdisk /var/tmp/my-new-initramfs 2023-09-04T03:16:07,808 sudo cp /var/tmp/my-new-initramfs /boot 2023-09-04T03:16:07,809 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2023-09-04T03:16:07,809 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2023-09-04T03:16:07,810 extract kernel version information, and then find the appropriate directory in 2023-09-04T03:16:07,810 ``/lib/modules/`` for copying modules. You can type: 2023-09-04T03:16:07,810 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2023-09-04T03:16:07,811 for a non-default kernel. 2023-09-04T03:16:07,811 Since this is brand-new software, it is highly recommended that you DO NOT OVERWRITE 2023-09-04T03:16:07,812 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM. 2023-09-04T03:16:07,812 Instead -- create a NEW BOOT ENTRY to test your initramfs. In GRUB, you can also 2023-09-04T03:16:07,813 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2023-09-04T03:16:07,813 Enjoy -- and let me know how it works for you! Please report issues and feature 2023-09-04T03:16:07,814 requests to https://bugs.funtoo.org. 2023-09-04T03:16:07,815 ChangeLog 2023-09-04T03:16:07,815 ========= 2023-09-04T03:16:07,816 funtoo-ramdisk 1.1.0 2023-09-04T03:16:07,816 -------------------- 2023-09-04T03:16:07,816 Released on September 3, 2023. 2023-09-04T03:16:07,817 * Add plugin system for ramdisk: 2023-09-04T03:16:07,818 To use, pass ``--enable=,``. The ``core`` plugin is 2023-09-04T03:16:07,818 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2023-09-04T03:16:07,818 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2023-09-04T03:16:07,819 just ensure necessary binaries are copied over (no extra setup commands 2023-09-04T03:16:07,819 are run by the initramfs.) 2023-09-04T03:16:07,820 This is a starting point for enabling support for advanced 2023-09-04T03:16:07,820 features on the initramfs. 2023-09-04T03:16:07,821 * New "module configurations". The default module configuration is "full", 2023-09-04T03:16:07,821 which means "make a ramdisk with lots of modules to support a lot of 2023-09-04T03:16:07,821 hardware." Different module configurations can be added in the future. 2023-09-04T03:16:07,822 Module configurations can be specified via ``--kmod_config=``. 2023-09-04T03:16:07,822 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2023-09-04T03:16:07,823 dynamic module configuration via the command-line, rather than via 2023-09-04T03:16:07,823 static config files. 2023-09-04T03:16:07,824 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2023-09-04T03:16:07,824 modules (and their dependencies) will be included. This can dramatically 2023-09-04T03:16:07,824 reduce the size of your ramdisk. Note that this doesn't include the 2023-09-04T03:16:07,824 necessary modules to allow USB keyboards to work in the rescue shell, 2023-09-04T03:16:07,825 so it's only for known-good configurations. Enabling this feature also 2023-09-04T03:16:07,825 disables any static module configuration (see above.) 2023-09-04T03:16:07,826 * Change the binary plugin API so lists of binaries can be dynamically 2023-09-04T03:16:07,826 created and programmatic decisions can be made. Previously, we used a 2023-09-04T03:16:07,826 static list. This allows us to use ``lvm.static`` if available, but 2023-09-04T03:16:07,827 fall back to dynamic ``lvm``, for example. 2023-09-04T03:16:07,827 * To support ``kpop`` functionality, the ability to add a module by its 2023-09-04T03:16:07,828 basic name, not just via its full path or glob, was added to 2023-09-04T03:16:07,828 ``modules.copy``. 2023-09-04T03:16:07,829 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2023-09-04T03:16:07,829 as dynamically-generated line data rather than just as static files 2023-09-04T03:16:07,829 that must exist on the filesystem. (Again, used by ``kpop``). 2023-09-04T03:16:07,830 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2023-09-04T03:16:07,830 module groups to try to load, and instead use the ``modules.autoload`` 2023-09-04T03:16:07,830 groups to determine these. 2023-09-04T03:16:07,831 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2023-09-04T03:16:07,831 The former makes use of ``ramdisk --kernel `` easier because it 2023-09-04T03:16:07,832 prints the available kernel names which can be copy/pasted for the 2023-09-04T03:16:07,832 ``--kernel`` option. 2023-09-04T03:16:07,833 * Implemented our own argument parsing as ``argparse`` was not worth 2023-09-04T03:16:07,833 using. 2023-09-04T03:16:07,834 * Lots of code organized into their own ``.py`` files. 2023-09-04T03:16:07,834 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2023-09-04T03:16:07,835 set up at all if doing a metro build. 2023-09-04T03:16:07,835 * Disable colors if we don't have an interactive shell. 2023-09-04T03:16:07,836 funtoo-ramdisk 1.0.7 2023-09-04T03:16:07,837 -------------------- 2023-09-04T03:16:07,837 Released on August 22, 2023. 2023-09-04T03:16:07,838 Changes: 2023-09-04T03:16:07,838 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2023-09-04T03:16:07,839 specifies where modules *and* the kernel sources will be. This 2023-09-04T03:16:07,839 allows the tool to work from an ebuild. 2023-09-04T03:16:07,840 * Improve output and add nice colors. Optimize information to be 2023-09-04T03:16:07,840 more useful to users. 2023-09-04T03:16:07,841 funtoo-ramdisk 1.0.6 2023-09-04T03:16:07,841 -------------------- 2023-09-04T03:16:07,842 Released on August 21, 2023. 2023-09-04T03:16:07,842 Two new options: 2023-09-04T03:16:07,843 * ``--modules_root`` to set the root filesystem to scan for modules. 2023-09-04T03:16:07,843 It defaults to ``/``. 2023-09-04T03:16:07,844 * ``--temp_root`` to set the default path to use for creating a 2023-09-04T03:16:07,844 temporary directory. It defaults to ``/var/tmp``. 2023-09-04T03:16:07,845 funtoo-ramdisk 1.0.5 2023-09-04T03:16:07,845 -------------------- 2023-09-04T03:16:07,846 Released on August 21, 2023. 2023-09-04T03:16:07,847 This is a features/maintenance/bug fix release. 2023-09-04T03:16:07,847 In addition to a bunch of minor fixes and clean-ups, which you can 2023-09-04T03:16:07,847 view in the git history, the following significant changes were 2023-09-04T03:16:07,848 made: 2023-09-04T03:16:07,848 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2023-09-04T03:16:07,849 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2023-09-04T03:16:07,849 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2023-09-04T03:16:07,849 over. This fixes an issue where we get invalid symbols when loading modules 2023-09-04T03:16:07,850 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2023-09-04T03:16:07,850 At some point, we could make a "toggle" to select kmod/busybox mode. The 2023-09-04T03:16:07,851 best time to run ``depmod`` for busybox is probably once the ramdisk first 2023-09-04T03:16:07,851 boots, since it doesn't have a "root" option, making it hard to call from our 2023-09-04T03:16:07,851 ramdisk script. 2023-09-04T03:16:07,852 * Remove unused control character definitions in ``initrd.defaults``. 2023-09-04T03:16:07,853 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2023-09-04T03:16:07,853 have been detected, resulting in lack of input. We now wait 5 seconds 2023-09-04T03:16:07,853 before starting a rescue shell, to give the kernel time to enumerate 2023-09-04T03:16:07,854 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2023-09-04T03:16:07,854 the problem of ``ash`` starting and not having any way to type, because 2023-09-04T03:16:07,854 it didn't connect to your main keyboard. 2023-09-04T03:16:07,855 Try to work around issues related to ATA/SCSI disk enumeration which could 2023-09-04T03:16:07,855 prevent the root filesystem from being mounted (see FL-11532). 2023-09-04T03:16:07,856 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2023-09-04T03:16:07,856 this is not a good idea, and can cause problems if you have multiple 2023-09-04T03:16:07,856 disks. Show them how to fix the problem by switching to UUID. 2023-09-04T03:16:07,857 * Remove scsi_debug module which is evil and if we force-load it, will create 2023-09-04T03:16:07,857 a new SCSI device 8MB in size and trigger the problem above for anyone 2023-09-04T03:16:07,858 with a SATA disk. 2023-09-04T03:16:07,858 * To implement above feature, added a feature to allow masking of modules in 2023-09-04T03:16:07,859 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2023-09-04T03:16:07,859 lot of sanity checking and warnings. If you happen to mask a module in the 2023-09-04T03:16:07,859 wrong section, so it still gets included on the initramfs due to other 2023-09-04T03:16:07,860 section(s), we will warn you. 2023-09-04T03:16:07,861 funtoo-ramdisk 1.0.4 2023-09-04T03:16:07,861 -------------------- 2023-09-04T03:16:07,862 Released on August 18, 2023. 2023-09-04T03:16:07,862 This is a maintenance/bug fix release. 2023-09-04T03:16:07,863 * Fix ability to run from the git repo. This wasn't working. 2023-09-04T03:16:07,863 * Fix issue found by grouche, where if a module is built-in to the 2023-09-04T03:16:07,864 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2023-09-04T03:16:07,864 an error because it would think it's not copied to the initramfs. 2023-09-04T03:16:07,864 We now read in the ``modules.builtin`` file and use this in the 2023-09-04T03:16:07,865 internal logic -- if a module is built-in to the kernel, we can 2023-09-04T03:16:07,865 not worry if it is our ``modules.autoload`` list. We still have it. 2023-09-04T03:16:07,865 We will also not worry about trying to load it at boot. 2023-09-04T03:16:07,866 * Add a debug output whenever a module is referenced that is actually 2023-09-04T03:16:07,866 a built-in. This helps to audit the behavior of the above 2023-09-04T03:16:07,866 functionality and could be useful to users of the tool as well. 2023-09-04T03:16:07,867 * Announce we are in debug mode with ``log.info()`` instead of a 2023-09-04T03:16:07,867 warning. Looks a bit nicer. 2023-09-04T03:16:08,520 running bdist_wheel 2023-09-04T03:16:09,458 running build 2023-09-04T03:16:09,458 running build_py 2023-09-04T03:16:09,579 creating build 2023-09-04T03:16:09,580 creating build/lib 2023-09-04T03:16:09,582 creating build/lib/funtoo_ramdisk 2023-09-04T03:16:09,584 copying funtoo_ramdisk/initramfs.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,589 copying funtoo_ramdisk/kernel.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,593 copying funtoo_ramdisk/version.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,596 copying funtoo_ramdisk/__init__.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,599 copying funtoo_ramdisk/log.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,602 copying funtoo_ramdisk/modules.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,609 copying funtoo_ramdisk/args.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,613 copying funtoo_ramdisk/utilities.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,617 copying funtoo_ramdisk/plugin_base.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,620 copying funtoo_ramdisk/const.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,624 copying funtoo_ramdisk/config_files.py -> build/lib/funtoo_ramdisk 2023-09-04T03:16:09,629 creating build/lib/funtoo_ramdisk/plugins 2023-09-04T03:16:09,630 copying funtoo_ramdisk/plugins/__init__.py -> build/lib/funtoo_ramdisk/plugins 2023-09-04T03:16:09,633 copying funtoo_ramdisk/plugins/lvm.py -> build/lib/funtoo_ramdisk/plugins 2023-09-04T03:16:09,637 copying funtoo_ramdisk/plugins/btrfs.py -> build/lib/funtoo_ramdisk/plugins 2023-09-04T03:16:09,640 copying funtoo_ramdisk/plugins/core.py -> build/lib/funtoo_ramdisk/plugins 2023-09-04T03:16:09,645 creating build/lib/funtoo_ramdisk/support 2023-09-04T03:16:09,646 copying funtoo_ramdisk/support/__init__.py -> build/lib/funtoo_ramdisk/support 2023-09-04T03:16:09,650 creating build/lib/funtoo_ramdisk/support/module_configs 2023-09-04T03:16:09,652 copying funtoo_ramdisk/support/module_configs/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs 2023-09-04T03:16:09,656 creating build/lib/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:09,657 copying funtoo_ramdisk/support/module_configs/full/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:09,660 running egg_info 2023-09-04T03:16:09,902 writing funtoo_ramdisk.egg-info/PKG-INFO 2023-09-04T03:16:09,906 writing dependency_links to funtoo_ramdisk.egg-info/dependency_links.txt 2023-09-04T03:16:09,910 writing requirements to funtoo_ramdisk.egg-info/requires.txt 2023-09-04T03:16:09,913 writing top-level names to funtoo_ramdisk.egg-info/top_level.txt 2023-09-04T03:16:10,035 reading manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2023-09-04T03:16:10,042 reading manifest template 'MANIFEST.in' 2023-09-04T03:16:10,062 writing manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2023-09-04T03:16:10,068 /home/piwheels/.local/lib/python3.7/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'funtoo_ramdisk.support.etc' is absent from the `packages` configuration. 2023-09-04T03:16:10,068 !! 2023-09-04T03:16:10,069 ******************************************************************************** 2023-09-04T03:16:10,069 ############################ 2023-09-04T03:16:10,070 # Package would be ignored # 2023-09-04T03:16:10,070 ############################ 2023-09-04T03:16:10,070 Python recognizes 'funtoo_ramdisk.support.etc' as an importable package[^1], 2023-09-04T03:16:10,071 but it is absent from setuptools' `packages` configuration. 2023-09-04T03:16:10,071 This leads to an ambiguous overall configuration. If you want to distribute this 2023-09-04T03:16:10,072 package, please make sure that 'funtoo_ramdisk.support.etc' is explicitly added 2023-09-04T03:16:10,072 to the `packages` configuration field. 2023-09-04T03:16:10,073 Alternatively, you can also rely on setuptools' discovery methods 2023-09-04T03:16:10,073 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2023-09-04T03:16:10,073 instead of `find_packages(...)`/`find:`). 2023-09-04T03:16:10,074 You can read more about "package discovery" on setuptools documentation page: 2023-09-04T03:16:10,075 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2023-09-04T03:16:10,075 If you don't want 'funtoo_ramdisk.support.etc' to be distributed and are 2023-09-04T03:16:10,075 already explicitly excluding 'funtoo_ramdisk.support.etc' via 2023-09-04T03:16:10,076 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2023-09-04T03:16:10,076 you can try to use `exclude_package_data`, or `include-package-data=False` in 2023-09-04T03:16:10,076 combination with a more fine grained `package-data` configuration. 2023-09-04T03:16:10,077 You can read more about "package data files" on setuptools documentation page: 2023-09-04T03:16:10,078 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2023-09-04T03:16:10,079 [^1]: For Python, any directory (with suitable naming) can be imported, 2023-09-04T03:16:10,079 even if it does not contain any `.py` files. 2023-09-04T03:16:10,079 On the other hand, currently there is no concept of package data 2023-09-04T03:16:10,080 directory, all directories are treated like packages. 2023-09-04T03:16:10,080 ******************************************************************************** 2023-09-04T03:16:10,081 !! 2023-09-04T03:16:10,081 check.warn(importable) 2023-09-04T03:16:10,081 copying funtoo_ramdisk/support/initramfs.cpio -> build/lib/funtoo_ramdisk/support 2023-09-04T03:16:10,082 copying funtoo_ramdisk/support/linuxrc -> build/lib/funtoo_ramdisk/support 2023-09-04T03:16:10,082 creating build/lib/funtoo_ramdisk/support/etc 2023-09-04T03:16:10,083 copying funtoo_ramdisk/support/etc/initrd.defaults -> build/lib/funtoo_ramdisk/support/etc 2023-09-04T03:16:10,087 copying funtoo_ramdisk/support/etc/initrd.scripts -> build/lib/funtoo_ramdisk/support/etc 2023-09-04T03:16:10,092 copying funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/lib/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:10,097 copying funtoo_ramdisk/support/module_configs/full/modules.copy -> build/lib/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:10,106 running build_scripts 2023-09-04T03:16:10,107 creating build/scripts-3.7 2023-09-04T03:16:10,109 copying and adjusting bin/ramdisk -> build/scripts-3.7 2023-09-04T03:16:10,112 changing mode of build/scripts-3.7/ramdisk from 644 to 755 2023-09-04T03:16:10,233 /home/piwheels/.local/lib/python3.7/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-04T03:16:10,233 !! 2023-09-04T03:16:10,234 ******************************************************************************** 2023-09-04T03:16:10,234 Please avoid running ``setup.py`` directly. 2023-09-04T03:16:10,235 Instead, use pypa/build, pypa/installer, pypa/build or 2023-09-04T03:16:10,235 other standards-based tools. 2023-09-04T03:16:10,235 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-04T03:16:10,236 ******************************************************************************** 2023-09-04T03:16:10,236 !! 2023-09-04T03:16:10,237 self.initialize_options() 2023-09-04T03:16:10,347 installing to build/bdist.linux-armv7l/wheel 2023-09-04T03:16:10,347 running install 2023-09-04T03:16:10,406 running install_lib 2023-09-04T03:16:10,522 creating build/bdist.linux-armv7l 2023-09-04T03:16:10,523 creating build/bdist.linux-armv7l/wheel 2023-09-04T03:16:10,526 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,530 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2023-09-04T03:16:10,532 copying build/lib/funtoo_ramdisk/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2023-09-04T03:16:10,535 copying build/lib/funtoo_ramdisk/plugins/lvm.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2023-09-04T03:16:10,539 copying build/lib/funtoo_ramdisk/plugins/btrfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2023-09-04T03:16:10,543 copying build/lib/funtoo_ramdisk/plugins/core.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2023-09-04T03:16:10,546 copying build/lib/funtoo_ramdisk/initramfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,551 copying build/lib/funtoo_ramdisk/kernel.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,555 copying build/lib/funtoo_ramdisk/version.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,558 copying build/lib/funtoo_ramdisk/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,562 copying build/lib/funtoo_ramdisk/log.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,565 copying build/lib/funtoo_ramdisk/modules.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,570 copying build/lib/funtoo_ramdisk/args.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,574 copying build/lib/funtoo_ramdisk/utilities.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,579 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-09-04T03:16:10,581 copying build/lib/funtoo_ramdisk/support/initramfs.cpio -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-09-04T03:16:10,584 copying build/lib/funtoo_ramdisk/support/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-09-04T03:16:10,587 copying build/lib/funtoo_ramdisk/support/linuxrc -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-09-04T03:16:10,592 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2023-09-04T03:16:10,594 copying build/lib/funtoo_ramdisk/support/module_configs/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2023-09-04T03:16:10,598 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:10,600 copying build/lib/funtoo_ramdisk/support/module_configs/full/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:10,603 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.copy -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:10,607 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2023-09-04T03:16:10,611 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2023-09-04T03:16:10,613 copying build/lib/funtoo_ramdisk/support/etc/initrd.scripts -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2023-09-04T03:16:10,618 copying build/lib/funtoo_ramdisk/support/etc/initrd.defaults -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2023-09-04T03:16:10,621 copying build/lib/funtoo_ramdisk/plugin_base.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,625 copying build/lib/funtoo_ramdisk/const.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,628 copying build/lib/funtoo_ramdisk/config_files.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-09-04T03:16:10,632 running install_egg_info 2023-09-04T03:16:10,754 Copying funtoo_ramdisk.egg-info to build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.0-py3.7.egg-info 2023-09-04T03:16:10,774 running install_scripts 2023-09-04T03:16:10,776 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.0.data 2023-09-04T03:16:10,777 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.0.data/scripts 2023-09-04T03:16:10,779 copying build/scripts-3.7/ramdisk -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.0.data/scripts 2023-09-04T03:16:10,782 changing mode of build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.0.data/scripts/ramdisk to 755 2023-09-04T03:16:10,811 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.0.dist-info/WHEEL 2023-09-04T03:16:10,816 creating '/tmp/pip-wheel-ev6gd84o/funtoo_ramdisk-1.1.0-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2023-09-04T03:16:10,822 adding 'funtoo_ramdisk/__init__.py' 2023-09-04T03:16:10,825 adding 'funtoo_ramdisk/args.py' 2023-09-04T03:16:10,828 adding 'funtoo_ramdisk/config_files.py' 2023-09-04T03:16:10,831 adding 'funtoo_ramdisk/const.py' 2023-09-04T03:16:10,835 adding 'funtoo_ramdisk/initramfs.py' 2023-09-04T03:16:10,838 adding 'funtoo_ramdisk/kernel.py' 2023-09-04T03:16:10,841 adding 'funtoo_ramdisk/log.py' 2023-09-04T03:16:10,847 adding 'funtoo_ramdisk/modules.py' 2023-09-04T03:16:10,850 adding 'funtoo_ramdisk/plugin_base.py' 2023-09-04T03:16:10,852 adding 'funtoo_ramdisk/utilities.py' 2023-09-04T03:16:10,854 adding 'funtoo_ramdisk/version.py' 2023-09-04T03:16:10,858 adding 'funtoo_ramdisk/plugins/__init__.py' 2023-09-04T03:16:10,860 adding 'funtoo_ramdisk/plugins/btrfs.py' 2023-09-04T03:16:10,862 adding 'funtoo_ramdisk/plugins/core.py' 2023-09-04T03:16:10,865 adding 'funtoo_ramdisk/plugins/lvm.py' 2023-09-04T03:16:10,868 adding 'funtoo_ramdisk/support/__init__.py' 2023-09-04T03:16:10,870 adding 'funtoo_ramdisk/support/initramfs.cpio' 2023-09-04T03:16:10,874 adding 'funtoo_ramdisk/support/linuxrc' 2023-09-04T03:16:10,878 adding 'funtoo_ramdisk/support/etc/initrd.defaults' 2023-09-04T03:16:10,881 adding 'funtoo_ramdisk/support/etc/initrd.scripts' 2023-09-04T03:16:10,885 adding 'funtoo_ramdisk/support/module_configs/__init__.py' 2023-09-04T03:16:10,889 adding 'funtoo_ramdisk/support/module_configs/full/__init__.py' 2023-09-04T03:16:10,893 adding 'funtoo_ramdisk/support/module_configs/full/modules.autoload' 2023-09-04T03:16:10,896 adding 'funtoo_ramdisk/support/module_configs/full/modules.copy' 2023-09-04T03:16:10,902 adding 'funtoo_ramdisk-1.1.0.data/scripts/ramdisk' 2023-09-04T03:16:10,909 adding 'funtoo_ramdisk-1.1.0.dist-info/METADATA' 2023-09-04T03:16:10,912 adding 'funtoo_ramdisk-1.1.0.dist-info/WHEEL' 2023-09-04T03:16:10,914 adding 'funtoo_ramdisk-1.1.0.dist-info/top_level.txt' 2023-09-04T03:16:10,917 adding 'funtoo_ramdisk-1.1.0.dist-info/RECORD' 2023-09-04T03:16:10,922 removing build/bdist.linux-armv7l/wheel 2023-09-04T03:16:11,098 Building wheel for funtoo-ramdisk (setup.py): finished with status 'done' 2023-09-04T03:16:11,106 Created wheel for funtoo-ramdisk: filename=funtoo_ramdisk-1.1.0-py3-none-any.whl size=32179 sha256=1a4604cec4d133454e7d49d6b8046ecac63c5d35bee972e0b83d7c642519b1fe 2023-09-04T03:16:11,109 Stored in directory: /tmp/pip-ephem-wheel-cache-4yn__5w8/wheels/40/a1/66/1ed01c406bc49ebe1895bbea1133016dfcca42f076fdce5604 2023-09-04T03:16:11,139 Successfully built funtoo-ramdisk 2023-09-04T03:16:11,147 Removed build tracker: '/tmp/pip-build-tracker-y6fdobeg'