2024-04-29T03:05:25,022 Created temporary directory: /tmp/pip-build-tracker-f_8aar4o 2024-04-29T03:05:25,024 Initialized build tracking at /tmp/pip-build-tracker-f_8aar4o 2024-04-29T03:05:25,024 Created build tracker: /tmp/pip-build-tracker-f_8aar4o 2024-04-29T03:05:25,025 Entered build tracker: /tmp/pip-build-tracker-f_8aar4o 2024-04-29T03:05:25,025 Created temporary directory: /tmp/pip-wheel-u0rddnbi 2024-04-29T03:05:25,028 Created temporary directory: /tmp/pip-ephem-wheel-cache-de2avqsb 2024-04-29T03:05:25,054 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-04-29T03:05:25,058 2 location(s) to search for versions of funtoo-ramdisk: 2024-04-29T03:05:25,058 * https://pypi.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,058 * https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,059 Fetching project page and analyzing links: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,059 Getting page https://pypi.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,061 Found index url https://pypi.org/simple/ 2024-04-29T03:05:25,198 Fetched page https://pypi.org/simple/funtoo-ramdisk/ as application/vnd.pypi.simple.v1+json 2024-04-29T03:05:25,203 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-29T03:05:25,204 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-29T03:05:25,205 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-29T03:05:25,206 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-29T03:05:25,207 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-29T03:05:25,208 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-29T03:05:25,209 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-29T03:05:25,210 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-29T03:05:25,211 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-29T03:05:25,212 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-29T03:05:25,213 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-29T03:05:25,214 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-29T03:05:25,215 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-29T03:05:25,216 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-29T03:05:25,217 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-29T03:05:25,218 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-29T03:05:25,219 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-29T03:05:25,220 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-29T03:05:25,221 Found link https://files.pythonhosted.org/packages/a0/42/964af32f1197495327624210220a770e5828a84d4348c93f7308fc7b6ce0/funtoo_ramdisk-1.1.10.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.10 2024-04-29T03:05:25,221 Found link https://files.pythonhosted.org/packages/0e/7c/9efbbb97155dd7c0eb48216eb4e11e272e93cb1eeaf6d73c04a7e33122f7/funtoo_ramdisk-1.1.11.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.11 2024-04-29T03:05:25,222 Found link https://files.pythonhosted.org/packages/9e/ce/7c04365fbf5d695161ed4c15b3e57132d53be60d721dac2615712574f54c/funtoo_ramdisk-1.1.12.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.12 2024-04-29T03:05:25,223 Found link https://files.pythonhosted.org/packages/9e/ca/7e0aada3c0e26386e33e908d655e106dde325f66829bdf3363d725830a17/funtoo_ramdisk-1.1.13.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.13 2024-04-29T03:05:25,224 Found link https://files.pythonhosted.org/packages/01/d6/cc9608ddc22e5c452e181a9bd9db3533a42517868ce116680602784ec421/funtoo_ramdisk-1.1.14.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.14 2024-04-29T03:05:25,225 Found link https://files.pythonhosted.org/packages/ee/a3/f131b3045b581e9b0b2882abeff2c037ac8862773fd6e7c9947dcf72824b/funtoo_ramdisk-1.1.15.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.15 2024-04-29T03:05:25,226 Fetching project page and analyzing links: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,227 Getting page https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,229 Found index url https://www.piwheels.org/simple/ 2024-04-29T03:05:25,397 Fetched page https://www.piwheels.org/simple/funtoo-ramdisk/ as text/html 2024-04-29T03:05:25,404 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.14-py3-none-any.whl#sha256=6ba37386964049b9fcd158d4e9b63cac8e93b685b558ba905b0d4c8ea2bc27b7 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-29T03:05:25,405 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.13-py3-none-any.whl#sha256=dd62a65fe6271a6f2e60437660dcf4e7789a851d079a36230e8a669e7f660d51 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-29T03:05:25,405 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.12-py3-none-any.whl#sha256=633ef8c7786c87d3cbcc237c4ca8fc7c18f361647fd6b3477e63e079e2c21686 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-29T03:05:25,406 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.11-py3-none-any.whl#sha256=7414ba804c83f2b3395ae14af8f7e6b225c7c8b6e810af041188d5be2620fa93 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-29T03:05:25,407 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.10-py3-none-any.whl#sha256=7783a443a3c9629ef6fb4ad0c3f2617e23382a435faceabac8307ca27bc5e60d (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-29T03:05:25,407 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.9-py3-none-any.whl#sha256=8d8bd0cce90a7901e84b04edecd8f79fb46b65617f6881ae4f95627379ccc7c9 (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-04-29T03:05:25,408 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-29T03:05:25,408 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-29T03:05:25,409 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-29T03:05:25,409 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-29T03:05:25,410 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-29T03:05:25,410 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-29T03:05:25,411 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-29T03:05:25,412 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-29T03:05:25,412 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-29T03:05:25,413 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-29T03:05:25,413 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-29T03:05:25,414 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-29T03:05:25,414 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-29T03:05:25,415 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-29T03:05:25,415 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-29T03:05:25,416 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-29T03:05:25,416 Skipping link: not a file: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,417 Skipping link: not a file: https://pypi.org/simple/funtoo-ramdisk/ 2024-04-29T03:05:25,439 Given no hashes to check 1 links for project 'funtoo-ramdisk': discarding no candidates 2024-04-29T03:05:25,457 Collecting funtoo-ramdisk==1.1.15 2024-04-29T03:05:25,460 Created temporary directory: /tmp/pip-unpack-w7ftjeuu 2024-04-29T03:05:25,673 Downloading funtoo_ramdisk-1.1.15.tar.gz (44 kB) 2024-04-29T03:05:25,815 Added funtoo-ramdisk==1.1.15 from https://files.pythonhosted.org/packages/ee/a3/f131b3045b581e9b0b2882abeff2c037ac8862773fd6e7c9947dcf72824b/funtoo_ramdisk-1.1.15.tar.gz to build tracker '/tmp/pip-build-tracker-f_8aar4o' 2024-04-29T03:05:25,817 Running setup.py (path:/tmp/pip-wheel-u0rddnbi/funtoo-ramdisk_91c135c2f90e492696b59a91c65d0c7f/setup.py) egg_info for package funtoo-ramdisk 2024-04-29T03:05:25,818 Created temporary directory: /tmp/pip-pip-egg-info-sks_murp 2024-04-29T03:05:25,818 Preparing metadata (setup.py): started 2024-04-29T03:05:25,820 Running command python setup.py egg_info 2024-04-29T03:05:26,314 ========= 2024-04-29T03:05:26,314 ramdisk 2024-04-29T03:05:26,315 ========= 2024-04-29T03:05:26,316 -------------------------------------------------- 2024-04-29T03:05:26,317 create a bootable initial ramdisk 2024-04-29T03:05:26,317 -------------------------------------------------- 2024-04-29T03:05:26,318 :Author: Daniel Robbins 2024-04-29T03:05:26,319 :Copyright: Copyright 2023-2024 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-29T03:05:26,319 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-29T03:05:26,320 you may not use this file except in compliance with the License. 2024-04-29T03:05:26,321 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-29T03:05:26,321 :Version: 1.1.15 2024-04-29T03:05:26,322 :Manual section: 8 2024-04-29T03:05:26,322 :Manual group: Funtoo Linux 2024-04-29T03:05:26,323 SYNOPSIS 2024-04-29T03:05:26,324 ======== 2024-04-29T03:05:26,325 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-29T03:05:26,326 ``ramdisk`` list kernels 2024-04-29T03:05:26,327 ``ramdisk`` list plugins 2024-04-29T03:05:26,328 DESCRIPTION 2024-04-29T03:05:26,328 =========== 2024-04-29T03:05:26,329 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-29T03:05:26,330 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-29T03:05:26,331 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-29T03:05:26,331 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-29T03:05:26,332 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-29T03:05:26,332 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-29T03:05:26,333 documentation at https://www.funtoo.org/Install. 2024-04-29T03:05:26,334 CAPABILITIES 2024-04-29T03:05:26,334 ============ 2024-04-29T03:05:26,335 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-29T03:05:26,336 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-29T03:05:26,336 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-29T03:05:26,337 of functions in a support file. 2024-04-29T03:05:26,338 * Copies over the modules you specify -- and automatically figures out any 2024-04-29T03:05:26,338 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-29T03:05:26,339 This eliminates the need to track these dependencies manually. 2024-04-29T03:05:26,340 * Rootless operation. You do not need enhanced privileges to create the 2024-04-29T03:05:26,341 initramfs. 2024-04-29T03:05:26,342 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-29T03:05:26,342 It is written to be easy to understand and adapt. So it's not just short, 2024-04-29T03:05:26,343 but easy to grasp. 2024-04-29T03:05:26,344 * Enhanced module loading engine on the initramfs which is significantly 2024-04-29T03:05:26,345 faster than genkernel. This effectively eliminates the "watching the 2024-04-29T03:05:26,345 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-29T03:05:26,346 systems with NVMe drives will load just a handful of modules to boot 2024-04-29T03:05:26,346 -- all without requiring any special action from the user. 2024-04-29T03:05:26,347 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-29T03:05:26,348 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-29T03:05:26,348 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-29T03:05:26,349 these necessary modules, leaving all other modules to be loaded by 2024-04-29T03:05:26,349 your Funtoo Linux system. 2024-04-29T03:05:26,351 * Effective Python-based command to actually build the ramdisk, which is 2024-04-29T03:05:26,351 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-29T03:05:26,352 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-29T03:05:26,354 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-29T03:05:26,354 initramfs. 2024-04-29T03:05:26,356 * Support for xz and zstd compression. 2024-04-29T03:05:26,357 ACTIONS 2024-04-29T03:05:26,357 ======= 2024-04-29T03:05:26,359 The default action is ``build``, and can be optionally specified, which will 2024-04-29T03:05:26,359 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-29T03:05:26,360 build 2024-04-29T03:05:26,361 ----- 2024-04-29T03:05:26,361 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-29T03:05:26,362 action requires a destination initramfs path. This will be the literal path and 2024-04-29T03:05:26,362 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-29T03:05:26,363 list 2024-04-29T03:05:26,363 ---- 2024-04-29T03:05:26,364 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-29T03:05:26,364 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-29T03:05:26,365 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-29T03:05:26,366 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-29T03:05:26,366 OPTIONS 2024-04-29T03:05:26,367 ======= 2024-04-29T03:05:26,368 --debug Enable debug output. 2024-04-29T03:05:26,368 --backtrace Display full python backtrace/traceback instead of just a 2024-04-29T03:05:26,369 short error summary. 2024-04-29T03:05:26,369 --force Overwrite target initramfs if it exists. The command will refuse to do 2024-04-29T03:05:26,370 so by default. 2024-04-29T03:05:26,371 --keep Keep the temporary directory after execution for investigation/debugging. 2024-04-29T03:05:26,371 --version Show this program's version number and exit. 2024-04-29T03:05:26,372 --help Show this help message and exit. 2024-04-29T03:05:26,372 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-29T03:05:26,373 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-29T03:05:26,374 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-29T03:05:26,374 kernels``. 2024-04-29T03:05:26,375 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-29T03:05:26,376 ``ramdisk list kernels`` to display available options. The 2024-04-29T03:05:26,377 default setting is to use the current value of the 2024-04-29T03:05:26,377 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-29T03:05:26,378 which kernel to build a ramdisk for. 2024-04-29T03:05:26,379 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-29T03:05:26,379 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-29T03:05:26,380 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-29T03:05:26,381 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-29T03:05:26,381 plugins. 2024-04-29T03:05:26,382 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-29T03:05:26,382 define what kernel modules get copied to the initramfs, and which ones 2024-04-29T03:05:26,383 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-29T03:05:26,384 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-29T03:05:26,384 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-29T03:05:26,385 will allow your root block device and filesystem to be mounted. For example, 2024-04-29T03:05:26,386 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-29T03:05:26,387 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-29T03:05:26,387 a special minimal kernel module config is used instead of what is specified 2024-04-29T03:05:26,388 via ``--kmod_config`` (see above). 2024-04-29T03:05:26,389 USAGE 2024-04-29T03:05:26,389 ===== 2024-04-29T03:05:26,390 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-29T03:05:26,391 $ ramdisk /var/tmp/my-new-initramfs 2024-04-29T03:05:26,391 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-29T03:05:26,392 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-29T03:05:26,393 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-29T03:05:26,393 extract kernel version information, and then find the appropriate directory in 2024-04-29T03:05:26,394 ``/lib/modules/`` for copying modules. You can type: 2024-04-29T03:05:26,394 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-29T03:05:26,395 for a non-default kernel. 2024-04-29T03:05:26,396 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-29T03:05:26,396 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-29T03:05:26,397 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-29T03:05:26,397 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-29T03:05:26,398 INITRAMFS BOOT OPTIONS 2024-04-29T03:05:26,399 ====================== 2024-04-29T03:05:26,400 The following options are recognized by the initramfs and should be separated by whitespace on the 2024-04-29T03:05:26,400 kernel boot line. In Funtoo Linux, you would add them to ``/etc/boot.conf`` -- see boot.conf(5). 2024-04-29T03:05:26,402 ``real_root=`` 2024-04-29T03:05:26,402 This is used to specify the root device that we want to mount and boot. 2024-04-29T03:05:26,403 ``root=`` 2024-04-29T03:05:26,403 This is not used right now but will be used for live media booting. 2024-04-29T03:05:26,404 ``real_init=`` 2024-04-29T03:05:26,404 Defaults to ``/sbin/init`` -- what to run as PID 1 when booting your system. 2024-04-29T03:05:26,405 ``init_opts=`` 2024-04-29T03:05:26,406 Defaults to empty -- what command-line options to pass to PID 1. 2024-04-29T03:05:26,406 ``shell`` 2024-04-29T03:05:26,407 Start a debug shell immediately before booting your system. This will allow 2024-04-29T03:05:26,407 you to inspect the state of the initramfs. Exiting the shell will resume the 2024-04-29T03:05:26,408 normal boot process. 2024-04-29T03:05:26,409 ``debug`` 2024-04-29T03:05:26,409 Enable debug mode. More verbose output and ``dmesg`` after boot will display 2024-04-29T03:05:26,410 additional debug information for later review. 2024-04-29T03:05:26,410 ``quick`` 2024-04-29T03:05:26,411 On by default, this tells the initramfs to opportunistically see if the root 2024-04-29T03:05:26,411 block device is available during modules scanning to avoid loading all modules. 2024-04-29T03:05:26,412 ``slow`` 2024-04-29T03:05:26,413 This disables the "quick" option and exhaustively loads all modules before 2024-04-29T03:05:26,413 looking for a root block device. 2024-04-29T03:05:26,414 ``ramdisk.activate=`` 2024-04-29T03:05:26,414 A comma-delimited list of plugins to enable at boot-time. For example, set this 2024-04-29T03:05:26,415 to "lvm" to enable LVM boot. 2024-04-29T03:05:26,416 ``ramdisk.scan_mode=`` 2024-04-29T03:05:26,416 Currently defaulting to "legacy" which is the only option, and means "do the 2024-04-29T03:05:26,417 classic ``genkernel`` thing and manually load modules from our modules list.``. 2024-04-29T03:05:26,417 I hope to add dynamic loading of modules via (e)udev soon, which will become a 2024-04-29T03:05:26,418 new option. 2024-04-29T03:05:26,418 ``magic=`` 2024-04-29T03:05:26,418 This is a comma-delimited "magic" list of modules that you have determined are 2024-04-29T03:05:26,419 needed to boot your system. When this option is specified, the initramfs will 2024-04-29T03:05:26,419 load *only* these modules and then try to find the root device. This can be 2024-04-29T03:05:26,420 used to test out which modules you need to specify for the ``--kpop`` option 2024-04-29T03:05:26,420 by testing with a regular fully-populated initramfs. Once you figure out the 2024-04-29T03:05:26,421 modules you need, you can then reduce the size of the initramfs by using the 2024-04-29T03:05:26,421 ``--kpop`` options which will only oopy the those specified modules (and 2024-04-29T03:05:26,422 their dependencies) to the initramfs. 2024-04-29T03:05:26,422 ``real_rootflags=`` 2024-04-29T03:05:26,422 Specify mount flags to pass to the ``mount`` command for your root filesystem 2024-04-29T03:05:26,423 mount. A ``ro`` will always be at the beginning of this setting. Defaults to 2024-04-29T03:05:26,423 blank. 2024-04-29T03:05:26,424 ``rootfstype=`` 2024-04-29T03:05:26,424 Specify the filesystem type for your root filesystem. This is currently a 2024-04-29T03:05:26,425 required option and is set by ``ego boot``. 2024-04-29T03:05:26,426 ChangeLog 2024-04-29T03:05:26,427 ========= 2024-04-29T03:05:26,428 funtoo-ramdisk 1.1.15 2024-04-29T03:05:26,428 --------------------- 2024-04-29T03:05:26,430 Released on April 28, 2024. 2024-04-29T03:05:26,431 This is a feature and bug fix release. ``1.1.14`` contains the same 2024-04-29T03:05:26,431 code but is missing this ChangeLog update and more detail to the 2024-04-29T03:05:26,432 ``lsblk`` output for rescue shell. 2024-04-29T03:05:26,433 * Add man page options on the kernel boot options for the initramfs. 2024-04-29T03:05:26,434 * Add ``lsblk`` to the initramfs and use it to generate nice output 2024-04-29T03:05:26,435 when falling to the rescue shell to aid troubleshooting. 2024-04-29T03:05:26,436 * Only print errors if we have problems loading kpop modules. 2024-04-29T03:05:26,436 Otherwise ignore errors. Most modules don't throw errors and fail 2024-04-29T03:05:26,437 to load when the underlying hardware is not found, but there are 2024-04-29T03:05:26,438 exceptions to this that was previously cluttering output. 2024-04-29T03:05:26,439 * FL-12290: Include "vmscsi" modules definition to enable SCSI boot 2024-04-29T03:05:26,439 support for VirtualBox and likely other VMs, and make this fairly 2024-04-29T03:05:26,440 high priority in the scan order. 2024-04-29T03:05:26,442 funtoo-ramdisk 1.1.13 2024-04-29T03:05:26,442 --------------------- 2024-04-29T03:05:26,443 Released on April 23, 2024. 2024-04-29T03:05:26,444 This is a bug fix release. 2024-04-29T03:05:26,446 * Integrate siris' PR which gets the lvm plugin working under Funtoo. 2024-04-29T03:05:26,446 This should allow for official support of LVM root filesystems. 2024-04-29T03:05:26,448 funtoo-ramdisk 1.1.12 2024-04-29T03:05:26,449 --------------------- 2024-04-29T03:05:26,450 Released on April 19, 2024. 2024-04-29T03:05:26,451 This is a bug fix release. 2024-04-29T03:05:26,452 * Fix man page generation (docutils recently renamed ``rst2man.py`` to 2024-04-29T03:05:26,453 ``rst2man``) 2024-04-29T03:05:26,453 funtoo-ramdisk 1.1.11 2024-04-29T03:05:26,454 --------------------- 2024-04-29T03:05:26,455 Released on April 17, 2024. 2024-04-29T03:05:26,456 This is a feature release. 2024-04-29T03:05:26,456 * Linux 6.6+ now builds and installs kernel modules with the ``.ko.xz`` 2024-04-29T03:05:26,457 suffix. This requires several code updates to support this new naming 2024-04-29T03:05:26,457 scheme. This is the initial implementation and there may be additional 2024-04-29T03:05:26,458 needed fixes for things like the initramfs after this is tested using 2024-04-29T03:05:26,458 this updated initramfs-build code. 2024-04-29T03:05:26,459 funtoo-ramdisk 1.1.10 2024-04-29T03:05:26,459 --------------------- 2024-04-29T03:05:26,460 Released on April 16, 2024. 2024-04-29T03:05:26,461 This is a minor bug fix release. 2024-04-29T03:05:26,462 * Attempting to fix an issue where the temporary kernel modules directory 2024-04-29T03:05:26,463 is not properly created, resulting in an error. 2024-04-29T03:05:26,464 funtoo-ramdisk 1.1.9 2024-04-29T03:05:26,464 -------------------- 2024-04-29T03:05:26,465 Released on April 16, 2024. 2024-04-29T03:05:26,466 This is a minor feature release. 2024-04-29T03:05:26,467 * Add a ``--keep`` option which will preserve the contents of the 2024-04-29T03:05:26,467 temporary directory so that errors and tracebacks can be investigated. 2024-04-29T03:05:26,468 This can be enabled via ebuilds to allow exploration of any ramdisk- 2024-04-29T03:05:26,468 related errors. 2024-04-29T03:05:26,469 * Improve handling of a permissions error when copying the ramdisk to 2024-04-29T03:05:26,470 a final location (provide error message instead of full traceback.) 2024-04-29T03:05:26,471 funtoo-ramdisk 1.1.8 2024-04-29T03:05:26,471 -------------------- 2024-04-29T03:05:26,472 Released on April 16, 2024. 2024-04-29T03:05:26,473 This is a minor bug release. 2024-04-29T03:05:26,474 * Fix for the previous fix. 2024-04-29T03:05:26,475 funtoo-ramdisk 1.1.7 2024-04-29T03:05:26,476 -------------------- 2024-04-29T03:05:26,477 Released on April 15, 2024. 2024-04-29T03:05:26,478 This is a minor bug release. 2024-04-29T03:05:26,479 * Fix a possible issue where ``__pycache__`` directories can mess 2024-04-29T03:05:26,480 up copying of files to the initramfs. 2024-04-29T03:05:26,481 funtoo-ramdisk 1.1.6 2024-04-29T03:05:26,482 -------------------- 2024-04-29T03:05:26,483 Released on April 14, 2024. 2024-04-29T03:05:26,484 This is a maintenance and minor features release. 2024-04-29T03:05:26,485 * Various minor bug fixes. 2024-04-29T03:05:26,487 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-29T03:05:26,487 self-explanatory. 2024-04-29T03:05:26,488 * Continue to flesh out the plugin system. I added support for 2024-04-29T03:05:26,489 plugins to have an activation script which will get executed 2024-04-29T03:05:26,489 on startup. This is a work in progress and I still need to 2024-04-29T03:05:26,490 add support for listing needed modules for a plugin which 2024-04-29T03:05:26,491 will get loaded automatically. 2024-04-29T03:05:26,492 * Fix a bug in argument parsing where the code was not scanning 2024-04-29T03:05:26,492 for invalid options which could result in odd parsing behavior. 2024-04-29T03:05:26,493 * Start adding support for udev. This is not yet completed but 2024-04-29T03:05:26,494 the plugin system for this has been incorporated into the 2024-04-29T03:05:26,495 linuxrc. 2024-04-29T03:05:26,497 funtoo-ramdisk 1.1.5 2024-04-29T03:05:26,497 -------------------- 2024-04-29T03:05:26,498 Released on September 15, 2023. 2024-04-29T03:05:26,500 This is a packaging fix for the manpage. 2024-04-29T03:05:26,502 funtoo-ramdisk 1.1.4 2024-04-29T03:05:26,502 -------------------- 2024-04-29T03:05:26,503 Released on September 15, 2023. 2024-04-29T03:05:26,504 This release adds a "ramdisk" man page. 2024-04-29T03:05:26,506 funtoo-ramdisk 1.1.3 2024-04-29T03:05:26,506 -------------------- 2024-04-29T03:05:26,507 Released on September 14, 2023. 2024-04-29T03:05:26,508 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-29T03:05:26,508 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-29T03:05:26,509 we were just running it to convieniently spit out the UUID for 2024-04-29T03:05:26,509 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-29T03:05:26,510 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-29T03:05:26,511 funtoo-ramdisk 1.1.2 2024-04-29T03:05:26,511 -------------------- 2024-04-29T03:05:26,512 Released on September 4, 2023. 2024-04-29T03:05:26,513 * Fix exit code (zero on success.) 2024-04-29T03:05:26,515 funtoo-ramdisk 1.1.1 2024-04-29T03:05:26,515 -------------------- 2024-04-29T03:05:26,516 Released on September 4, 2023. 2024-04-29T03:05:26,517 Fix three bugs: 2024-04-29T03:05:26,518 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-29T03:05:26,519 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-29T03:05:26,520 handle this situation gracefully. This situation may exist during 2024-04-29T03:05:26,520 metro builds on incomplete systems. (2 bugs fixed). 2024-04-29T03:05:26,522 funtoo-ramdisk 1.1.0 2024-04-29T03:05:26,522 -------------------- 2024-04-29T03:05:26,524 Released on September 3, 2023. 2024-04-29T03:05:26,525 * Add plugin system for ramdisk: 2024-04-29T03:05:26,526 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-29T03:05:26,527 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-29T03:05:26,527 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-29T03:05:26,528 just ensure necessary binaries are copied over (no extra setup commands 2024-04-29T03:05:26,529 are run by the initramfs.) 2024-04-29T03:05:26,530 This is a starting point for enabling support for advanced 2024-04-29T03:05:26,531 features on the initramfs. 2024-04-29T03:05:26,532 * New "module configurations". The default module configuration is "full", 2024-04-29T03:05:26,533 which means "make a ramdisk with lots of modules to support a lot of 2024-04-29T03:05:26,534 hardware." Different module configurations can be added in the future. 2024-04-29T03:05:26,534 Module configurations can be specified via ``--kmod_config=``. 2024-04-29T03:05:26,536 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-29T03:05:26,536 dynamic module configuration via the command-line, rather than via 2024-04-29T03:05:26,537 static config files. 2024-04-29T03:05:26,538 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-29T03:05:26,539 modules (and their dependencies) will be included. This can dramatically 2024-04-29T03:05:26,539 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-29T03:05:26,540 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-29T03:05:26,540 so it's only for known-good configurations. Enabling this feature also 2024-04-29T03:05:26,541 disables any static module configuration (see above.) 2024-04-29T03:05:26,542 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-29T03:05:26,543 created and programmatic decisions can be made. Previously, we used a 2024-04-29T03:05:26,543 static list. This allows us to use ``lvm.static`` if available, but 2024-04-29T03:05:26,544 fall back to dynamic ``lvm``, for example. 2024-04-29T03:05:26,545 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-29T03:05:26,546 basic name, not just via its full path or glob, was added to 2024-04-29T03:05:26,546 ``modules.copy``. 2024-04-29T03:05:26,547 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-29T03:05:26,547 as dynamically-generated line data rather than just as static files 2024-04-29T03:05:26,548 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-29T03:05:26,549 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-29T03:05:26,549 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-29T03:05:26,549 groups to determine these. 2024-04-29T03:05:26,550 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-29T03:05:26,551 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-29T03:05:26,551 prints the available kernel names which can be copy/pasted for the 2024-04-29T03:05:26,551 ``--kernel`` option. 2024-04-29T03:05:26,552 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-29T03:05:26,553 using. 2024-04-29T03:05:26,553 * Lots of code organized into their own ``.py`` files. 2024-04-29T03:05:26,554 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-29T03:05:26,555 set up at all if doing a metro build. 2024-04-29T03:05:26,556 * Disable colors if we don't have an interactive shell. 2024-04-29T03:05:26,557 funtoo-ramdisk 1.0.7 2024-04-29T03:05:26,557 -------------------- 2024-04-29T03:05:26,558 Released on August 22, 2023. 2024-04-29T03:05:26,559 Changes: 2024-04-29T03:05:26,560 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-29T03:05:26,561 specifies where modules *and* the kernel sources will be. This 2024-04-29T03:05:26,561 allows the tool to work from an ebuild. 2024-04-29T03:05:26,562 * Improve output and add nice colors. Optimize information to be 2024-04-29T03:05:26,562 more useful to users. 2024-04-29T03:05:26,564 funtoo-ramdisk 1.0.6 2024-04-29T03:05:26,564 -------------------- 2024-04-29T03:05:26,565 Released on August 21, 2023. 2024-04-29T03:05:26,567 Two new options: 2024-04-29T03:05:26,568 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-29T03:05:26,569 It defaults to ``/``. 2024-04-29T03:05:26,570 * ``--temp_root`` to set the default path to use for creating a 2024-04-29T03:05:26,571 temporary directory. It defaults to ``/var/tmp``. 2024-04-29T03:05:26,572 funtoo-ramdisk 1.0.5 2024-04-29T03:05:26,572 -------------------- 2024-04-29T03:05:26,574 Released on August 21, 2023. 2024-04-29T03:05:26,575 This is a features/maintenance/bug fix release. 2024-04-29T03:05:26,576 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-29T03:05:26,577 view in the git history, the following significant changes were 2024-04-29T03:05:26,578 made: 2024-04-29T03:05:26,579 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-29T03:05:26,579 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-29T03:05:26,580 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-29T03:05:26,580 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-29T03:05:26,581 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-29T03:05:26,582 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-29T03:05:26,582 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-29T03:05:26,583 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-29T03:05:26,584 ramdisk script. 2024-04-29T03:05:26,585 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-29T03:05:26,586 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-29T03:05:26,587 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-29T03:05:26,587 before starting a rescue shell, to give the kernel time to enumerate 2024-04-29T03:05:26,588 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-29T03:05:26,589 the problem of ``ash`` starting and not having any way to type, because 2024-04-29T03:05:26,589 it didn't connect to your main keyboard. 2024-04-29T03:05:26,590 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-29T03:05:26,590 prevent the root filesystem from being mounted (see FL-11532). 2024-04-29T03:05:26,591 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-29T03:05:26,591 this is not a good idea, and can cause problems if you have multiple 2024-04-29T03:05:26,592 disks. Show them how to fix the problem by switching to UUID. 2024-04-29T03:05:26,593 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-29T03:05:26,593 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-29T03:05:26,593 with a SATA disk. 2024-04-29T03:05:26,595 * To implement above feature, added a feature to allow masking of modules in 2024-04-29T03:05:26,596 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-29T03:05:26,596 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-29T03:05:26,596 wrong section, so it still gets included on the initramfs due to other 2024-04-29T03:05:26,597 section(s), we will warn you. 2024-04-29T03:05:26,598 funtoo-ramdisk 1.0.4 2024-04-29T03:05:26,599 -------------------- 2024-04-29T03:05:26,600 Released on August 18, 2023. 2024-04-29T03:05:26,601 This is a maintenance/bug fix release. 2024-04-29T03:05:26,602 * Fix ability to run from the git repo. This wasn't working. 2024-04-29T03:05:26,603 * Fix issue found by grouche, where if a module is built-in to the 2024-04-29T03:05:26,603 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-29T03:05:26,604 an error because it would think it's not copied to the initramfs. 2024-04-29T03:05:26,604 We now read in the ``modules.builtin`` file and use this in the 2024-04-29T03:05:26,605 internal logic -- if a module is built-in to the kernel, we can 2024-04-29T03:05:26,605 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-29T03:05:26,606 We will also not worry about trying to load it at boot. 2024-04-29T03:05:26,607 * Add a debug output whenever a module is referenced that is actually 2024-04-29T03:05:26,608 a built-in. This helps to audit the behavior of the above 2024-04-29T03:05:26,608 functionality and could be useful to users of the tool as well. 2024-04-29T03:05:26,609 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-29T03:05:26,610 warning. Looks a bit nicer. 2024-04-29T03:05:29,215 running egg_info 2024-04-29T03:05:29,216 creating /tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info 2024-04-29T03:05:29,247 writing /tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info/PKG-INFO 2024-04-29T03:05:29,252 writing dependency_links to /tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-29T03:05:29,255 writing requirements to /tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info/requires.txt 2024-04-29T03:05:29,256 writing top-level names to /tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info/top_level.txt 2024-04-29T03:05:29,258 writing manifest file '/tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-29T03:05:29,389 reading manifest file '/tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-29T03:05:29,392 reading manifest template 'MANIFEST.in' 2024-04-29T03:05:29,522 warning: no files found matching 'COPYRIGHT.rst' 2024-04-29T03:05:29,525 writing manifest file '/tmp/pip-pip-egg-info-sks_murp/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-29T03:05:29,644 Preparing metadata (setup.py): finished with status 'done' 2024-04-29T03:05:29,650 Source in /tmp/pip-wheel-u0rddnbi/funtoo-ramdisk_91c135c2f90e492696b59a91c65d0c7f has version 1.1.15, which satisfies requirement funtoo-ramdisk==1.1.15 from https://files.pythonhosted.org/packages/ee/a3/f131b3045b581e9b0b2882abeff2c037ac8862773fd6e7c9947dcf72824b/funtoo_ramdisk-1.1.15.tar.gz 2024-04-29T03:05:29,651 Removed funtoo-ramdisk==1.1.15 from https://files.pythonhosted.org/packages/ee/a3/f131b3045b581e9b0b2882abeff2c037ac8862773fd6e7c9947dcf72824b/funtoo_ramdisk-1.1.15.tar.gz from build tracker '/tmp/pip-build-tracker-f_8aar4o' 2024-04-29T03:05:29,659 Created temporary directory: /tmp/pip-unpack-7lniohcb 2024-04-29T03:05:29,660 Created temporary directory: /tmp/pip-unpack-voqidszg 2024-04-29T03:05:29,667 Building wheels for collected packages: funtoo-ramdisk 2024-04-29T03:05:29,672 Created temporary directory: /tmp/pip-wheel-dvi7kddp 2024-04-29T03:05:29,672 Building wheel for funtoo-ramdisk (setup.py): started 2024-04-29T03:05:29,674 Destination directory: /tmp/pip-wheel-dvi7kddp 2024-04-29T03:05:29,674 Running command python setup.py bdist_wheel 2024-04-29T03:05:30,133 ========= 2024-04-29T03:05:30,133 ramdisk 2024-04-29T03:05:30,133 ========= 2024-04-29T03:05:30,134 -------------------------------------------------- 2024-04-29T03:05:30,135 create a bootable initial ramdisk 2024-04-29T03:05:30,135 -------------------------------------------------- 2024-04-29T03:05:30,136 :Author: Daniel Robbins 2024-04-29T03:05:30,137 :Copyright: Copyright 2023-2024 Daniel Robbins, Funtoo Solutions, Inc. 2024-04-29T03:05:30,138 Licensed under the Apache License, Version 2.0 (the "License"); 2024-04-29T03:05:30,138 you may not use this file except in compliance with the License. 2024-04-29T03:05:30,139 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-04-29T03:05:30,139 :Version: 1.1.15 2024-04-29T03:05:30,141 :Manual section: 8 2024-04-29T03:05:30,141 :Manual group: Funtoo Linux 2024-04-29T03:05:30,142 SYNOPSIS 2024-04-29T03:05:30,143 ======== 2024-04-29T03:05:30,144 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-04-29T03:05:30,145 ``ramdisk`` list kernels 2024-04-29T03:05:30,146 ``ramdisk`` list plugins 2024-04-29T03:05:30,147 DESCRIPTION 2024-04-29T03:05:30,148 =========== 2024-04-29T03:05:30,149 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-04-29T03:05:30,150 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-04-29T03:05:30,151 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-04-29T03:05:30,151 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-04-29T03:05:30,152 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-04-29T03:05:30,153 ext4 or XFS filesystem, which is what we support in our official installation 2024-04-29T03:05:30,153 documentation at https://www.funtoo.org/Install. 2024-04-29T03:05:30,155 CAPABILITIES 2024-04-29T03:05:30,155 ============ 2024-04-29T03:05:30,156 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-04-29T03:05:30,157 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-04-29T03:05:30,158 been modernized. About 100 lines of shell script, with another 215 lines 2024-04-29T03:05:30,158 of functions in a support file. 2024-04-29T03:05:30,160 * Copies over the modules you specify -- and automatically figures out any 2024-04-29T03:05:30,160 kernel module dependencies, so any depended-upon modules are also copied. 2024-04-29T03:05:30,161 This eliminates the need to track these dependencies manually. 2024-04-29T03:05:30,162 * Rootless operation. You do not need enhanced privileges to create the 2024-04-29T03:05:30,163 initramfs. 2024-04-29T03:05:30,164 * You can read the ``linuxrc`` script and actually understand what it does. 2024-04-29T03:05:30,165 It is written to be easy to understand and adapt. So it's not just short, 2024-04-29T03:05:30,166 but easy to grasp. 2024-04-29T03:05:30,167 * Enhanced module loading engine on the initramfs which is significantly 2024-04-29T03:05:30,167 faster than genkernel. This effectively eliminates the "watching the 2024-04-29T03:05:30,168 stream of useless modules being loaded" issue with genkernel. Modern 2024-04-29T03:05:30,169 systems with NVMe drives will load just a handful of modules to boot 2024-04-29T03:05:30,169 -- all without requiring any special action from the user. 2024-04-29T03:05:30,170 * "kpop" functionality allows for building ramdisks with just the modules 2024-04-29T03:05:30,171 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-04-29T03:05:30,171 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-04-29T03:05:30,171 these necessary modules, leaving all other modules to be loaded by 2024-04-29T03:05:30,172 your Funtoo Linux system. 2024-04-29T03:05:30,173 * Effective Python-based command to actually build the ramdisk, which is 2024-04-29T03:05:30,174 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-04-29T03:05:30,174 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-04-29T03:05:30,175 * Enhanced ini-style system for selecting module groups to autoload on the 2024-04-29T03:05:30,176 initramfs. 2024-04-29T03:05:30,177 * Support for xz and zstd compression. 2024-04-29T03:05:30,178 ACTIONS 2024-04-29T03:05:30,179 ======= 2024-04-29T03:05:30,180 The default action is ``build``, and can be optionally specified, which will 2024-04-29T03:05:30,180 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-04-29T03:05:30,181 build 2024-04-29T03:05:30,182 ----- 2024-04-29T03:05:30,183 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-04-29T03:05:30,183 action requires a destination initramfs path. This will be the literal path and 2024-04-29T03:05:30,185 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-04-29T03:05:30,186 list 2024-04-29T03:05:30,186 ---- 2024-04-29T03:05:30,187 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-04-29T03:05:30,188 ``kernels`` will show you a list of available installed kernels on your system for 2024-04-29T03:05:30,188 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-04-29T03:05:30,189 plugins that can be enabled to add more functionality to your ramdisk. 2024-04-29T03:05:30,190 OPTIONS 2024-04-29T03:05:30,191 ======= 2024-04-29T03:05:30,192 --debug Enable debug output. 2024-04-29T03:05:30,192 --backtrace Display full python backtrace/traceback instead of just a 2024-04-29T03:05:30,193 short error summary. 2024-04-29T03:05:30,194 --force Overwrite target initramfs if it exists. The command will refuse to do 2024-04-29T03:05:30,194 so by default. 2024-04-29T03:05:30,195 --keep Keep the temporary directory after execution for investigation/debugging. 2024-04-29T03:05:30,195 --version Show this program's version number and exit. 2024-04-29T03:05:30,196 --help Show this help message and exit. 2024-04-29T03:05:30,197 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-04-29T03:05:30,197 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-04-29T03:05:30,198 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-04-29T03:05:30,199 kernels``. 2024-04-29T03:05:30,199 --kernel= Specify what kernel to build a ramdisk for. Use 2024-04-29T03:05:30,200 ``ramdisk list kernels`` to display available options. The 2024-04-29T03:05:30,201 default setting is to use the current value of the 2024-04-29T03:05:30,201 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-04-29T03:05:30,202 which kernel to build a ramdisk for. 2024-04-29T03:05:30,202 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-04-29T03:05:30,203 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-04-29T03:05:30,203 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-04-29T03:05:30,204 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-04-29T03:05:30,204 plugins. 2024-04-29T03:05:30,205 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-04-29T03:05:30,205 define what kernel modules get copied to the initramfs, and which ones 2024-04-29T03:05:30,206 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-04-29T03:05:30,206 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-04-29T03:05:30,207 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-04-29T03:05:30,207 will allow your root block device and filesystem to be mounted. For example, 2024-04-29T03:05:30,208 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-04-29T03:05:30,208 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-04-29T03:05:30,209 a special minimal kernel module config is used instead of what is specified 2024-04-29T03:05:30,210 via ``--kmod_config`` (see above). 2024-04-29T03:05:30,211 USAGE 2024-04-29T03:05:30,211 ===== 2024-04-29T03:05:30,212 In its simplest form, the command can be used as follows, as a regular user:: 2024-04-29T03:05:30,213 $ ramdisk /var/tmp/my-new-initramfs 2024-04-29T03:05:30,214 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-04-29T03:05:30,215 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-04-29T03:05:30,216 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-04-29T03:05:30,217 extract kernel version information, and then find the appropriate directory in 2024-04-29T03:05:30,217 ``/lib/modules/`` for copying modules. You can type: 2024-04-29T03:05:30,218 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-04-29T03:05:30,218 for a non-default kernel. 2024-04-29T03:05:30,219 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-04-29T03:05:30,220 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-04-29T03:05:30,221 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-04-29T03:05:30,221 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-04-29T03:05:30,222 INITRAMFS BOOT OPTIONS 2024-04-29T03:05:30,223 ====================== 2024-04-29T03:05:30,224 The following options are recognized by the initramfs and should be separated by whitespace on the 2024-04-29T03:05:30,225 kernel boot line. In Funtoo Linux, you would add them to ``/etc/boot.conf`` -- see boot.conf(5). 2024-04-29T03:05:30,226 ``real_root=`` 2024-04-29T03:05:30,227 This is used to specify the root device that we want to mount and boot. 2024-04-29T03:05:30,227 ``root=`` 2024-04-29T03:05:30,228 This is not used right now but will be used for live media booting. 2024-04-29T03:05:30,229 ``real_init=`` 2024-04-29T03:05:30,229 Defaults to ``/sbin/init`` -- what to run as PID 1 when booting your system. 2024-04-29T03:05:30,230 ``init_opts=`` 2024-04-29T03:05:30,230 Defaults to empty -- what command-line options to pass to PID 1. 2024-04-29T03:05:30,231 ``shell`` 2024-04-29T03:05:30,231 Start a debug shell immediately before booting your system. This will allow 2024-04-29T03:05:30,231 you to inspect the state of the initramfs. Exiting the shell will resume the 2024-04-29T03:05:30,232 normal boot process. 2024-04-29T03:05:30,232 ``debug`` 2024-04-29T03:05:30,233 Enable debug mode. More verbose output and ``dmesg`` after boot will display 2024-04-29T03:05:30,233 additional debug information for later review. 2024-04-29T03:05:30,234 ``quick`` 2024-04-29T03:05:30,234 On by default, this tells the initramfs to opportunistically see if the root 2024-04-29T03:05:30,235 block device is available during modules scanning to avoid loading all modules. 2024-04-29T03:05:30,235 ``slow`` 2024-04-29T03:05:30,236 This disables the "quick" option and exhaustively loads all modules before 2024-04-29T03:05:30,236 looking for a root block device. 2024-04-29T03:05:30,237 ``ramdisk.activate=`` 2024-04-29T03:05:30,237 A comma-delimited list of plugins to enable at boot-time. For example, set this 2024-04-29T03:05:30,238 to "lvm" to enable LVM boot. 2024-04-29T03:05:30,238 ``ramdisk.scan_mode=`` 2024-04-29T03:05:30,239 Currently defaulting to "legacy" which is the only option, and means "do the 2024-04-29T03:05:30,239 classic ``genkernel`` thing and manually load modules from our modules list.``. 2024-04-29T03:05:30,240 I hope to add dynamic loading of modules via (e)udev soon, which will become a 2024-04-29T03:05:30,241 new option. 2024-04-29T03:05:30,241 ``magic=`` 2024-04-29T03:05:30,242 This is a comma-delimited "magic" list of modules that you have determined are 2024-04-29T03:05:30,242 needed to boot your system. When this option is specified, the initramfs will 2024-04-29T03:05:30,243 load *only* these modules and then try to find the root device. This can be 2024-04-29T03:05:30,243 used to test out which modules you need to specify for the ``--kpop`` option 2024-04-29T03:05:30,244 by testing with a regular fully-populated initramfs. Once you figure out the 2024-04-29T03:05:30,244 modules you need, you can then reduce the size of the initramfs by using the 2024-04-29T03:05:30,245 ``--kpop`` options which will only oopy the those specified modules (and 2024-04-29T03:05:30,246 their dependencies) to the initramfs. 2024-04-29T03:05:30,246 ``real_rootflags=`` 2024-04-29T03:05:30,247 Specify mount flags to pass to the ``mount`` command for your root filesystem 2024-04-29T03:05:30,247 mount. A ``ro`` will always be at the beginning of this setting. Defaults to 2024-04-29T03:05:30,248 blank. 2024-04-29T03:05:30,249 ``rootfstype=`` 2024-04-29T03:05:30,250 Specify the filesystem type for your root filesystem. This is currently a 2024-04-29T03:05:30,250 required option and is set by ``ego boot``. 2024-04-29T03:05:30,251 ChangeLog 2024-04-29T03:05:30,252 ========= 2024-04-29T03:05:30,253 funtoo-ramdisk 1.1.15 2024-04-29T03:05:30,254 --------------------- 2024-04-29T03:05:30,255 Released on April 28, 2024. 2024-04-29T03:05:30,257 This is a feature and bug fix release. ``1.1.14`` contains the same 2024-04-29T03:05:30,257 code but is missing this ChangeLog update and more detail to the 2024-04-29T03:05:30,257 ``lsblk`` output for rescue shell. 2024-04-29T03:05:30,258 * Add man page options on the kernel boot options for the initramfs. 2024-04-29T03:05:30,259 * Add ``lsblk`` to the initramfs and use it to generate nice output 2024-04-29T03:05:30,259 when falling to the rescue shell to aid troubleshooting. 2024-04-29T03:05:30,260 * Only print errors if we have problems loading kpop modules. 2024-04-29T03:05:30,261 Otherwise ignore errors. Most modules don't throw errors and fail 2024-04-29T03:05:30,261 to load when the underlying hardware is not found, but there are 2024-04-29T03:05:30,261 exceptions to this that was previously cluttering output. 2024-04-29T03:05:30,262 * FL-12290: Include "vmscsi" modules definition to enable SCSI boot 2024-04-29T03:05:30,263 support for VirtualBox and likely other VMs, and make this fairly 2024-04-29T03:05:30,263 high priority in the scan order. 2024-04-29T03:05:30,265 funtoo-ramdisk 1.1.13 2024-04-29T03:05:30,265 --------------------- 2024-04-29T03:05:30,266 Released on April 23, 2024. 2024-04-29T03:05:30,267 This is a bug fix release. 2024-04-29T03:05:30,268 * Integrate siris' PR which gets the lvm plugin working under Funtoo. 2024-04-29T03:05:30,269 This should allow for official support of LVM root filesystems. 2024-04-29T03:05:30,270 funtoo-ramdisk 1.1.12 2024-04-29T03:05:30,271 --------------------- 2024-04-29T03:05:30,272 Released on April 19, 2024. 2024-04-29T03:05:30,273 This is a bug fix release. 2024-04-29T03:05:30,274 * Fix man page generation (docutils recently renamed ``rst2man.py`` to 2024-04-29T03:05:30,275 ``rst2man``) 2024-04-29T03:05:30,276 funtoo-ramdisk 1.1.11 2024-04-29T03:05:30,276 --------------------- 2024-04-29T03:05:30,277 Released on April 17, 2024. 2024-04-29T03:05:30,279 This is a feature release. 2024-04-29T03:05:30,280 * Linux 6.6+ now builds and installs kernel modules with the ``.ko.xz`` 2024-04-29T03:05:30,280 suffix. This requires several code updates to support this new naming 2024-04-29T03:05:30,281 scheme. This is the initial implementation and there may be additional 2024-04-29T03:05:30,281 needed fixes for things like the initramfs after this is tested using 2024-04-29T03:05:30,282 this updated initramfs-build code. 2024-04-29T03:05:30,283 funtoo-ramdisk 1.1.10 2024-04-29T03:05:30,283 --------------------- 2024-04-29T03:05:30,285 Released on April 16, 2024. 2024-04-29T03:05:30,286 This is a minor bug fix release. 2024-04-29T03:05:30,287 * Attempting to fix an issue where the temporary kernel modules directory 2024-04-29T03:05:30,288 is not properly created, resulting in an error. 2024-04-29T03:05:30,289 funtoo-ramdisk 1.1.9 2024-04-29T03:05:30,290 -------------------- 2024-04-29T03:05:30,291 Released on April 16, 2024. 2024-04-29T03:05:30,292 This is a minor feature release. 2024-04-29T03:05:30,293 * Add a ``--keep`` option which will preserve the contents of the 2024-04-29T03:05:30,294 temporary directory so that errors and tracebacks can be investigated. 2024-04-29T03:05:30,294 This can be enabled via ebuilds to allow exploration of any ramdisk- 2024-04-29T03:05:30,295 related errors. 2024-04-29T03:05:30,296 * Improve handling of a permissions error when copying the ramdisk to 2024-04-29T03:05:30,297 a final location (provide error message instead of full traceback.) 2024-04-29T03:05:30,298 funtoo-ramdisk 1.1.8 2024-04-29T03:05:30,299 -------------------- 2024-04-29T03:05:30,300 Released on April 16, 2024. 2024-04-29T03:05:30,301 This is a minor bug release. 2024-04-29T03:05:30,302 * Fix for the previous fix. 2024-04-29T03:05:30,304 funtoo-ramdisk 1.1.7 2024-04-29T03:05:30,305 -------------------- 2024-04-29T03:05:30,306 Released on April 15, 2024. 2024-04-29T03:05:30,308 This is a minor bug release. 2024-04-29T03:05:30,309 * Fix a possible issue where ``__pycache__`` directories can mess 2024-04-29T03:05:30,309 up copying of files to the initramfs. 2024-04-29T03:05:30,310 funtoo-ramdisk 1.1.6 2024-04-29T03:05:30,311 -------------------- 2024-04-29T03:05:30,312 Released on April 14, 2024. 2024-04-29T03:05:30,313 This is a maintenance and minor features release. 2024-04-29T03:05:30,314 * Various minor bug fixes. 2024-04-29T03:05:30,315 * Change ``--enable`` to ``--plugins`` since it's more 2024-04-29T03:05:30,315 self-explanatory. 2024-04-29T03:05:30,317 * Continue to flesh out the plugin system. I added support for 2024-04-29T03:05:30,317 plugins to have an activation script which will get executed 2024-04-29T03:05:30,318 on startup. This is a work in progress and I still need to 2024-04-29T03:05:30,319 add support for listing needed modules for a plugin which 2024-04-29T03:05:30,319 will get loaded automatically. 2024-04-29T03:05:30,320 * Fix a bug in argument parsing where the code was not scanning 2024-04-29T03:05:30,320 for invalid options which could result in odd parsing behavior. 2024-04-29T03:05:30,321 * Start adding support for udev. This is not yet completed but 2024-04-29T03:05:30,322 the plugin system for this has been incorporated into the 2024-04-29T03:05:30,322 linuxrc. 2024-04-29T03:05:30,324 funtoo-ramdisk 1.1.5 2024-04-29T03:05:30,324 -------------------- 2024-04-29T03:05:30,325 Released on September 15, 2023. 2024-04-29T03:05:30,326 This is a packaging fix for the manpage. 2024-04-29T03:05:30,327 funtoo-ramdisk 1.1.4 2024-04-29T03:05:30,328 -------------------- 2024-04-29T03:05:30,329 Released on September 15, 2023. 2024-04-29T03:05:30,330 This release adds a "ramdisk" man page. 2024-04-29T03:05:30,331 funtoo-ramdisk 1.1.3 2024-04-29T03:05:30,332 -------------------- 2024-04-29T03:05:30,333 Released on September 14, 2023. 2024-04-29T03:05:30,334 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-04-29T03:05:30,334 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-04-29T03:05:30,335 we were just running it to convieniently spit out the UUID for 2024-04-29T03:05:30,335 the user to put in their ``/etc/fstab``. Now we instruct the 2024-04-29T03:05:30,336 user to run ``blkid`` as root and avoid the sandbox violation. 2024-04-29T03:05:30,337 funtoo-ramdisk 1.1.2 2024-04-29T03:05:30,338 -------------------- 2024-04-29T03:05:30,339 Released on September 4, 2023. 2024-04-29T03:05:30,340 * Fix exit code (zero on success.) 2024-04-29T03:05:30,342 funtoo-ramdisk 1.1.1 2024-04-29T03:05:30,342 -------------------- 2024-04-29T03:05:30,343 Released on September 4, 2023. 2024-04-29T03:05:30,344 Fix three bugs: 2024-04-29T03:05:30,345 * Allow plugins to be loaded when installed in ``site-packages``. 2024-04-29T03:05:30,346 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-04-29T03:05:30,346 handle this situation gracefully. This situation may exist during 2024-04-29T03:05:30,347 metro builds on incomplete systems. (2 bugs fixed). 2024-04-29T03:05:30,348 funtoo-ramdisk 1.1.0 2024-04-29T03:05:30,349 -------------------- 2024-04-29T03:05:30,350 Released on September 3, 2023. 2024-04-29T03:05:30,351 * Add plugin system for ramdisk: 2024-04-29T03:05:30,352 To use, pass ``--enable=,``. The ``core`` plugin is 2024-04-29T03:05:30,353 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-04-29T03:05:30,354 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-04-29T03:05:30,354 just ensure necessary binaries are copied over (no extra setup commands 2024-04-29T03:05:30,355 are run by the initramfs.) 2024-04-29T03:05:30,356 This is a starting point for enabling support for advanced 2024-04-29T03:05:30,357 features on the initramfs. 2024-04-29T03:05:30,358 * New "module configurations". The default module configuration is "full", 2024-04-29T03:05:30,359 which means "make a ramdisk with lots of modules to support a lot of 2024-04-29T03:05:30,359 hardware." Different module configurations can be added in the future. 2024-04-29T03:05:30,360 Module configurations can be specified via ``--kmod_config=``. 2024-04-29T03:05:30,361 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-04-29T03:05:30,361 dynamic module configuration via the command-line, rather than via 2024-04-29T03:05:30,362 static config files. 2024-04-29T03:05:30,363 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-04-29T03:05:30,363 modules (and their dependencies) will be included. This can dramatically 2024-04-29T03:05:30,364 reduce the size of your ramdisk. Note that this doesn't include the 2024-04-29T03:05:30,365 necessary modules to allow USB keyboards to work in the rescue shell, 2024-04-29T03:05:30,365 so it's only for known-good configurations. Enabling this feature also 2024-04-29T03:05:30,365 disables any static module configuration (see above.) 2024-04-29T03:05:30,367 * Change the binary plugin API so lists of binaries can be dynamically 2024-04-29T03:05:30,367 created and programmatic decisions can be made. Previously, we used a 2024-04-29T03:05:30,367 static list. This allows us to use ``lvm.static`` if available, but 2024-04-29T03:05:30,368 fall back to dynamic ``lvm``, for example. 2024-04-29T03:05:30,369 * To support ``kpop`` functionality, the ability to add a module by its 2024-04-29T03:05:30,369 basic name, not just via its full path or glob, was added to 2024-04-29T03:05:30,370 ``modules.copy``. 2024-04-29T03:05:30,371 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-04-29T03:05:30,371 as dynamically-generated line data rather than just as static files 2024-04-29T03:05:30,372 that must exist on the filesystem. (Again, used by ``kpop``). 2024-04-29T03:05:30,377 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-04-29T03:05:30,378 module groups to try to load, and instead use the ``modules.autoload`` 2024-04-29T03:05:30,378 groups to determine these. 2024-04-29T03:05:30,379 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-04-29T03:05:30,380 The former makes use of ``ramdisk --kernel `` easier because it 2024-04-29T03:05:30,380 prints the available kernel names which can be copy/pasted for the 2024-04-29T03:05:30,381 ``--kernel`` option. 2024-04-29T03:05:30,383 * Implemented our own argument parsing as ``argparse`` was not worth 2024-04-29T03:05:30,384 using. 2024-04-29T03:05:30,385 * Lots of code organized into their own ``.py`` files. 2024-04-29T03:05:30,386 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-04-29T03:05:30,386 set up at all if doing a metro build. 2024-04-29T03:05:30,407 * Disable colors if we don't have an interactive shell. 2024-04-29T03:05:30,409 funtoo-ramdisk 1.0.7 2024-04-29T03:05:30,410 -------------------- 2024-04-29T03:05:30,419 Released on August 22, 2023. 2024-04-29T03:05:30,420 Changes: 2024-04-29T03:05:30,421 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-04-29T03:05:30,422 specifies where modules *and* the kernel sources will be. This 2024-04-29T03:05:30,422 allows the tool to work from an ebuild. 2024-04-29T03:05:30,424 * Improve output and add nice colors. Optimize information to be 2024-04-29T03:05:30,424 more useful to users. 2024-04-29T03:05:30,426 funtoo-ramdisk 1.0.6 2024-04-29T03:05:30,427 -------------------- 2024-04-29T03:05:30,428 Released on August 21, 2023. 2024-04-29T03:05:30,429 Two new options: 2024-04-29T03:05:30,430 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-04-29T03:05:30,431 It defaults to ``/``. 2024-04-29T03:05:30,432 * ``--temp_root`` to set the default path to use for creating a 2024-04-29T03:05:30,433 temporary directory. It defaults to ``/var/tmp``. 2024-04-29T03:05:30,434 funtoo-ramdisk 1.0.5 2024-04-29T03:05:30,435 -------------------- 2024-04-29T03:05:30,436 Released on August 21, 2023. 2024-04-29T03:05:30,437 This is a features/maintenance/bug fix release. 2024-04-29T03:05:30,438 In addition to a bunch of minor fixes and clean-ups, which you can 2024-04-29T03:05:30,438 view in the git history, the following significant changes were 2024-04-29T03:05:30,439 made: 2024-04-29T03:05:30,439 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-04-29T03:05:30,440 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-04-29T03:05:30,440 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-04-29T03:05:30,441 over. This fixes an issue where we get invalid symbols when loading modules 2024-04-29T03:05:30,441 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-04-29T03:05:30,442 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-04-29T03:05:30,443 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-04-29T03:05:30,443 boots, since it doesn't have a "root" option, making it hard to call from our 2024-04-29T03:05:30,444 ramdisk script. 2024-04-29T03:05:30,445 * Remove unused control character definitions in ``initrd.defaults``. 2024-04-29T03:05:30,446 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-04-29T03:05:30,446 have been detected, resulting in lack of input. We now wait 5 seconds 2024-04-29T03:05:30,447 before starting a rescue shell, to give the kernel time to enumerate 2024-04-29T03:05:30,448 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-04-29T03:05:30,449 the problem of ``ash`` starting and not having any way to type, because 2024-04-29T03:05:30,449 it didn't connect to your main keyboard. 2024-04-29T03:05:30,450 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-04-29T03:05:30,451 prevent the root filesystem from being mounted (see FL-11532). 2024-04-29T03:05:30,452 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-04-29T03:05:30,453 this is not a good idea, and can cause problems if you have multiple 2024-04-29T03:05:30,453 disks. Show them how to fix the problem by switching to UUID. 2024-04-29T03:05:30,455 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-04-29T03:05:30,455 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-04-29T03:05:30,456 with a SATA disk. 2024-04-29T03:05:30,457 * To implement above feature, added a feature to allow masking of modules in 2024-04-29T03:05:30,458 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-04-29T03:05:30,458 lot of sanity checking and warnings. If you happen to mask a module in the 2024-04-29T03:05:30,459 wrong section, so it still gets included on the initramfs due to other 2024-04-29T03:05:30,459 section(s), we will warn you. 2024-04-29T03:05:30,462 funtoo-ramdisk 1.0.4 2024-04-29T03:05:30,463 -------------------- 2024-04-29T03:05:30,464 Released on August 18, 2023. 2024-04-29T03:05:30,465 This is a maintenance/bug fix release. 2024-04-29T03:05:30,467 * Fix ability to run from the git repo. This wasn't working. 2024-04-29T03:05:30,468 * Fix issue found by grouche, where if a module is built-in to the 2024-04-29T03:05:30,469 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-04-29T03:05:30,469 an error because it would think it's not copied to the initramfs. 2024-04-29T03:05:30,470 We now read in the ``modules.builtin`` file and use this in the 2024-04-29T03:05:30,470 internal logic -- if a module is built-in to the kernel, we can 2024-04-29T03:05:30,471 not worry if it is our ``modules.autoload`` list. We still have it. 2024-04-29T03:05:30,472 We will also not worry about trying to load it at boot. 2024-04-29T03:05:30,473 * Add a debug output whenever a module is referenced that is actually 2024-04-29T03:05:30,473 a built-in. This helps to audit the behavior of the above 2024-04-29T03:05:30,474 functionality and could be useful to users of the tool as well. 2024-04-29T03:05:30,475 * Announce we are in debug mode with ``log.info()`` instead of a 2024-04-29T03:05:30,475 warning. Looks a bit nicer. 2024-04-29T03:05:30,783 running bdist_wheel 2024-04-29T03:05:30,894 running build 2024-04-29T03:05:30,894 running build_py 2024-04-29T03:05:30,922 creating build 2024-04-29T03:05:30,922 creating build/lib 2024-04-29T03:05:30,923 creating build/lib/funtoo_ramdisk 2024-04-29T03:05:30,924 copying funtoo_ramdisk/config_files.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,926 copying funtoo_ramdisk/kernel.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,927 copying funtoo_ramdisk/initramfs.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,930 copying funtoo_ramdisk/modules.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,932 copying funtoo_ramdisk/const.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,934 copying funtoo_ramdisk/version.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,935 copying funtoo_ramdisk/__init__.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,937 copying funtoo_ramdisk/utilities.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,938 copying funtoo_ramdisk/plugin_base.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,943 copying funtoo_ramdisk/args.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,945 copying funtoo_ramdisk/log.py -> build/lib/funtoo_ramdisk 2024-04-29T03:05:30,948 creating build/lib/funtoo_ramdisk/plugins 2024-04-29T03:05:30,949 copying funtoo_ramdisk/plugins/core.py -> build/lib/funtoo_ramdisk/plugins 2024-04-29T03:05:30,951 copying funtoo_ramdisk/plugins/__init__.py -> build/lib/funtoo_ramdisk/plugins 2024-04-29T03:05:30,952 copying funtoo_ramdisk/plugins/lvm.py -> build/lib/funtoo_ramdisk/plugins 2024-04-29T03:05:30,954 copying funtoo_ramdisk/plugins/btrfs.py -> build/lib/funtoo_ramdisk/plugins 2024-04-29T03:05:30,956 creating build/lib/funtoo_ramdisk/support 2024-04-29T03:05:30,957 copying funtoo_ramdisk/support/__init__.py -> build/lib/funtoo_ramdisk/support 2024-04-29T03:05:30,959 creating build/lib/funtoo_ramdisk/support/module_configs 2024-04-29T03:05:30,960 copying funtoo_ramdisk/support/module_configs/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs 2024-04-29T03:05:30,962 creating build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:30,963 copying funtoo_ramdisk/support/module_configs/full/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:30,964 running egg_info 2024-04-29T03:05:31,022 writing funtoo_ramdisk.egg-info/PKG-INFO 2024-04-29T03:05:31,026 writing dependency_links to funtoo_ramdisk.egg-info/dependency_links.txt 2024-04-29T03:05:31,027 writing requirements to funtoo_ramdisk.egg-info/requires.txt 2024-04-29T03:05:31,029 writing top-level names to funtoo_ramdisk.egg-info/top_level.txt 2024-04-29T03:05:31,061 reading manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-29T03:05:31,065 reading manifest template 'MANIFEST.in' 2024-04-29T03:05:31,077 warning: no files found matching 'COPYRIGHT.rst' 2024-04-29T03:05:31,081 writing manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-04-29T03:05:31,084 /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-29T03:05:31,084 !! 2024-04-29T03:05:31,086 ******************************************************************************** 2024-04-29T03:05:31,086 ############################ 2024-04-29T03:05:31,087 # Package would be ignored # 2024-04-29T03:05:31,087 ############################ 2024-04-29T03:05:31,089 Python recognizes 'funtoo_ramdisk.support.etc' as an importable package[^1], 2024-04-29T03:05:31,089 but it is absent from setuptools' `packages` configuration. 2024-04-29T03:05:31,090 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-29T03:05:31,090 package, please make sure that 'funtoo_ramdisk.support.etc' is explicitly added 2024-04-29T03:05:31,091 to the `packages` configuration field. 2024-04-29T03:05:31,092 Alternatively, you can also rely on setuptools' discovery methods 2024-04-29T03:05:31,092 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-29T03:05:31,093 instead of `find_packages(...)`/`find:`). 2024-04-29T03:05:31,093 You can read more about "package discovery" on setuptools documentation page: 2024-04-29T03:05:31,094 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-29T03:05:31,095 If you don't want 'funtoo_ramdisk.support.etc' to be distributed and are 2024-04-29T03:05:31,096 already explicitly excluding 'funtoo_ramdisk.support.etc' via 2024-04-29T03:05:31,096 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-29T03:05:31,097 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-29T03:05:31,097 combination with a more fine grained `package-data` configuration. 2024-04-29T03:05:31,098 You can read more about "package data files" on setuptools documentation page: 2024-04-29T03:05:31,099 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-29T03:05:31,101 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-29T03:05:31,102 even if it does not contain any `.py` files. 2024-04-29T03:05:31,102 On the other hand, currently there is no concept of package data 2024-04-29T03:05:31,103 directory, all directories are treated like packages. 2024-04-29T03:05:31,103 ******************************************************************************** 2024-04-29T03:05:31,104 !! 2024-04-29T03:05:31,105 check.warn(importable) 2024-04-29T03:05:31,105 /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-29T03:05:31,106 !! 2024-04-29T03:05:31,107 ******************************************************************************** 2024-04-29T03:05:31,108 ############################ 2024-04-29T03:05:31,108 # Package would be ignored # 2024-04-29T03:05:31,109 ############################ 2024-04-29T03:05:31,109 Python recognizes 'funtoo_ramdisk.support.etc.plugins' as an importable package[^1], 2024-04-29T03:05:31,110 but it is absent from setuptools' `packages` configuration. 2024-04-29T03:05:31,111 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-29T03:05:31,111 package, please make sure that 'funtoo_ramdisk.support.etc.plugins' is explicitly added 2024-04-29T03:05:31,112 to the `packages` configuration field. 2024-04-29T03:05:31,113 Alternatively, you can also rely on setuptools' discovery methods 2024-04-29T03:05:31,114 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-29T03:05:31,114 instead of `find_packages(...)`/`find:`). 2024-04-29T03:05:31,115 You can read more about "package discovery" on setuptools documentation page: 2024-04-29T03:05:31,116 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-29T03:05:31,118 If you don't want 'funtoo_ramdisk.support.etc.plugins' to be distributed and are 2024-04-29T03:05:31,118 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins' via 2024-04-29T03:05:31,119 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-29T03:05:31,119 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-29T03:05:31,120 combination with a more fine grained `package-data` configuration. 2024-04-29T03:05:31,121 You can read more about "package data files" on setuptools documentation page: 2024-04-29T03:05:31,121 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-29T03:05:31,123 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-29T03:05:31,123 even if it does not contain any `.py` files. 2024-04-29T03:05:31,123 On the other hand, currently there is no concept of package data 2024-04-29T03:05:31,124 directory, all directories are treated like packages. 2024-04-29T03:05:31,124 ******************************************************************************** 2024-04-29T03:05:31,125 !! 2024-04-29T03:05:31,126 check.warn(importable) 2024-04-29T03:05:31,126 /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-29T03:05:31,127 !! 2024-04-29T03:05:31,127 ******************************************************************************** 2024-04-29T03:05:31,128 ############################ 2024-04-29T03:05:31,128 # Package would be ignored # 2024-04-29T03:05:31,129 ############################ 2024-04-29T03:05:31,129 Python recognizes 'funtoo_ramdisk.support.etc.plugins.scan_mode' as an importable package[^1], 2024-04-29T03:05:31,130 but it is absent from setuptools' `packages` configuration. 2024-04-29T03:05:31,131 This leads to an ambiguous overall configuration. If you want to distribute this 2024-04-29T03:05:31,131 package, please make sure that 'funtoo_ramdisk.support.etc.plugins.scan_mode' is explicitly added 2024-04-29T03:05:31,131 to the `packages` configuration field. 2024-04-29T03:05:31,133 Alternatively, you can also rely on setuptools' discovery methods 2024-04-29T03:05:31,134 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-04-29T03:05:31,135 instead of `find_packages(...)`/`find:`). 2024-04-29T03:05:31,136 You can read more about "package discovery" on setuptools documentation page: 2024-04-29T03:05:31,138 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-04-29T03:05:31,139 If you don't want 'funtoo_ramdisk.support.etc.plugins.scan_mode' to be distributed and are 2024-04-29T03:05:31,140 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins.scan_mode' via 2024-04-29T03:05:31,141 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-04-29T03:05:31,176 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-04-29T03:05:31,500 combination with a more fine grained `package-data` configuration. 2024-04-29T03:05:31,503 You can read more about "package data files" on setuptools documentation page: 2024-04-29T03:05:32,105 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-04-29T03:05:32,209 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-04-29T03:05:32,211 even if it does not contain any `.py` files. 2024-04-29T03:05:32,212 On the other hand, currently there is no concept of package data 2024-04-29T03:05:32,213 directory, all directories are treated like packages. 2024-04-29T03:05:32,215 ******************************************************************************** 2024-04-29T03:05:32,217 !! 2024-04-29T03:05:32,218 check.warn(importable) 2024-04-29T03:05:32,219 copying funtoo_ramdisk/support/initramfs.cpio -> build/lib/funtoo_ramdisk/support 2024-04-29T03:05:32,220 copying funtoo_ramdisk/support/linuxrc -> build/lib/funtoo_ramdisk/support 2024-04-29T03:05:32,222 creating build/lib/funtoo_ramdisk/support/etc 2024-04-29T03:05:32,223 copying funtoo_ramdisk/support/etc/initrd.defaults -> build/lib/funtoo_ramdisk/support/etc 2024-04-29T03:05:32,224 copying funtoo_ramdisk/support/etc/initrd.scripts -> build/lib/funtoo_ramdisk/support/etc 2024-04-29T03:05:32,227 creating build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-29T03:05:32,228 copying funtoo_ramdisk/support/etc/plugins/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins 2024-04-29T03:05:32,230 creating build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-29T03:05:32,233 copying funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-29T03:05:32,234 copying funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-29T03:05:32,235 copying funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-29T03:05:32,235 copying funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:32,236 copying funtoo_ramdisk/support/module_configs/full/modules.copy -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:32,237 running build_scripts 2024-04-29T03:05:32,238 creating build/scripts-3.11 2024-04-29T03:05:32,239 copying and adjusting bin/ramdisk -> build/scripts-3.11 2024-04-29T03:05:32,239 changing mode of build/scripts-3.11/ramdisk from 644 to 755 2024-04-29T03:05:32,284 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2024-04-29T03:05:32,285 !! 2024-04-29T03:05:32,287 ******************************************************************************** 2024-04-29T03:05:32,288 Please avoid running ``setup.py`` directly. 2024-04-29T03:05:32,288 Instead, use pypa/build, pypa/installer or other 2024-04-29T03:05:32,290 standards-based tools. 2024-04-29T03:05:32,291 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2024-04-29T03:05:32,292 ******************************************************************************** 2024-04-29T03:05:32,294 !! 2024-04-29T03:05:32,295 self.initialize_options() 2024-04-29T03:05:32,335 installing to build/bdist.linux-armv7l/wheel 2024-04-29T03:05:32,336 running install 2024-04-29T03:05:32,360 running install_lib 2024-04-29T03:05:32,387 creating build/bdist.linux-armv7l 2024-04-29T03:05:32,389 creating build/bdist.linux-armv7l/wheel 2024-04-29T03:05:32,391 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,393 copying build/lib/funtoo_ramdisk/config_files.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,396 copying build/lib/funtoo_ramdisk/kernel.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,399 copying build/lib/funtoo_ramdisk/initramfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,402 copying build/lib/funtoo_ramdisk/modules.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,405 copying build/lib/funtoo_ramdisk/const.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,408 copying build/lib/funtoo_ramdisk/version.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,411 copying build/lib/funtoo_ramdisk/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,412 copying build/lib/funtoo_ramdisk/utilities.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,415 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-29T03:05:32,417 copying build/lib/funtoo_ramdisk/plugins/core.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-29T03:05:32,420 copying build/lib/funtoo_ramdisk/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-29T03:05:32,422 copying build/lib/funtoo_ramdisk/plugins/lvm.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-29T03:05:32,425 copying build/lib/funtoo_ramdisk/plugins/btrfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-04-29T03:05:32,428 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-29T03:05:32,429 copying build/lib/funtoo_ramdisk/support/linuxrc -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-29T03:05:32,433 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-29T03:05:32,434 copying build/lib/funtoo_ramdisk/support/etc/initrd.defaults -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-29T03:05:32,437 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-29T03:05:32,439 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-04-29T03:05:32,440 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-29T03:05:32,443 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-29T03:05:32,445 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-29T03:05:32,447 copying build/lib/funtoo_ramdisk/support/etc/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-04-29T03:05:32,450 copying build/lib/funtoo_ramdisk/support/etc/initrd.scripts -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-04-29T03:05:32,453 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-29T03:05:32,454 copying build/lib/funtoo_ramdisk/support/module_configs/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-04-29T03:05:32,458 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:32,459 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:32,462 copying build/lib/funtoo_ramdisk/support/module_configs/full/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:32,464 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.copy -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-04-29T03:05:32,466 copying build/lib/funtoo_ramdisk/support/initramfs.cpio -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-29T03:05:32,469 copying build/lib/funtoo_ramdisk/support/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-04-29T03:05:32,471 copying build/lib/funtoo_ramdisk/plugin_base.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,473 copying build/lib/funtoo_ramdisk/args.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,477 copying build/lib/funtoo_ramdisk/log.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-04-29T03:05:32,479 running install_egg_info 2024-04-29T03:05:32,516 Copying funtoo_ramdisk.egg-info to build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.15-py3.11.egg-info 2024-04-29T03:05:32,532 running install_scripts 2024-04-29T03:05:32,533 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.15.data 2024-04-29T03:05:32,534 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.15.data/scripts 2024-04-29T03:05:32,536 copying build/scripts-3.11/ramdisk -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.15.data/scripts 2024-04-29T03:05:32,538 changing mode of build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.15.data/scripts/ramdisk to 755 2024-04-29T03:05:32,565 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.15.dist-info/WHEEL 2024-04-29T03:05:32,571 creating '/tmp/pip-wheel-dvi7kddp/funtoo_ramdisk-1.1.15-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2024-04-29T03:05:32,575 adding 'funtoo_ramdisk/__init__.py' 2024-04-29T03:05:32,577 adding 'funtoo_ramdisk/args.py' 2024-04-29T03:05:32,578 adding 'funtoo_ramdisk/config_files.py' 2024-04-29T03:05:32,580 adding 'funtoo_ramdisk/const.py' 2024-04-29T03:05:32,582 adding 'funtoo_ramdisk/initramfs.py' 2024-04-29T03:05:32,584 adding 'funtoo_ramdisk/kernel.py' 2024-04-29T03:05:32,586 adding 'funtoo_ramdisk/log.py' 2024-04-29T03:05:32,588 adding 'funtoo_ramdisk/modules.py' 2024-04-29T03:05:32,590 adding 'funtoo_ramdisk/plugin_base.py' 2024-04-29T03:05:32,591 adding 'funtoo_ramdisk/utilities.py' 2024-04-29T03:05:32,592 adding 'funtoo_ramdisk/version.py' 2024-04-29T03:05:32,594 adding 'funtoo_ramdisk/plugins/__init__.py' 2024-04-29T03:05:32,596 adding 'funtoo_ramdisk/plugins/btrfs.py' 2024-04-29T03:05:32,597 adding 'funtoo_ramdisk/plugins/core.py' 2024-04-29T03:05:32,599 adding 'funtoo_ramdisk/plugins/lvm.py' 2024-04-29T03:05:32,600 adding 'funtoo_ramdisk/support/__init__.py' 2024-04-29T03:05:32,602 adding 'funtoo_ramdisk/support/initramfs.cpio' 2024-04-29T03:05:32,603 adding 'funtoo_ramdisk/support/linuxrc' 2024-04-29T03:05:32,605 adding 'funtoo_ramdisk/support/etc/initrd.defaults' 2024-04-29T03:05:32,607 adding 'funtoo_ramdisk/support/etc/initrd.scripts' 2024-04-29T03:05:32,609 adding 'funtoo_ramdisk/support/etc/plugins/__init__.py' 2024-04-29T03:05:32,611 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py' 2024-04-29T03:05:32,612 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh' 2024-04-29T03:05:32,614 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh' 2024-04-29T03:05:32,616 adding 'funtoo_ramdisk/support/module_configs/__init__.py' 2024-04-29T03:05:32,617 adding 'funtoo_ramdisk/support/module_configs/full/__init__.py' 2024-04-29T03:05:32,618 adding 'funtoo_ramdisk/support/module_configs/full/modules.autoload' 2024-04-29T03:05:32,620 adding 'funtoo_ramdisk/support/module_configs/full/modules.copy' 2024-04-29T03:05:32,622 adding 'funtoo_ramdisk-1.1.15.data/scripts/ramdisk' 2024-04-29T03:05:32,626 adding 'funtoo_ramdisk-1.1.15.dist-info/METADATA' 2024-04-29T03:05:32,628 adding 'funtoo_ramdisk-1.1.15.dist-info/WHEEL' 2024-04-29T03:05:32,629 adding 'funtoo_ramdisk-1.1.15.dist-info/top_level.txt' 2024-04-29T03:05:32,630 adding 'funtoo_ramdisk-1.1.15.dist-info/RECORD' 2024-04-29T03:05:32,632 removing build/bdist.linux-armv7l/wheel 2024-04-29T03:05:32,771 Building wheel for funtoo-ramdisk (setup.py): finished with status 'done' 2024-04-29T03:05:32,774 Created wheel for funtoo-ramdisk: filename=funtoo_ramdisk-1.1.15-py3-none-any.whl size=38000 sha256=c2aafc369959851af94fe736387c3fda0b2e71a7c9747e8c2045f3695a199c9b 2024-04-29T03:05:32,776 Stored in directory: /tmp/pip-ephem-wheel-cache-de2avqsb/wheels/65/70/bb/0114fe288240b9955440db2c6575c6389a77eb91817c6ee60d 2024-04-29T03:05:32,792 Successfully built funtoo-ramdisk 2024-04-29T03:05:32,797 Removed build tracker: '/tmp/pip-build-tracker-f_8aar4o'