2023-08-18T19:21:22,109 Created temporary directory: /tmp/pip-build-tracker-o9cny_8t 2023-08-18T19:21:22,112 Initialized build tracking at /tmp/pip-build-tracker-o9cny_8t 2023-08-18T19:21:22,113 Created build tracker: /tmp/pip-build-tracker-o9cny_8t 2023-08-18T19:21:22,113 Entered build tracker: /tmp/pip-build-tracker-o9cny_8t 2023-08-18T19:21:22,114 Created temporary directory: /tmp/pip-wheel-w00ejdxt 2023-08-18T19:21:22,123 Created temporary directory: /tmp/pip-ephem-wheel-cache-nlwlrfvu 2023-08-18T19:21:22,181 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-08-18T19:21:22,190 2 location(s) to search for versions of funtoo-ramdisk: 2023-08-18T19:21:22,190 * https://pypi.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,190 * https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,191 Fetching project page and analyzing links: https://pypi.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,192 Getting page https://pypi.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,196 Found index url https://pypi.org/simple/ 2023-08-18T19:21:22,383 Fetched page https://pypi.org/simple/funtoo-ramdisk/ as application/vnd.pypi.simple.v1+json 2023-08-18T19:21:22,388 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-08-18T19:21:22,389 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-08-18T19:21:22,391 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-08-18T19:21:22,392 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-08-18T19:21:22,394 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-08-18T19:21:22,395 Fetching project page and analyzing links: https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,395 Getting page https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,398 Found index url https://www.piwheels.org/simple/ 2023-08-18T19:21:22,714 Fetched page https://www.piwheels.org/simple/funtoo-ramdisk/ as text/html 2023-08-18T19:21:22,719 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-08-18T19:21:22,720 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-08-18T19:21:22,721 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-08-18T19:21:22,722 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-08-18T19:21:22,723 Skipping link: not a file: https://www.piwheels.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,723 Skipping link: not a file: https://pypi.org/simple/funtoo-ramdisk/ 2023-08-18T19:21:22,756 Given no hashes to check 1 links for project 'funtoo-ramdisk': discarding no candidates 2023-08-18T19:21:22,791 Collecting funtoo-ramdisk==1.0.4 2023-08-18T19:21:22,796 Created temporary directory: /tmp/pip-unpack-8kymd_9s 2023-08-18T19:21:22,966 Downloading funtoo-ramdisk-1.0.4.tar.gz (19 kB) 2023-08-18T19:21:23,101 Added funtoo-ramdisk==1.0.4 from https://files.pythonhosted.org/packages/3f/13/0c6d2f9e8ae74fe6fc8a290bfbb7b389818e7a7b82d158ff20e9251e5c89/funtoo-ramdisk-1.0.4.tar.gz to build tracker '/tmp/pip-build-tracker-o9cny_8t' 2023-08-18T19:21:23,106 Running setup.py (path:/tmp/pip-wheel-w00ejdxt/funtoo-ramdisk_a19b0b0d497d4852b436eed41a1ed236/setup.py) egg_info for package funtoo-ramdisk 2023-08-18T19:21:23,107 Created temporary directory: /tmp/pip-pip-egg-info-906fsslu 2023-08-18T19:21:23,108 Preparing metadata (setup.py): started 2023-08-18T19:21:23,110 Running command python setup.py egg_info 2023-08-18T19:21:24,782 ************** 2023-08-18T19:21:24,783 Funtoo Ramdisk 2023-08-18T19:21:24,783 ************** 2023-08-18T19:21:24,784 Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2023-08-18T19:21:24,785 Licensed under the Apache License, Version 2.0 (the "License"); 2023-08-18T19:21:24,785 you may not use this file except in compliance with the License. 2023-08-18T19:21:24,785 You may obtain a copy of the License at 2023-08-18T19:21:24,786 http://www.apache.org/licenses/LICENSE-2.0 2023-08-18T19:21:24,787 Unless required by applicable law or agreed to in writing, software 2023-08-18T19:21:24,787 distributed under the License is distributed on an "AS IS" BASIS, 2023-08-18T19:21:24,787 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2023-08-18T19:21:24,788 See the License for the specific language governing permissions and 2023-08-18T19:21:24,788 limitations under the License. 2023-08-18T19:21:24,789 Introduction 2023-08-18T19:21:24,789 ============ 2023-08-18T19:21:24,790 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2023-08-18T19:21:24,790 initial RAM disk filesystem (initramfs) for booting your Linux system. 2023-08-18T19:21:24,791 The internal initramfs logic is based on the logic found in Gentoo Linux's 2023-08-18T19:21:24,791 genkernel tool, but has been rewritten to be simpler and more efficient. 2023-08-18T19:21:24,792 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2023-08-18T19:21:24,792 ext4 or XFS filesystem, which is what we support in our official installation 2023-08-18T19:21:24,792 documentation at https://www.funtoo.org/Install -- but that's about it. 2023-08-18T19:21:24,793 What's Not Included 2023-08-18T19:21:24,793 =================== 2023-08-18T19:21:24,794 Nearly all "extra" genkernel features are intentionally not yet implemented. 2023-08-18T19:21:24,794 This tool doesn't build your kernel or modules. 2023-08-18T19:21:24,795 It also currently doesn't support dmraid, zfs, btrfs, encrypted root, or LiveCD 2023-08-18T19:21:24,795 or LiveUSB booting. 2023-08-18T19:21:24,796 Why not? Because one of the main design goals of this project is to create a 2023-08-18T19:21:24,796 very elegant and easy-to-understand initramfs whose core logic is not cluttered 2023-08-18T19:21:24,797 with tons of complicated features. To start from a clean slate, we are starting 2023-08-18T19:21:24,797 from very minimal functionality and then will very carefully add back various 2023-08-18T19:21:24,797 features while keeping the code clean, simple, elegant and effective. 2023-08-18T19:21:24,798 What's Included 2023-08-18T19:21:24,798 =============== 2023-08-18T19:21:24,799 So, what *does* Funtoo's ramdisk tool actually offer? Here's a list: 2023-08-18T19:21:24,800 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2023-08-18T19:21:24,800 initramfs, the shell code is about 10x simpler and a lot cleaner, but does 2023-08-18T19:21:24,800 the same thing and has been modernized. About 150 lines of shell script, 2023-08-18T19:21:24,801 with another 150 lines of functions. 2023-08-18T19:21:24,801 * Rootless operation. You do not need enhanced privileges to create the 2023-08-18T19:21:24,802 initramfs. 2023-08-18T19:21:24,802 * You can read the ``linuxrc`` script and actually understand what it does. 2023-08-18T19:21:24,803 It is written to be easy to understand and adapt. So it's not just short, 2023-08-18T19:21:24,803 but easy to grasp. 2023-08-18T19:21:24,804 * Enhanced module loading engine on the initramfs which is significantly 2023-08-18T19:21:24,804 faster than genkernel. This effectively eliminates the "watching the 2023-08-18T19:21:24,804 stream of useless modules being loaded" issue with genkernel. Modern 2023-08-18T19:21:24,805 systems with NVMe drives will load just a handful of modules to boot 2023-08-18T19:21:24,805 -- all without requiring any special action from the user. 2023-08-18T19:21:24,806 * If you are still able to find some modules that got loaded that you 2023-08-18T19:21:24,806 don't want loaded, you can use the "magic modules" feature to specify 2023-08-18T19:21:24,806 just the modules you want to load. Specify ``magic=mod1,mod2,mod3`` 2023-08-18T19:21:24,807 as a kernel argument and just these modules will be loaded. 2023-08-18T19:21:24,807 * Effective Python-based command to actually build the ramdisk, which is 2023-08-18T19:21:24,808 called: ``ramdisk``. This gives us an extensible platform for the future. 2023-08-18T19:21:24,808 * Enhanced ini-style system for selecting modules to include on your initramfs. 2023-08-18T19:21:24,809 * Enhanced ini-style system for selecting module groups to autoload on the initramfs. 2023-08-18T19:21:24,809 * Support for xz and zstd compression. 2023-08-18T19:21:24,809 How To Use It 2023-08-18T19:21:24,810 ============= 2023-08-18T19:21:24,810 First, install the package, via ``emerge ramdisk`` on Funtoo Linux, or alternatively 2023-08-18T19:21:24,811 ``pip3 install --user funtoo-ramdisk``. You will then have a ``ramdisk`` command 2023-08-18T19:21:24,811 in your path, which can be used to build a ramdisk. 2023-08-18T19:21:24,812 Then, as a regular user, you can run:: 2023-08-18T19:21:24,812 ramdisk /var/tmp/my-new-initramfs 2023-08-18T19:21:24,813 sudo cp /var/tmp/my-new-initramfs /boot 2023-08-18T19:21:24,813 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2023-08-18T19:21:24,814 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2023-08-18T19:21:24,814 extract kernel version information, and then find the appropriate directory in 2023-08-18T19:21:24,814 ``/lib/modules/`` for copying modules. 2023-08-18T19:21:24,815 Since this is brand-new software, it is highly recommended that you DO NOT OVERWRITE 2023-08-18T19:21:24,815 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM. 2023-08-18T19:21:24,816 Instead -- create a NEW BOOT ENTRY to test your initramfs. In GRUB, you can also 2023-08-18T19:21:24,816 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2023-08-18T19:21:24,817 Enjoy -- and let me know how it works for you! Please report issues and feature 2023-08-18T19:21:24,817 requests to https://bugs.funtoo.org. 2023-08-18T19:21:24,818 ChangeLog 2023-08-18T19:21:24,818 ========= 2023-08-18T19:21:24,819 funtoo-ramdisk 1.0.4 2023-08-18T19:21:24,819 -------------------- 2023-08-18T19:21:24,820 Released on August 18, 2023. 2023-08-18T19:21:24,821 This is a maintenance/bug fix release. 2023-08-18T19:21:24,821 * Fix ability to run from the git repo. This wasn't working. 2023-08-18T19:21:24,822 * Fix issue found by grouche, where if a module is built-in to the 2023-08-18T19:21:24,822 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2023-08-18T19:21:24,823 an error because it would think it's not copied to the initramfs. 2023-08-18T19:21:24,823 We now read in the ``modules.builtin`` file and use this in the 2023-08-18T19:21:24,823 internal logic -- if a module is built-in to the kernel, we can 2023-08-18T19:21:24,823 not worry if it is our ``modules.autoload`` list. We still have it. 2023-08-18T19:21:24,824 We will also not worry about trying to load it at boot. 2023-08-18T19:21:24,824 * Add a debug output whenever a module is referenced that is actually 2023-08-18T19:21:24,825 a built-in. This helps to audit the behavior of the above 2023-08-18T19:21:24,825 functionality and could be useful to users of the tool as well. 2023-08-18T19:21:24,826 * Announce we are in debug mode with ``log.info()`` instead of a 2023-08-18T19:21:24,826 warning. Looks a bit nicer. 2023-08-18T19:21:24,827 running egg_info 2023-08-18T19:21:24,827 creating /tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info 2023-08-18T19:21:24,882 writing /tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info/PKG-INFO 2023-08-18T19:21:24,888 writing dependency_links to /tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info/dependency_links.txt 2023-08-18T19:21:24,893 writing requirements to /tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info/requires.txt 2023-08-18T19:21:24,895 writing top-level names to /tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info/top_level.txt 2023-08-18T19:21:24,898 writing manifest file '/tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info/SOURCES.txt' 2023-08-18T19:21:25,269 reading manifest file '/tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info/SOURCES.txt' 2023-08-18T19:21:25,272 reading manifest template 'MANIFEST.in' 2023-08-18T19:21:25,287 writing manifest file '/tmp/pip-pip-egg-info-906fsslu/funtoo_ramdisk.egg-info/SOURCES.txt' 2023-08-18T19:21:25,409 Preparing metadata (setup.py): finished with status 'done' 2023-08-18T19:21:25,422 Source in /tmp/pip-wheel-w00ejdxt/funtoo-ramdisk_a19b0b0d497d4852b436eed41a1ed236 has version 1.0.4, which satisfies requirement funtoo-ramdisk==1.0.4 from https://files.pythonhosted.org/packages/3f/13/0c6d2f9e8ae74fe6fc8a290bfbb7b389818e7a7b82d158ff20e9251e5c89/funtoo-ramdisk-1.0.4.tar.gz 2023-08-18T19:21:25,424 Removed funtoo-ramdisk==1.0.4 from https://files.pythonhosted.org/packages/3f/13/0c6d2f9e8ae74fe6fc8a290bfbb7b389818e7a7b82d158ff20e9251e5c89/funtoo-ramdisk-1.0.4.tar.gz from build tracker '/tmp/pip-build-tracker-o9cny_8t' 2023-08-18T19:21:25,440 Created temporary directory: /tmp/pip-unpack-jeobjuz8 2023-08-18T19:21:25,441 Building wheels for collected packages: funtoo-ramdisk 2023-08-18T19:21:25,450 Created temporary directory: /tmp/pip-wheel-8ss4_zci 2023-08-18T19:21:25,451 Building wheel for funtoo-ramdisk (setup.py): started 2023-08-18T19:21:25,453 Destination directory: /tmp/pip-wheel-8ss4_zci 2023-08-18T19:21:25,454 Running command python setup.py bdist_wheel 2023-08-18T19:21:26,522 ************** 2023-08-18T19:21:26,523 Funtoo Ramdisk 2023-08-18T19:21:26,523 ************** 2023-08-18T19:21:26,524 Copyright 2023 Daniel Robbins, Funtoo Solutions, Inc. 2023-08-18T19:21:26,525 Licensed under the Apache License, Version 2.0 (the "License"); 2023-08-18T19:21:26,525 you may not use this file except in compliance with the License. 2023-08-18T19:21:26,525 You may obtain a copy of the License at 2023-08-18T19:21:26,526 http://www.apache.org/licenses/LICENSE-2.0 2023-08-18T19:21:26,527 Unless required by applicable law or agreed to in writing, software 2023-08-18T19:21:26,527 distributed under the License is distributed on an "AS IS" BASIS, 2023-08-18T19:21:26,527 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2023-08-18T19:21:26,528 See the License for the specific language governing permissions and 2023-08-18T19:21:26,528 limitations under the License. 2023-08-18T19:21:26,529 Introduction 2023-08-18T19:21:26,529 ============ 2023-08-18T19:21:26,530 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2023-08-18T19:21:26,530 initial RAM disk filesystem (initramfs) for booting your Linux system. 2023-08-18T19:21:26,531 The internal initramfs logic is based on the logic found in Gentoo Linux's 2023-08-18T19:21:26,531 genkernel tool, but has been rewritten to be simpler and more efficient. 2023-08-18T19:21:26,532 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2023-08-18T19:21:26,532 ext4 or XFS filesystem, which is what we support in our official installation 2023-08-18T19:21:26,532 documentation at https://www.funtoo.org/Install -- but that's about it. 2023-08-18T19:21:26,533 What's Not Included 2023-08-18T19:21:26,533 =================== 2023-08-18T19:21:26,534 Nearly all "extra" genkernel features are intentionally not yet implemented. 2023-08-18T19:21:26,534 This tool doesn't build your kernel or modules. 2023-08-18T19:21:26,535 It also currently doesn't support dmraid, zfs, btrfs, encrypted root, or LiveCD 2023-08-18T19:21:26,535 or LiveUSB booting. 2023-08-18T19:21:26,536 Why not? Because one of the main design goals of this project is to create a 2023-08-18T19:21:26,536 very elegant and easy-to-understand initramfs whose core logic is not cluttered 2023-08-18T19:21:26,537 with tons of complicated features. To start from a clean slate, we are starting 2023-08-18T19:21:26,537 from very minimal functionality and then will very carefully add back various 2023-08-18T19:21:26,537 features while keeping the code clean, simple, elegant and effective. 2023-08-18T19:21:26,538 What's Included 2023-08-18T19:21:26,538 =============== 2023-08-18T19:21:26,539 So, what *does* Funtoo's ramdisk tool actually offer? Here's a list: 2023-08-18T19:21:26,540 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2023-08-18T19:21:26,540 initramfs, the shell code is about 10x simpler and a lot cleaner, but does 2023-08-18T19:21:26,540 the same thing and has been modernized. About 150 lines of shell script, 2023-08-18T19:21:26,541 with another 150 lines of functions. 2023-08-18T19:21:26,541 * Rootless operation. You do not need enhanced privileges to create the 2023-08-18T19:21:26,542 initramfs. 2023-08-18T19:21:26,542 * You can read the ``linuxrc`` script and actually understand what it does. 2023-08-18T19:21:26,543 It is written to be easy to understand and adapt. So it's not just short, 2023-08-18T19:21:26,543 but easy to grasp. 2023-08-18T19:21:26,544 * Enhanced module loading engine on the initramfs which is significantly 2023-08-18T19:21:26,544 faster than genkernel. This effectively eliminates the "watching the 2023-08-18T19:21:26,544 stream of useless modules being loaded" issue with genkernel. Modern 2023-08-18T19:21:26,544 systems with NVMe drives will load just a handful of modules to boot 2023-08-18T19:21:26,545 -- all without requiring any special action from the user. 2023-08-18T19:21:26,545 * If you are still able to find some modules that got loaded that you 2023-08-18T19:21:26,546 don't want loaded, you can use the "magic modules" feature to specify 2023-08-18T19:21:26,546 just the modules you want to load. Specify ``magic=mod1,mod2,mod3`` 2023-08-18T19:21:26,546 as a kernel argument and just these modules will be loaded. 2023-08-18T19:21:26,547 * Effective Python-based command to actually build the ramdisk, which is 2023-08-18T19:21:26,547 called: ``ramdisk``. This gives us an extensible platform for the future. 2023-08-18T19:21:26,548 * Enhanced ini-style system for selecting modules to include on your initramfs. 2023-08-18T19:21:26,548 * Enhanced ini-style system for selecting module groups to autoload on the initramfs. 2023-08-18T19:21:26,549 * Support for xz and zstd compression. 2023-08-18T19:21:26,549 How To Use It 2023-08-18T19:21:26,550 ============= 2023-08-18T19:21:26,550 First, install the package, via ``emerge ramdisk`` on Funtoo Linux, or alternatively 2023-08-18T19:21:26,551 ``pip3 install --user funtoo-ramdisk``. You will then have a ``ramdisk`` command 2023-08-18T19:21:26,551 in your path, which can be used to build a ramdisk. 2023-08-18T19:21:26,552 Then, as a regular user, you can run:: 2023-08-18T19:21:26,552 ramdisk /var/tmp/my-new-initramfs 2023-08-18T19:21:26,553 sudo cp /var/tmp/my-new-initramfs /boot 2023-08-18T19:21:26,553 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2023-08-18T19:21:26,554 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2023-08-18T19:21:26,554 extract kernel version information, and then find the appropriate directory in 2023-08-18T19:21:26,554 ``/lib/modules/`` for copying modules. 2023-08-18T19:21:26,555 Since this is brand-new software, it is highly recommended that you DO NOT OVERWRITE 2023-08-18T19:21:26,555 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM. 2023-08-18T19:21:26,556 Instead -- create a NEW BOOT ENTRY to test your initramfs. In GRUB, you can also 2023-08-18T19:21:26,556 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2023-08-18T19:21:26,557 Enjoy -- and let me know how it works for you! Please report issues and feature 2023-08-18T19:21:26,557 requests to https://bugs.funtoo.org. 2023-08-18T19:21:26,558 ChangeLog 2023-08-18T19:21:26,558 ========= 2023-08-18T19:21:26,559 funtoo-ramdisk 1.0.4 2023-08-18T19:21:26,559 -------------------- 2023-08-18T19:21:26,560 Released on August 18, 2023. 2023-08-18T19:21:26,561 This is a maintenance/bug fix release. 2023-08-18T19:21:26,561 * Fix ability to run from the git repo. This wasn't working. 2023-08-18T19:21:26,562 * Fix issue found by grouche, where if a module is built-in to the 2023-08-18T19:21:26,562 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2023-08-18T19:21:26,562 an error because it would think it's not copied to the initramfs. 2023-08-18T19:21:26,563 We now read in the ``modules.builtin`` file and use this in the 2023-08-18T19:21:26,563 internal logic -- if a module is built-in to the kernel, we can 2023-08-18T19:21:26,563 not worry if it is our ``modules.autoload`` list. We still have it. 2023-08-18T19:21:26,564 We will also not worry about trying to load it at boot. 2023-08-18T19:21:26,564 * Add a debug output whenever a module is referenced that is actually 2023-08-18T19:21:26,565 a built-in. This helps to audit the behavior of the above 2023-08-18T19:21:26,565 functionality and could be useful to users of the tool as well. 2023-08-18T19:21:26,566 * Announce we are in debug mode with ``log.info()`` instead of a 2023-08-18T19:21:26,566 warning. Looks a bit nicer. 2023-08-18T19:21:27,126 running bdist_wheel 2023-08-18T19:21:27,932 running build 2023-08-18T19:21:27,933 running build_py 2023-08-18T19:21:28,029 creating build 2023-08-18T19:21:28,030 creating build/lib 2023-08-18T19:21:28,033 creating build/lib/funtoo_ramdisk 2023-08-18T19:21:28,036 copying funtoo_ramdisk/initramfs.py -> build/lib/funtoo_ramdisk 2023-08-18T19:21:28,042 copying funtoo_ramdisk/version.py -> build/lib/funtoo_ramdisk 2023-08-18T19:21:28,046 copying funtoo_ramdisk/__init__.py -> build/lib/funtoo_ramdisk 2023-08-18T19:21:28,050 copying funtoo_ramdisk/modules.py -> build/lib/funtoo_ramdisk 2023-08-18T19:21:28,056 creating build/lib/funtoo_ramdisk/support 2023-08-18T19:21:28,058 copying funtoo_ramdisk/support/__init__.py -> build/lib/funtoo_ramdisk/support 2023-08-18T19:21:28,061 running egg_info 2023-08-18T19:21:28,254 writing funtoo_ramdisk.egg-info/PKG-INFO 2023-08-18T19:21:28,258 writing dependency_links to funtoo_ramdisk.egg-info/dependency_links.txt 2023-08-18T19:21:28,263 writing requirements to funtoo_ramdisk.egg-info/requires.txt 2023-08-18T19:21:28,266 writing top-level names to funtoo_ramdisk.egg-info/top_level.txt 2023-08-18T19:21:28,359 reading manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2023-08-18T19:21:28,365 reading manifest template 'MANIFEST.in' 2023-08-18T19:21:28,380 writing manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2023-08-18T19:21:28,386 /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-08-18T19:21:28,386 !! 2023-08-18T19:21:28,387 ******************************************************************************** 2023-08-18T19:21:28,387 ############################ 2023-08-18T19:21:28,387 # Package would be ignored # 2023-08-18T19:21:28,388 ############################ 2023-08-18T19:21:28,388 Python recognizes 'funtoo_ramdisk.support.etc' as an importable package[^1], 2023-08-18T19:21:28,389 but it is absent from setuptools' `packages` configuration. 2023-08-18T19:21:28,389 This leads to an ambiguous overall configuration. If you want to distribute this 2023-08-18T19:21:28,390 package, please make sure that 'funtoo_ramdisk.support.etc' is explicitly added 2023-08-18T19:21:28,390 to the `packages` configuration field. 2023-08-18T19:21:28,391 Alternatively, you can also rely on setuptools' discovery methods 2023-08-18T19:21:28,391 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2023-08-18T19:21:28,391 instead of `find_packages(...)`/`find:`). 2023-08-18T19:21:28,392 You can read more about "package discovery" on setuptools documentation page: 2023-08-18T19:21:28,393 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2023-08-18T19:21:28,393 If you don't want 'funtoo_ramdisk.support.etc' to be distributed and are 2023-08-18T19:21:28,394 already explicitly excluding 'funtoo_ramdisk.support.etc' via 2023-08-18T19:21:28,394 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2023-08-18T19:21:28,394 you can try to use `exclude_package_data`, or `include-package-data=False` in 2023-08-18T19:21:28,395 combination with a more fine grained `package-data` configuration. 2023-08-18T19:21:28,395 You can read more about "package data files" on setuptools documentation page: 2023-08-18T19:21:28,396 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2023-08-18T19:21:28,397 [^1]: For Python, any directory (with suitable naming) can be imported, 2023-08-18T19:21:28,397 even if it does not contain any `.py` files. 2023-08-18T19:21:28,398 On the other hand, currently there is no concept of package data 2023-08-18T19:21:28,398 directory, all directories are treated like packages. 2023-08-18T19:21:28,398 ******************************************************************************** 2023-08-18T19:21:28,399 !! 2023-08-18T19:21:28,399 check.warn(importable) 2023-08-18T19:21:28,400 copying funtoo_ramdisk/support/initramfs.cpio -> build/lib/funtoo_ramdisk/support 2023-08-18T19:21:28,400 copying funtoo_ramdisk/support/linuxrc -> build/lib/funtoo_ramdisk/support 2023-08-18T19:21:28,400 copying funtoo_ramdisk/support/modules.autoload -> build/lib/funtoo_ramdisk/support 2023-08-18T19:21:28,402 copying funtoo_ramdisk/support/modules.copy -> build/lib/funtoo_ramdisk/support 2023-08-18T19:21:28,406 creating build/lib/funtoo_ramdisk/support/etc 2023-08-18T19:21:28,408 copying funtoo_ramdisk/support/etc/initrd.defaults -> build/lib/funtoo_ramdisk/support/etc 2023-08-18T19:21:28,412 copying funtoo_ramdisk/support/etc/initrd.scripts -> build/lib/funtoo_ramdisk/support/etc 2023-08-18T19:21:28,418 running build_scripts 2023-08-18T19:21:28,419 creating build/scripts-3.7 2023-08-18T19:21:28,421 copying and adjusting bin/ramdisk -> build/scripts-3.7 2023-08-18T19:21:28,425 changing mode of build/scripts-3.7/ramdisk from 644 to 755 2023-08-18T19:21:28,520 /home/piwheels/.local/lib/python3.7/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-08-18T19:21:28,521 !! 2023-08-18T19:21:28,522 ******************************************************************************** 2023-08-18T19:21:28,522 Please avoid running ``setup.py`` directly. 2023-08-18T19:21:28,522 Instead, use pypa/build, pypa/installer, pypa/build or 2023-08-18T19:21:28,523 other standards-based tools. 2023-08-18T19:21:28,523 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-08-18T19:21:28,524 ******************************************************************************** 2023-08-18T19:21:28,524 !! 2023-08-18T19:21:28,525 self.initialize_options() 2023-08-18T19:21:28,610 installing to build/bdist.linux-armv7l/wheel 2023-08-18T19:21:28,611 running install 2023-08-18T19:21:28,671 running install_lib 2023-08-18T19:21:28,763 creating build/bdist.linux-armv7l 2023-08-18T19:21:28,764 creating build/bdist.linux-armv7l/wheel 2023-08-18T19:21:28,768 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-08-18T19:21:28,770 copying build/lib/funtoo_ramdisk/initramfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-08-18T19:21:28,775 copying build/lib/funtoo_ramdisk/version.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-08-18T19:21:28,779 copying build/lib/funtoo_ramdisk/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-08-18T19:21:28,782 copying build/lib/funtoo_ramdisk/modules.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2023-08-18T19:21:28,788 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-08-18T19:21:28,790 copying build/lib/funtoo_ramdisk/support/initramfs.cpio -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-08-18T19:21:28,794 copying build/lib/funtoo_ramdisk/support/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-08-18T19:21:28,797 copying build/lib/funtoo_ramdisk/support/linuxrc -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-08-18T19:21:28,801 copying build/lib/funtoo_ramdisk/support/modules.copy -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-08-18T19:21:28,806 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2023-08-18T19:21:28,808 copying build/lib/funtoo_ramdisk/support/etc/initrd.scripts -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2023-08-18T19:21:28,812 copying build/lib/funtoo_ramdisk/support/etc/initrd.defaults -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2023-08-18T19:21:28,816 copying build/lib/funtoo_ramdisk/support/modules.autoload -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2023-08-18T19:21:28,819 running install_egg_info 2023-08-18T19:21:28,919 Copying funtoo_ramdisk.egg-info to build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.0.4-py3.7.egg-info 2023-08-18T19:21:28,941 running install_scripts 2023-08-18T19:21:28,944 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.0.4.data 2023-08-18T19:21:28,945 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.0.4.data/scripts 2023-08-18T19:21:28,947 copying build/scripts-3.7/ramdisk -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.0.4.data/scripts 2023-08-18T19:21:28,951 changing mode of build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.0.4.data/scripts/ramdisk to 755 2023-08-18T19:21:28,978 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.0.4.dist-info/WHEEL 2023-08-18T19:21:28,984 creating '/tmp/pip-wheel-8ss4_zci/funtoo_ramdisk-1.0.4-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2023-08-18T19:21:28,989 adding 'funtoo_ramdisk/__init__.py' 2023-08-18T19:21:28,992 adding 'funtoo_ramdisk/initramfs.py' 2023-08-18T19:21:28,997 adding 'funtoo_ramdisk/modules.py' 2023-08-18T19:21:28,999 adding 'funtoo_ramdisk/version.py' 2023-08-18T19:21:29,003 adding 'funtoo_ramdisk/support/__init__.py' 2023-08-18T19:21:29,006 adding 'funtoo_ramdisk/support/initramfs.cpio' 2023-08-18T19:21:29,009 adding 'funtoo_ramdisk/support/linuxrc' 2023-08-18T19:21:29,012 adding 'funtoo_ramdisk/support/modules.autoload' 2023-08-18T19:21:29,014 adding 'funtoo_ramdisk/support/modules.copy' 2023-08-18T19:21:29,018 adding 'funtoo_ramdisk/support/etc/initrd.defaults' 2023-08-18T19:21:29,022 adding 'funtoo_ramdisk/support/etc/initrd.scripts' 2023-08-18T19:21:29,027 adding 'funtoo_ramdisk-1.0.4.data/scripts/ramdisk' 2023-08-18T19:21:29,032 adding 'funtoo_ramdisk-1.0.4.dist-info/METADATA' 2023-08-18T19:21:29,035 adding 'funtoo_ramdisk-1.0.4.dist-info/WHEEL' 2023-08-18T19:21:29,036 adding 'funtoo_ramdisk-1.0.4.dist-info/top_level.txt' 2023-08-18T19:21:29,039 adding 'funtoo_ramdisk-1.0.4.dist-info/RECORD' 2023-08-18T19:21:29,042 removing build/bdist.linux-armv7l/wheel 2023-08-18T19:21:29,209 Building wheel for funtoo-ramdisk (setup.py): finished with status 'done' 2023-08-18T19:21:29,217 Created wheel for funtoo-ramdisk: filename=funtoo_ramdisk-1.0.4-py3-none-any.whl size=18818 sha256=54c976a5a708a542266aa1f9c2584634ecaa529c6564bbef4c66d65012ced852 2023-08-18T19:21:29,219 Stored in directory: /tmp/pip-ephem-wheel-cache-nlwlrfvu/wheels/58/cb/83/eb2f4935c8a6efd6feb6f450cef38f875b02dfb1413522dbe1 2023-08-18T19:21:29,247 Successfully built funtoo-ramdisk 2023-08-18T19:21:29,256 Removed build tracker: '/tmp/pip-build-tracker-o9cny_8t'