2024-07-07T18:33:25,531 Created temporary directory: /tmp/pip-build-tracker-dfqg7vcf 2024-07-07T18:33:25,532 Initialized build tracking at /tmp/pip-build-tracker-dfqg7vcf 2024-07-07T18:33:25,532 Created build tracker: /tmp/pip-build-tracker-dfqg7vcf 2024-07-07T18:33:25,533 Entered build tracker: /tmp/pip-build-tracker-dfqg7vcf 2024-07-07T18:33:25,534 Created temporary directory: /tmp/pip-wheel-64gq1y03 2024-07-07T18:33:25,537 Created temporary directory: /tmp/pip-ephem-wheel-cache-o43fjr6g 2024-07-07T18:33:25,559 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-07-07T18:33:25,563 2 location(s) to search for versions of funtoo-ramdisk: 2024-07-07T18:33:25,563 * https://pypi.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:25,563 * https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:25,564 Fetching project page and analyzing links: https://pypi.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:25,564 Getting page https://pypi.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:25,566 Found index url https://pypi.org/simple/ 2024-07-07T18:33:25,782 Fetched page https://pypi.org/simple/funtoo-ramdisk/ as application/vnd.pypi.simple.v1+json 2024-07-07T18:33:25,788 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-07-07T18:33:25,789 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-07-07T18:33:25,790 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-07-07T18:33:25,791 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-07-07T18:33:25,792 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-07-07T18:33:25,793 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-07-07T18:33:25,794 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-07-07T18:33:25,795 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-07-07T18:33:25,796 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-07-07T18:33:25,797 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-07-07T18:33:25,799 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-07-07T18:33:25,800 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-07-07T18:33:25,801 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-07-07T18:33:25,802 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-07-07T18:33:25,803 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-07-07T18:33:25,804 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-07-07T18:33:25,805 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-07-07T18:33:25,805 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-07-07T18:33:25,806 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-07-07T18:33:25,807 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-07-07T18:33:25,808 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-07-07T18:33:25,809 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-07-07T18:33:25,810 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-07-07T18:33:25,811 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-07-07T18:33:25,812 Found link https://files.pythonhosted.org/packages/15/ac/2d51a609c3a9789be66cf6471589cfccceb005c1a06af319a36825f567fb/funtoo_ramdisk-1.1.16.tar.gz (from https://pypi.org/simple/funtoo-ramdisk/) (requires-python:>=3.7), version: 1.1.16 2024-07-07T18:33:25,813 Fetching project page and analyzing links: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:25,814 Getting page https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:25,815 Found index url https://www.piwheels.org/simple/ 2024-07-07T18:33:25,972 Fetched page https://www.piwheels.org/simple/funtoo-ramdisk/ as text/html 2024-07-07T18:33:25,979 Skipping link: No binaries permitted for funtoo-ramdisk: https://www.piwheels.org/simple/funtoo-ramdisk/funtoo_ramdisk-1.1.15-py3-none-any.whl#sha256=c2aafc369959851af94fe736387c3fda0b2e71a7c9747e8c2045f3695a199c9b (from https://www.piwheels.org/simple/funtoo-ramdisk/) (requires-python:>=3.7) 2024-07-07T18:33:25,980 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-07-07T18:33:25,981 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-07-07T18:33:25,981 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-07-07T18:33:25,982 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-07-07T18:33:25,982 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-07-07T18:33:25,983 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-07-07T18:33:25,983 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-07-07T18:33:25,984 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-07-07T18:33:25,984 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-07-07T18:33:25,985 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-07-07T18:33:25,985 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-07-07T18:33:25,986 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-07-07T18:33:25,986 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-07-07T18:33:25,987 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-07-07T18:33:25,988 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-07-07T18:33:25,988 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-07-07T18:33:25,989 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-07-07T18:33:25,989 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-07-07T18:33:25,990 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-07-07T18:33:25,990 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-07-07T18:33:25,991 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-07-07T18:33:25,991 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-07-07T18:33:25,992 Skipping link: not a file: https://www.piwheels.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:25,993 Skipping link: not a file: https://pypi.org/simple/funtoo-ramdisk/ 2024-07-07T18:33:26,015 Given no hashes to check 1 links for project 'funtoo-ramdisk': discarding no candidates 2024-07-07T18:33:26,035 Collecting funtoo-ramdisk==1.1.16 2024-07-07T18:33:26,037 Created temporary directory: /tmp/pip-unpack-x6e4f7w3 2024-07-07T18:33:26,251 Downloading funtoo_ramdisk-1.1.16.tar.gz (48 kB) 2024-07-07T18:33:26,384 Added funtoo-ramdisk==1.1.16 from https://files.pythonhosted.org/packages/15/ac/2d51a609c3a9789be66cf6471589cfccceb005c1a06af319a36825f567fb/funtoo_ramdisk-1.1.16.tar.gz to build tracker '/tmp/pip-build-tracker-dfqg7vcf' 2024-07-07T18:33:26,386 Running setup.py (path:/tmp/pip-wheel-64gq1y03/funtoo-ramdisk_db3b95d5d12d4b18854b67feb28dcd12/setup.py) egg_info for package funtoo-ramdisk 2024-07-07T18:33:26,387 Created temporary directory: /tmp/pip-pip-egg-info-pt0bm2jv 2024-07-07T18:33:26,388 Preparing metadata (setup.py): started 2024-07-07T18:33:26,389 Running command python setup.py egg_info 2024-07-07T18:33:26,871 ========= 2024-07-07T18:33:26,871 ramdisk 2024-07-07T18:33:26,872 ========= 2024-07-07T18:33:26,872 -------------------------------------------------- 2024-07-07T18:33:26,873 create a bootable initial ramdisk 2024-07-07T18:33:26,873 -------------------------------------------------- 2024-07-07T18:33:26,874 :Author: Daniel Robbins 2024-07-07T18:33:26,875 :Copyright: Copyright 2023-2024 Daniel Robbins, Funtoo Solutions, Inc. 2024-07-07T18:33:26,875 Licensed under the Apache License, Version 2.0 (the "License"); 2024-07-07T18:33:26,875 you may not use this file except in compliance with the License. 2024-07-07T18:33:26,876 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-07-07T18:33:26,877 :Version: 1.1.16 2024-07-07T18:33:26,877 :Manual section: 8 2024-07-07T18:33:26,878 :Manual group: Funtoo Linux 2024-07-07T18:33:26,879 SYNOPSIS 2024-07-07T18:33:26,879 ======== 2024-07-07T18:33:26,880 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-07-07T18:33:26,881 ``ramdisk`` list kernels 2024-07-07T18:33:26,882 ``ramdisk`` list plugins 2024-07-07T18:33:26,883 DESCRIPTION 2024-07-07T18:33:26,884 =========== 2024-07-07T18:33:26,885 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-07-07T18:33:26,885 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-07-07T18:33:26,886 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-07-07T18:33:26,887 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-07-07T18:33:26,888 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-07-07T18:33:26,889 ext4 or XFS filesystem, which is what we support in our official installation 2024-07-07T18:33:26,889 documentation at https://www.funtoo.org/Install. 2024-07-07T18:33:26,890 CAPABILITIES 2024-07-07T18:33:26,891 ============ 2024-07-07T18:33:26,892 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-07-07T18:33:26,893 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-07-07T18:33:26,893 been modernized. About 100 lines of shell script, with another 215 lines 2024-07-07T18:33:26,894 of functions in a support file. 2024-07-07T18:33:26,895 * Copies over the modules you specify -- and automatically figures out any 2024-07-07T18:33:26,896 kernel module dependencies, so any depended-upon modules are also copied. 2024-07-07T18:33:26,896 This eliminates the need to track these dependencies manually. 2024-07-07T18:33:26,898 * Rootless operation. You do not need enhanced privileges to create the 2024-07-07T18:33:26,898 initramfs. 2024-07-07T18:33:26,899 * You can read the ``linuxrc`` script and actually understand what it does. 2024-07-07T18:33:26,900 It is written to be easy to understand and adapt. So it's not just short, 2024-07-07T18:33:26,901 but easy to grasp. 2024-07-07T18:33:26,902 * Enhanced module loading engine on the initramfs which is significantly 2024-07-07T18:33:26,902 faster than genkernel. This effectively eliminates the "watching the 2024-07-07T18:33:26,903 stream of useless modules being loaded" issue with genkernel. Modern 2024-07-07T18:33:26,904 systems with NVMe drives will load just a handful of modules to boot 2024-07-07T18:33:26,904 -- all without requiring any special action from the user. 2024-07-07T18:33:26,906 * "kpop" functionality allows for building ramdisks with just the modules 2024-07-07T18:33:26,906 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-07-07T18:33:26,907 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-07-07T18:33:26,907 these necessary modules, leaving all other modules to be loaded by 2024-07-07T18:33:26,908 your Funtoo Linux system. 2024-07-07T18:33:26,909 * Effective Python-based command to actually build the ramdisk, which is 2024-07-07T18:33:26,910 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-07-07T18:33:26,910 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-07-07T18:33:26,911 * Enhanced ini-style system for selecting module groups to autoload on the 2024-07-07T18:33:26,912 initramfs. 2024-07-07T18:33:26,912 * Support for xz and zstd compression. 2024-07-07T18:33:26,913 ACTIONS 2024-07-07T18:33:26,914 ======= 2024-07-07T18:33:26,915 The default action is ``build``, and can be optionally specified, which will 2024-07-07T18:33:26,915 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-07-07T18:33:26,916 build 2024-07-07T18:33:26,917 ----- 2024-07-07T18:33:26,917 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-07-07T18:33:26,918 action requires a destination initramfs path. This will be the literal path and 2024-07-07T18:33:26,918 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-07-07T18:33:26,919 list 2024-07-07T18:33:26,920 ---- 2024-07-07T18:33:26,920 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-07-07T18:33:26,921 ``kernels`` will show you a list of available installed kernels on your system for 2024-07-07T18:33:26,921 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-07-07T18:33:26,922 plugins that can be enabled to add more functionality to your ramdisk. 2024-07-07T18:33:26,923 OPTIONS 2024-07-07T18:33:26,924 ======= 2024-07-07T18:33:26,925 --debug Enable debug output. 2024-07-07T18:33:26,925 --backtrace Display full python backtrace/traceback instead of just a 2024-07-07T18:33:26,926 short error summary. 2024-07-07T18:33:26,926 --force Overwrite target initramfs if it exists. The command will refuse to do 2024-07-07T18:33:26,927 so by default. 2024-07-07T18:33:26,927 --keep Keep the temporary directory after execution for investigation/debugging. 2024-07-07T18:33:26,928 --version Show this program's version number and exit. 2024-07-07T18:33:26,929 --help Show this help message and exit. 2024-07-07T18:33:26,929 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-07-07T18:33:26,930 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-07-07T18:33:26,930 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-07-07T18:33:26,931 kernels``. 2024-07-07T18:33:26,932 --kernel= Specify what kernel to build a ramdisk for. Use 2024-07-07T18:33:26,932 ``ramdisk list kernels`` to display available options. The 2024-07-07T18:33:26,933 default setting is to use the current value of the 2024-07-07T18:33:26,933 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-07-07T18:33:26,934 which kernel to build a ramdisk for. 2024-07-07T18:33:26,934 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-07-07T18:33:26,935 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-07-07T18:33:26,936 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-07-07T18:33:26,936 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-07-07T18:33:26,937 plugins. 2024-07-07T18:33:26,938 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-07-07T18:33:26,938 define what kernel modules get copied to the initramfs, and which ones 2024-07-07T18:33:26,939 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-07-07T18:33:26,939 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-07-07T18:33:26,940 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-07-07T18:33:26,940 will allow your root block device and filesystem to be mounted. For example, 2024-07-07T18:33:26,940 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-07-07T18:33:26,941 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-07-07T18:33:26,941 a special minimal kernel module config is used instead of what is specified 2024-07-07T18:33:26,942 via ``--kmod_config`` (see above). 2024-07-07T18:33:26,943 USAGE 2024-07-07T18:33:26,943 ===== 2024-07-07T18:33:26,944 In its simplest form, the command can be used as follows, as a regular user:: 2024-07-07T18:33:26,945 $ ramdisk /var/tmp/my-new-initramfs 2024-07-07T18:33:26,945 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-07-07T18:33:26,946 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-07-07T18:33:26,947 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-07-07T18:33:26,947 extract kernel version information, and then find the appropriate directory in 2024-07-07T18:33:26,948 ``/lib/modules/`` for copying modules. You can type: 2024-07-07T18:33:26,948 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-07-07T18:33:26,949 for a non-default kernel. 2024-07-07T18:33:26,950 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-07-07T18:33:26,950 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-07-07T18:33:26,951 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-07-07T18:33:26,952 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-07-07T18:33:26,953 PLUGINS 2024-07-07T18:33:26,954 ======= 2024-07-07T18:33:26,955 ``ramdisk`` ships with a collection of different plugins that add various boot features 2024-07-07T18:33:26,956 to a Funtoo Linux system. Included plugins: 2024-07-07T18:33:26,957 ``btrfs`` 2024-07-07T18:33:26,957 Adds support for booting off a root volume formatted with btrfs. 2024-07-07T18:33:26,958 ``core`` 2024-07-07T18:33:26,959 Adds core components required by every ``ramdisk`` generated initramfs. 2024-07-07T18:33:26,959 ``luks`` 2024-07-07T18:33:26,960 Adds support for booting off a LUKS encrypted root volume. 2024-07-07T18:33:26,960 ``lvm`` 2024-07-07T18:33:26,961 Adds support for booting off a LVM root volume. 2024-07-07T18:33:26,962 INITRAMFS BOOT OPTIONS 2024-07-07T18:33:26,963 ====================== 2024-07-07T18:33:26,964 The following options are recognized by the initramfs and should be separated by whitespace on the 2024-07-07T18:33:26,964 kernel boot line. In Funtoo Linux, you would add them to ``/etc/boot.conf`` -- see boot.conf(5). 2024-07-07T18:33:26,965 ``real_root=`` 2024-07-07T18:33:26,966 This is used to specify the root device that we want to mount and boot. 2024-07-07T18:33:26,967 ``root=`` 2024-07-07T18:33:26,967 This is not used right now but will be used for live media booting. 2024-07-07T18:33:26,968 ``real_init=`` 2024-07-07T18:33:26,968 Defaults to ``/sbin/init`` -- what to run as PID 1 when booting your system. 2024-07-07T18:33:26,969 ``init_opts=`` 2024-07-07T18:33:26,970 Defaults to empty -- what command-line options to pass to PID 1. 2024-07-07T18:33:26,970 ``crypt_root=`` 2024-07-07T18:33:26,971 This is used to specify the root device that is LUKS encrypted by cryptsetup 2024-07-07T18:33:26,971 and we want to boot. 2024-07-07T18:33:26,972 ``shell`` 2024-07-07T18:33:26,972 Start a debug shell immediately before booting your system. This will allow 2024-07-07T18:33:26,972 you to inspect the state of the initramfs. Exiting the shell will resume the 2024-07-07T18:33:26,973 normal boot process. 2024-07-07T18:33:26,973 ``debug`` 2024-07-07T18:33:26,974 Enable debug mode. More verbose output and ``dmesg`` after boot will display 2024-07-07T18:33:26,974 additional debug information for later review. 2024-07-07T18:33:26,975 ``quick`` 2024-07-07T18:33:26,975 On by default, this tells the initramfs to opportunistically see if the root 2024-07-07T18:33:26,975 block device is available during modules scanning to avoid loading all modules. 2024-07-07T18:33:26,976 ``slow`` 2024-07-07T18:33:26,976 This disables the "quick" option and exhaustively loads all modules before 2024-07-07T18:33:26,977 looking for a root block device. 2024-07-07T18:33:26,977 ``ramdisk.activate=`` 2024-07-07T18:33:26,978 A comma-delimited list of plugins to enable at boot-time. For example, set this 2024-07-07T18:33:26,978 to "lvm" to enable LVM boot. Or set this to "luks,lvm" to enable encrypted boot 2024-07-07T18:33:26,979 and LVM volume group scanning. 2024-07-07T18:33:26,979 ``ramdisk.scan_mode=`` 2024-07-07T18:33:26,980 Currently defaulting to "legacy" which is the only option, and means "do the 2024-07-07T18:33:26,980 classic ``genkernel`` thing and manually load modules from our modules list.``. 2024-07-07T18:33:26,981 I hope to add dynamic loading of modules via (e)udev soon, which will become a 2024-07-07T18:33:26,982 new option. 2024-07-07T18:33:26,982 ``magic=`` 2024-07-07T18:33:26,983 This is a comma-delimited "magic" list of modules that you have determined are 2024-07-07T18:33:26,983 needed to boot your system. When this option is specified, the initramfs will 2024-07-07T18:33:26,984 load *only* these modules and then try to find the root device. This can be 2024-07-07T18:33:26,985 used to test out which modules you need to specify for the ``--kpop`` option 2024-07-07T18:33:26,985 by testing with a regular fully-populated initramfs. Once you figure out the 2024-07-07T18:33:26,986 modules you need, you can then reduce the size of the initramfs by using the 2024-07-07T18:33:26,987 ``--kpop`` options which will only oopy the those specified modules (and 2024-07-07T18:33:26,987 their dependencies) to the initramfs. 2024-07-07T18:33:26,988 ``real_rootflags=`` 2024-07-07T18:33:26,988 Specify mount flags to pass to the ``mount`` command for your root filesystem 2024-07-07T18:33:26,989 mount. A ``ro`` will always be at the beginning of this setting. Defaults to 2024-07-07T18:33:26,990 blank. 2024-07-07T18:33:26,990 ``rootfstype=`` 2024-07-07T18:33:26,991 Specify the filesystem type for your root filesystem. This is currently a 2024-07-07T18:33:26,992 required option and is set by ``ego boot``. 2024-07-07T18:33:26,994 ChangeLog 2024-07-07T18:33:26,994 ========= 2024-07-07T18:33:26,996 funtoo-ramdisk 1.1.16 2024-07-07T18:33:26,996 --------------------- 2024-07-07T18:33:26,997 Released on July 7, 2024. 2024-07-07T18:33:26,998 This is a feature release. 2024-07-07T18:33:26,999 * Add btrfs boot support. 2024-07-07T18:33:27,000 * Added v1 cryptsetup luks plugin, which is currently being 2024-07-07T18:33:27,000 evaluated. 2024-07-07T18:33:27,001 * Add generic settle_root function. 2024-07-07T18:33:27,002 funtoo-ramdisk 1.1.15 2024-07-07T18:33:27,003 --------------------- 2024-07-07T18:33:27,004 Released on April 28, 2024. 2024-07-07T18:33:27,004 This is a feature and bug fix release. ``1.1.14`` contains the same 2024-07-07T18:33:27,005 code but is missing this ChangeLog update and more detail to the 2024-07-07T18:33:27,005 ``lsblk`` output for rescue shell. 2024-07-07T18:33:27,006 * Add man page options on the kernel boot options for the initramfs. 2024-07-07T18:33:27,007 * Add ``lsblk`` to the initramfs and use it to generate nice output 2024-07-07T18:33:27,008 when falling to the rescue shell to aid troubleshooting. 2024-07-07T18:33:27,009 * Only print errors if we have problems loading kpop modules. 2024-07-07T18:33:27,010 Otherwise ignore errors. Most modules don't throw errors and fail 2024-07-07T18:33:27,010 to load when the underlying hardware is not found, but there are 2024-07-07T18:33:27,011 exceptions to this that was previously cluttering output. 2024-07-07T18:33:27,012 * FL-12290: Include "vmscsi" modules definition to enable SCSI boot 2024-07-07T18:33:27,012 support for VirtualBox and likely other VMs, and make this fairly 2024-07-07T18:33:27,013 high priority in the scan order. 2024-07-07T18:33:27,015 funtoo-ramdisk 1.1.13 2024-07-07T18:33:27,015 --------------------- 2024-07-07T18:33:27,017 Released on April 23, 2024. 2024-07-07T18:33:27,018 This is a bug fix release. 2024-07-07T18:33:27,020 * Integrate siris' PR which gets the lvm plugin working under Funtoo. 2024-07-07T18:33:27,020 This should allow for official support of LVM root filesystems. 2024-07-07T18:33:27,022 funtoo-ramdisk 1.1.12 2024-07-07T18:33:27,023 --------------------- 2024-07-07T18:33:27,024 Released on April 19, 2024. 2024-07-07T18:33:27,026 This is a bug fix release. 2024-07-07T18:33:27,027 * Fix man page generation (docutils recently renamed ``rst2man.py`` to 2024-07-07T18:33:27,028 ``rst2man``) 2024-07-07T18:33:27,029 funtoo-ramdisk 1.1.11 2024-07-07T18:33:27,030 --------------------- 2024-07-07T18:33:27,031 Released on April 17, 2024. 2024-07-07T18:33:27,032 This is a feature release. 2024-07-07T18:33:27,034 * Linux 6.6+ now builds and installs kernel modules with the ``.ko.xz`` 2024-07-07T18:33:27,034 suffix. This requires several code updates to support this new naming 2024-07-07T18:33:27,035 scheme. This is the initial implementation and there may be additional 2024-07-07T18:33:27,035 needed fixes for things like the initramfs after this is tested using 2024-07-07T18:33:27,036 this updated initramfs-build code. 2024-07-07T18:33:27,037 funtoo-ramdisk 1.1.10 2024-07-07T18:33:27,038 --------------------- 2024-07-07T18:33:27,039 Released on April 16, 2024. 2024-07-07T18:33:27,041 This is a minor bug fix release. 2024-07-07T18:33:27,042 * Attempting to fix an issue where the temporary kernel modules directory 2024-07-07T18:33:27,042 is not properly created, resulting in an error. 2024-07-07T18:33:27,044 funtoo-ramdisk 1.1.9 2024-07-07T18:33:27,045 -------------------- 2024-07-07T18:33:27,046 Released on April 16, 2024. 2024-07-07T18:33:27,047 This is a minor feature release. 2024-07-07T18:33:27,049 * Add a ``--keep`` option which will preserve the contents of the 2024-07-07T18:33:27,049 temporary directory so that errors and tracebacks can be investigated. 2024-07-07T18:33:27,050 This can be enabled via ebuilds to allow exploration of any ramdisk- 2024-07-07T18:33:27,051 related errors. 2024-07-07T18:33:27,053 * Improve handling of a permissions error when copying the ramdisk to 2024-07-07T18:33:27,054 a final location (provide error message instead of full traceback.) 2024-07-07T18:33:27,055 funtoo-ramdisk 1.1.8 2024-07-07T18:33:27,055 -------------------- 2024-07-07T18:33:27,056 Released on April 16, 2024. 2024-07-07T18:33:27,057 This is a minor bug release. 2024-07-07T18:33:27,058 * Fix for the previous fix. 2024-07-07T18:33:27,059 funtoo-ramdisk 1.1.7 2024-07-07T18:33:27,059 -------------------- 2024-07-07T18:33:27,060 Released on April 15, 2024. 2024-07-07T18:33:27,062 This is a minor bug release. 2024-07-07T18:33:27,063 * Fix a possible issue where ``__pycache__`` directories can mess 2024-07-07T18:33:27,064 up copying of files to the initramfs. 2024-07-07T18:33:27,065 funtoo-ramdisk 1.1.6 2024-07-07T18:33:27,065 -------------------- 2024-07-07T18:33:27,066 Released on April 14, 2024. 2024-07-07T18:33:27,067 This is a maintenance and minor features release. 2024-07-07T18:33:27,068 * Various minor bug fixes. 2024-07-07T18:33:27,068 * Change ``--enable`` to ``--plugins`` since it's more 2024-07-07T18:33:27,069 self-explanatory. 2024-07-07T18:33:27,070 * Continue to flesh out the plugin system. I added support for 2024-07-07T18:33:27,070 plugins to have an activation script which will get executed 2024-07-07T18:33:27,071 on startup. This is a work in progress and I still need to 2024-07-07T18:33:27,071 add support for listing needed modules for a plugin which 2024-07-07T18:33:27,072 will get loaded automatically. 2024-07-07T18:33:27,072 * Fix a bug in argument parsing where the code was not scanning 2024-07-07T18:33:27,073 for invalid options which could result in odd parsing behavior. 2024-07-07T18:33:27,074 * Start adding support for udev. This is not yet completed but 2024-07-07T18:33:27,075 the plugin system for this has been incorporated into the 2024-07-07T18:33:27,075 linuxrc. 2024-07-07T18:33:27,077 funtoo-ramdisk 1.1.5 2024-07-07T18:33:27,077 -------------------- 2024-07-07T18:33:27,078 Released on September 15, 2023. 2024-07-07T18:33:27,080 This is a packaging fix for the manpage. 2024-07-07T18:33:27,081 funtoo-ramdisk 1.1.4 2024-07-07T18:33:27,082 -------------------- 2024-07-07T18:33:27,083 Released on September 15, 2023. 2024-07-07T18:33:27,084 This release adds a "ramdisk" man page. 2024-07-07T18:33:27,086 funtoo-ramdisk 1.1.3 2024-07-07T18:33:27,087 -------------------- 2024-07-07T18:33:27,088 Released on September 14, 2023. 2024-07-07T18:33:27,089 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-07-07T18:33:27,090 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-07-07T18:33:27,091 we were just running it to convieniently spit out the UUID for 2024-07-07T18:33:27,091 the user to put in their ``/etc/fstab``. Now we instruct the 2024-07-07T18:33:27,092 user to run ``blkid`` as root and avoid the sandbox violation. 2024-07-07T18:33:27,093 funtoo-ramdisk 1.1.2 2024-07-07T18:33:27,094 -------------------- 2024-07-07T18:33:27,095 Released on September 4, 2023. 2024-07-07T18:33:27,096 * Fix exit code (zero on success.) 2024-07-07T18:33:27,098 funtoo-ramdisk 1.1.1 2024-07-07T18:33:27,098 -------------------- 2024-07-07T18:33:27,099 Released on September 4, 2023. 2024-07-07T18:33:27,101 Fix three bugs: 2024-07-07T18:33:27,102 * Allow plugins to be loaded when installed in ``site-packages``. 2024-07-07T18:33:27,103 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-07-07T18:33:27,104 handle this situation gracefully. This situation may exist during 2024-07-07T18:33:27,105 metro builds on incomplete systems. (2 bugs fixed). 2024-07-07T18:33:27,107 funtoo-ramdisk 1.1.0 2024-07-07T18:33:27,107 -------------------- 2024-07-07T18:33:27,109 Released on September 3, 2023. 2024-07-07T18:33:27,110 * Add plugin system for ramdisk: 2024-07-07T18:33:27,112 To use, pass ``--enable=,``. The ``core`` plugin is 2024-07-07T18:33:27,112 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-07-07T18:33:27,113 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-07-07T18:33:27,114 just ensure necessary binaries are copied over (no extra setup commands 2024-07-07T18:33:27,114 are run by the initramfs.) 2024-07-07T18:33:27,115 This is a starting point for enabling support for advanced 2024-07-07T18:33:27,115 features on the initramfs. 2024-07-07T18:33:27,116 * New "module configurations". The default module configuration is "full", 2024-07-07T18:33:27,116 which means "make a ramdisk with lots of modules to support a lot of 2024-07-07T18:33:27,116 hardware." Different module configurations can be added in the future. 2024-07-07T18:33:27,117 Module configurations can be specified via ``--kmod_config=``. 2024-07-07T18:33:27,118 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-07-07T18:33:27,118 dynamic module configuration via the command-line, rather than via 2024-07-07T18:33:27,118 static config files. 2024-07-07T18:33:27,119 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-07-07T18:33:27,119 modules (and their dependencies) will be included. This can dramatically 2024-07-07T18:33:27,120 reduce the size of your ramdisk. Note that this doesn't include the 2024-07-07T18:33:27,120 necessary modules to allow USB keyboards to work in the rescue shell, 2024-07-07T18:33:27,121 so it's only for known-good configurations. Enabling this feature also 2024-07-07T18:33:27,121 disables any static module configuration (see above.) 2024-07-07T18:33:27,122 * Change the binary plugin API so lists of binaries can be dynamically 2024-07-07T18:33:27,123 created and programmatic decisions can be made. Previously, we used a 2024-07-07T18:33:27,123 static list. This allows us to use ``lvm.static`` if available, but 2024-07-07T18:33:27,124 fall back to dynamic ``lvm``, for example. 2024-07-07T18:33:27,125 * To support ``kpop`` functionality, the ability to add a module by its 2024-07-07T18:33:27,125 basic name, not just via its full path or glob, was added to 2024-07-07T18:33:27,126 ``modules.copy``. 2024-07-07T18:33:27,127 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-07-07T18:33:27,128 as dynamically-generated line data rather than just as static files 2024-07-07T18:33:27,129 that must exist on the filesystem. (Again, used by ``kpop``). 2024-07-07T18:33:27,130 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-07-07T18:33:27,131 module groups to try to load, and instead use the ``modules.autoload`` 2024-07-07T18:33:27,131 groups to determine these. 2024-07-07T18:33:27,132 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-07-07T18:33:27,133 The former makes use of ``ramdisk --kernel `` easier because it 2024-07-07T18:33:27,133 prints the available kernel names which can be copy/pasted for the 2024-07-07T18:33:27,134 ``--kernel`` option. 2024-07-07T18:33:27,135 * Implemented our own argument parsing as ``argparse`` was not worth 2024-07-07T18:33:27,135 using. 2024-07-07T18:33:27,136 * Lots of code organized into their own ``.py`` files. 2024-07-07T18:33:27,137 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-07-07T18:33:27,138 set up at all if doing a metro build. 2024-07-07T18:33:27,139 * Disable colors if we don't have an interactive shell. 2024-07-07T18:33:27,140 funtoo-ramdisk 1.0.7 2024-07-07T18:33:27,141 -------------------- 2024-07-07T18:33:27,142 Released on August 22, 2023. 2024-07-07T18:33:27,143 Changes: 2024-07-07T18:33:27,144 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-07-07T18:33:27,145 specifies where modules *and* the kernel sources will be. This 2024-07-07T18:33:27,145 allows the tool to work from an ebuild. 2024-07-07T18:33:27,147 * Improve output and add nice colors. Optimize information to be 2024-07-07T18:33:27,147 more useful to users. 2024-07-07T18:33:27,149 funtoo-ramdisk 1.0.6 2024-07-07T18:33:27,149 -------------------- 2024-07-07T18:33:27,150 Released on August 21, 2023. 2024-07-07T18:33:27,150 Two new options: 2024-07-07T18:33:27,151 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-07-07T18:33:27,151 It defaults to ``/``. 2024-07-07T18:33:27,152 * ``--temp_root`` to set the default path to use for creating a 2024-07-07T18:33:27,152 temporary directory. It defaults to ``/var/tmp``. 2024-07-07T18:33:27,153 funtoo-ramdisk 1.0.5 2024-07-07T18:33:27,154 -------------------- 2024-07-07T18:33:27,154 Released on August 21, 2023. 2024-07-07T18:33:27,155 This is a features/maintenance/bug fix release. 2024-07-07T18:33:27,156 In addition to a bunch of minor fixes and clean-ups, which you can 2024-07-07T18:33:27,156 view in the git history, the following significant changes were 2024-07-07T18:33:27,157 made: 2024-07-07T18:33:27,157 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-07-07T18:33:27,158 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-07-07T18:33:27,158 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-07-07T18:33:27,158 over. This fixes an issue where we get invalid symbols when loading modules 2024-07-07T18:33:27,159 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-07-07T18:33:27,160 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-07-07T18:33:27,160 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-07-07T18:33:27,161 boots, since it doesn't have a "root" option, making it hard to call from our 2024-07-07T18:33:27,161 ramdisk script. 2024-07-07T18:33:27,163 * Remove unused control character definitions in ``initrd.defaults``. 2024-07-07T18:33:27,164 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-07-07T18:33:27,164 have been detected, resulting in lack of input. We now wait 5 seconds 2024-07-07T18:33:27,165 before starting a rescue shell, to give the kernel time to enumerate 2024-07-07T18:33:27,165 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-07-07T18:33:27,166 the problem of ``ash`` starting and not having any way to type, because 2024-07-07T18:33:27,166 it didn't connect to your main keyboard. 2024-07-07T18:33:27,168 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-07-07T18:33:27,168 prevent the root filesystem from being mounted (see FL-11532). 2024-07-07T18:33:27,169 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-07-07T18:33:27,170 this is not a good idea, and can cause problems if you have multiple 2024-07-07T18:33:27,170 disks. Show them how to fix the problem by switching to UUID. 2024-07-07T18:33:27,171 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-07-07T18:33:27,172 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-07-07T18:33:27,172 with a SATA disk. 2024-07-07T18:33:27,173 * To implement above feature, added a feature to allow masking of modules in 2024-07-07T18:33:27,173 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-07-07T18:33:27,174 lot of sanity checking and warnings. If you happen to mask a module in the 2024-07-07T18:33:27,174 wrong section, so it still gets included on the initramfs due to other 2024-07-07T18:33:27,175 section(s), we will warn you. 2024-07-07T18:33:27,176 funtoo-ramdisk 1.0.4 2024-07-07T18:33:27,177 -------------------- 2024-07-07T18:33:27,178 Released on August 18, 2023. 2024-07-07T18:33:27,180 This is a maintenance/bug fix release. 2024-07-07T18:33:27,181 * Fix ability to run from the git repo. This wasn't working. 2024-07-07T18:33:27,182 * Fix issue found by grouche, where if a module is built-in to the 2024-07-07T18:33:27,183 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-07-07T18:33:27,183 an error because it would think it's not copied to the initramfs. 2024-07-07T18:33:27,184 We now read in the ``modules.builtin`` file and use this in the 2024-07-07T18:33:27,184 internal logic -- if a module is built-in to the kernel, we can 2024-07-07T18:33:27,184 not worry if it is our ``modules.autoload`` list. We still have it. 2024-07-07T18:33:27,185 We will also not worry about trying to load it at boot. 2024-07-07T18:33:27,186 * Add a debug output whenever a module is referenced that is actually 2024-07-07T18:33:27,186 a built-in. This helps to audit the behavior of the above 2024-07-07T18:33:27,187 functionality and could be useful to users of the tool as well. 2024-07-07T18:33:27,188 * Announce we are in debug mode with ``log.info()`` instead of a 2024-07-07T18:33:27,188 warning. Looks a bit nicer. 2024-07-07T18:33:27,329 running egg_info 2024-07-07T18:33:27,330 creating /tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info 2024-07-07T18:33:27,355 writing /tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info/PKG-INFO 2024-07-07T18:33:27,365 writing dependency_links to /tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info/dependency_links.txt 2024-07-07T18:33:27,366 writing requirements to /tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info/requires.txt 2024-07-07T18:33:27,367 writing top-level names to /tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info/top_level.txt 2024-07-07T18:33:27,369 writing manifest file '/tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-07-07T18:33:27,481 reading manifest file '/tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-07-07T18:33:27,482 reading manifest template 'MANIFEST.in' 2024-07-07T18:33:27,491 warning: no files found matching 'COPYRIGHT.rst' 2024-07-07T18:33:27,493 writing manifest file '/tmp/pip-pip-egg-info-pt0bm2jv/funtoo_ramdisk.egg-info/SOURCES.txt' 2024-07-07T18:33:27,602 Preparing metadata (setup.py): finished with status 'done' 2024-07-07T18:33:27,607 Source in /tmp/pip-wheel-64gq1y03/funtoo-ramdisk_db3b95d5d12d4b18854b67feb28dcd12 has version 1.1.16, which satisfies requirement funtoo-ramdisk==1.1.16 from https://files.pythonhosted.org/packages/15/ac/2d51a609c3a9789be66cf6471589cfccceb005c1a06af319a36825f567fb/funtoo_ramdisk-1.1.16.tar.gz 2024-07-07T18:33:27,608 Removed funtoo-ramdisk==1.1.16 from https://files.pythonhosted.org/packages/15/ac/2d51a609c3a9789be66cf6471589cfccceb005c1a06af319a36825f567fb/funtoo_ramdisk-1.1.16.tar.gz from build tracker '/tmp/pip-build-tracker-dfqg7vcf' 2024-07-07T18:33:27,616 Created temporary directory: /tmp/pip-unpack-bgsa3_s3 2024-07-07T18:33:27,617 Created temporary directory: /tmp/pip-unpack-wsvhigr2 2024-07-07T18:33:27,623 Building wheels for collected packages: funtoo-ramdisk 2024-07-07T18:33:27,627 Created temporary directory: /tmp/pip-wheel-mcpfl58p 2024-07-07T18:33:27,628 Building wheel for funtoo-ramdisk (setup.py): started 2024-07-07T18:33:27,629 Destination directory: /tmp/pip-wheel-mcpfl58p 2024-07-07T18:33:27,630 Running command python setup.py bdist_wheel 2024-07-07T18:33:28,079 ========= 2024-07-07T18:33:28,079 ramdisk 2024-07-07T18:33:28,080 ========= 2024-07-07T18:33:28,081 -------------------------------------------------- 2024-07-07T18:33:28,082 create a bootable initial ramdisk 2024-07-07T18:33:28,082 -------------------------------------------------- 2024-07-07T18:33:28,084 :Author: Daniel Robbins 2024-07-07T18:33:28,084 :Copyright: Copyright 2023-2024 Daniel Robbins, Funtoo Solutions, Inc. 2024-07-07T18:33:28,085 Licensed under the Apache License, Version 2.0 (the "License"); 2024-07-07T18:33:28,086 you may not use this file except in compliance with the License. 2024-07-07T18:33:28,086 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. 2024-07-07T18:33:28,087 :Version: 1.1.16 2024-07-07T18:33:28,088 :Manual section: 8 2024-07-07T18:33:28,088 :Manual group: Funtoo Linux 2024-07-07T18:33:28,089 SYNOPSIS 2024-07-07T18:33:28,089 ======== 2024-07-07T18:33:28,090 ``ramdisk`` [build] [*OPTION...*] ``initramfs_outfile`` 2024-07-07T18:33:28,091 ``ramdisk`` list kernels 2024-07-07T18:33:28,092 ``ramdisk`` list plugins 2024-07-07T18:33:28,093 DESCRIPTION 2024-07-07T18:33:28,093 =========== 2024-07-07T18:33:28,094 The Funtoo ramdisk tool, called ``ramdisk`` is a stand-alone tool to create an 2024-07-07T18:33:28,095 initial RAM disk filesystem (initramfs) for booting your Linux system. 2024-07-07T18:33:28,096 The internal initramfs logic is based on the logic found in Gentoo Linux's 2024-07-07T18:33:28,096 genkernel tool, but has been rewritten to be simpler and more efficient. 2024-07-07T18:33:28,097 You can use this tool to create an initramfs to boot to a Funtoo Linux root 2024-07-07T18:33:28,097 ext4 or XFS filesystem, which is what we support in our official installation 2024-07-07T18:33:28,098 documentation at https://www.funtoo.org/Install. 2024-07-07T18:33:28,099 CAPABILITIES 2024-07-07T18:33:28,099 ============ 2024-07-07T18:33:28,100 * genkernel-style initramfs without the cruft. In comparison to genkernel's 2024-07-07T18:33:28,101 initramfs, the shell code is about 10x simpler and a lot cleaner and has 2024-07-07T18:33:28,101 been modernized. About 100 lines of shell script, with another 215 lines 2024-07-07T18:33:28,102 of functions in a support file. 2024-07-07T18:33:28,103 * Copies over the modules you specify -- and automatically figures out any 2024-07-07T18:33:28,103 kernel module dependencies, so any depended-upon modules are also copied. 2024-07-07T18:33:28,104 This eliminates the need to track these dependencies manually. 2024-07-07T18:33:28,105 * Rootless operation. You do not need enhanced privileges to create the 2024-07-07T18:33:28,106 initramfs. 2024-07-07T18:33:28,107 * You can read the ``linuxrc`` script and actually understand what it does. 2024-07-07T18:33:28,108 It is written to be easy to understand and adapt. So it's not just short, 2024-07-07T18:33:28,108 but easy to grasp. 2024-07-07T18:33:28,110 * Enhanced module loading engine on the initramfs which is significantly 2024-07-07T18:33:28,110 faster than genkernel. This effectively eliminates the "watching the 2024-07-07T18:33:28,111 stream of useless modules being loaded" issue with genkernel. Modern 2024-07-07T18:33:28,111 systems with NVMe drives will load just a handful of modules to boot 2024-07-07T18:33:28,112 -- all without requiring any special action from the user. 2024-07-07T18:33:28,113 * "kpop" functionality allows for building ramdisks with just the modules 2024-07-07T18:33:28,114 you need. For example, ``ramdisk --kpop=nvme,ext4`` will create a 2024-07-07T18:33:28,114 ramdisk that can boot on NVMe ext4 root filesystems, and only include 2024-07-07T18:33:28,115 these necessary modules, leaving all other modules to be loaded by 2024-07-07T18:33:28,116 your Funtoo Linux system. 2024-07-07T18:33:28,117 * Effective Python-based command to actually build the ramdisk, which is 2024-07-07T18:33:28,117 called: ``ramdisk``. This gives us an extensible platform for the future. 2024-07-07T18:33:28,119 * Enhanced ini-style system for selecting modules to include on your initramfs. 2024-07-07T18:33:28,120 * Enhanced ini-style system for selecting module groups to autoload on the 2024-07-07T18:33:28,120 initramfs. 2024-07-07T18:33:28,121 * Support for xz and zstd compression. 2024-07-07T18:33:28,123 ACTIONS 2024-07-07T18:33:28,123 ======= 2024-07-07T18:33:28,125 The default action is ``build``, and can be optionally specified, which will 2024-07-07T18:33:28,125 instruct ``ramdisk`` to build an initramfs. Available actions: 2024-07-07T18:33:28,127 build 2024-07-07T18:33:28,127 ----- 2024-07-07T18:33:28,128 Create an initramfs. See **OPTIONS** below for all options supported. The ``build`` 2024-07-07T18:33:28,128 action requires a destination initramfs path. This will be the literal path and 2024-07-07T18:33:28,128 filename for the output initramfs. Use ``--force`` to overwrite any existing file. 2024-07-07T18:33:28,129 list 2024-07-07T18:33:28,130 ---- 2024-07-07T18:33:28,130 List various things -- currently supported targets are ``kernels`` and ``plugins``. 2024-07-07T18:33:28,131 ``kernels`` will show you a list of available installed kernels on your system for 2024-07-07T18:33:28,131 which you can build a ramdisk, and ``plugins`` will show the available boot-time 2024-07-07T18:33:28,132 plugins that can be enabled to add more functionality to your ramdisk. 2024-07-07T18:33:28,133 OPTIONS 2024-07-07T18:33:28,133 ======= 2024-07-07T18:33:28,134 --debug Enable debug output. 2024-07-07T18:33:28,134 --backtrace Display full python backtrace/traceback instead of just a 2024-07-07T18:33:28,135 short error summary. 2024-07-07T18:33:28,135 --force Overwrite target initramfs if it exists. The command will refuse to do 2024-07-07T18:33:28,136 so by default. 2024-07-07T18:33:28,136 --keep Keep the temporary directory after execution for investigation/debugging. 2024-07-07T18:33:28,137 --version Show this program's version number and exit. 2024-07-07T18:33:28,137 --help Show this help message and exit. 2024-07-07T18:33:28,138 --fs_foot= This defaults to ``/``, and specifies the filesystem root to look at 2024-07-07T18:33:28,138 for finding both kernel sources (in ``/usr/src``) and kernel modules 2024-07-07T18:33:28,139 (in ``/lib/modules``). This option also applies to ``ramdisk list 2024-07-07T18:33:28,140 kernels``. 2024-07-07T18:33:28,140 --kernel= Specify what kernel to build a ramdisk for. Use 2024-07-07T18:33:28,141 ``ramdisk list kernels`` to display available options. The 2024-07-07T18:33:28,141 default setting is to use the current value of the 2024-07-07T18:33:28,142 ``/usr/src/linux`` symlink at the filesystem root to determine 2024-07-07T18:33:28,143 which kernel to build a ramdisk for. 2024-07-07T18:33:28,143 --compression= Compression method to use. Default is ``xz``. Also supported: ``zstd``. 2024-07-07T18:33:28,144 --temp_root= Where to create temporary files. Defaults to ``/var/tmp``. 2024-07-07T18:33:28,145 --plugins= A comma-delimited list of plugins to enable. The ``core`` plugin is 2024-07-07T18:33:28,145 always enabled. Type ``ramdisk list plugins`` to see a list of available 2024-07-07T18:33:28,146 plugins. 2024-07-07T18:33:28,146 --kmod_config= ``ramdisk`` supports different sets of kernel module configurations, which 2024-07-07T18:33:28,147 define what kernel modules get copied to the initramfs, and which ones 2024-07-07T18:33:28,147 get auto-loaded by the initramfs at boot. Default value: ``full``. This 2024-07-07T18:33:28,148 is currently the only option unless overridden by ``--kpop`` (see below.) 2024-07-07T18:33:28,148 --kpop= A comma-delimited list of kernel module names that you are sure, if loaded, 2024-07-07T18:33:28,149 will allow your root block device and filesystem to be mounted. For example, 2024-07-07T18:33:28,149 ``--kpop=nvme,ext4`` will include just the modules required for booting 2024-07-07T18:33:28,150 NVMe disks and mounting your root ext4 filesystem. When this option is used, 2024-07-07T18:33:28,151 a special minimal kernel module config is used instead of what is specified 2024-07-07T18:33:28,151 via ``--kmod_config`` (see above). 2024-07-07T18:33:28,152 USAGE 2024-07-07T18:33:28,153 ===== 2024-07-07T18:33:28,154 In its simplest form, the command can be used as follows, as a regular user:: 2024-07-07T18:33:28,155 $ ramdisk /var/tmp/my-new-initramfs 2024-07-07T18:33:28,155 $ sudo cp /var/tmp/my-new-initramfs /boot 2024-07-07T18:33:28,156 By default, ``ramdisk`` will use your ``/usr/src/linux`` symlink to determine which 2024-07-07T18:33:28,156 kernel to use to build a ramdisk for. It will parse ``/usr/src/linux/Makefile``, 2024-07-07T18:33:28,157 extract kernel version information, and then find the appropriate directory in 2024-07-07T18:33:28,157 ``/lib/modules/`` for copying modules. You can type: 2024-07-07T18:33:28,158 ``ramdisk list kernels`` and ``ramdisk --kernel `` to build a ramdisk 2024-07-07T18:33:28,158 for a non-default kernel. 2024-07-07T18:33:28,159 Since this is brand-new software, it is highly recommended that you **DO NOT OVERWRITE 2024-07-07T18:33:28,160 YOUR EXISTING, WORKING INITRAMFS THAT YOU CURRENTLY USE TO BOOT YOUR SYSTEM.** 2024-07-07T18:33:28,161 Instead -- create a **NEW BOOT ENTRY** to test your initramfs. In GRUB, you can also 2024-07-07T18:33:28,161 press 'e' to edit an entry and type in the name of the new initramfs to give it a try. 2024-07-07T18:33:28,162 PLUGINS 2024-07-07T18:33:28,163 ======= 2024-07-07T18:33:28,164 ``ramdisk`` ships with a collection of different plugins that add various boot features 2024-07-07T18:33:28,164 to a Funtoo Linux system. Included plugins: 2024-07-07T18:33:28,166 ``btrfs`` 2024-07-07T18:33:28,166 Adds support for booting off a root volume formatted with btrfs. 2024-07-07T18:33:28,167 ``core`` 2024-07-07T18:33:28,167 Adds core components required by every ``ramdisk`` generated initramfs. 2024-07-07T18:33:28,168 ``luks`` 2024-07-07T18:33:28,169 Adds support for booting off a LUKS encrypted root volume. 2024-07-07T18:33:28,169 ``lvm`` 2024-07-07T18:33:28,170 Adds support for booting off a LVM root volume. 2024-07-07T18:33:28,171 INITRAMFS BOOT OPTIONS 2024-07-07T18:33:28,171 ====================== 2024-07-07T18:33:28,173 The following options are recognized by the initramfs and should be separated by whitespace on the 2024-07-07T18:33:28,173 kernel boot line. In Funtoo Linux, you would add them to ``/etc/boot.conf`` -- see boot.conf(5). 2024-07-07T18:33:28,175 ``real_root=`` 2024-07-07T18:33:28,175 This is used to specify the root device that we want to mount and boot. 2024-07-07T18:33:28,176 ``root=`` 2024-07-07T18:33:28,176 This is not used right now but will be used for live media booting. 2024-07-07T18:33:28,177 ``real_init=`` 2024-07-07T18:33:28,177 Defaults to ``/sbin/init`` -- what to run as PID 1 when booting your system. 2024-07-07T18:33:28,178 ``init_opts=`` 2024-07-07T18:33:28,179 Defaults to empty -- what command-line options to pass to PID 1. 2024-07-07T18:33:28,179 ``crypt_root=`` 2024-07-07T18:33:28,180 This is used to specify the root device that is LUKS encrypted by cryptsetup 2024-07-07T18:33:28,180 and we want to boot. 2024-07-07T18:33:28,181 ``shell`` 2024-07-07T18:33:28,182 Start a debug shell immediately before booting your system. This will allow 2024-07-07T18:33:28,182 you to inspect the state of the initramfs. Exiting the shell will resume the 2024-07-07T18:33:28,183 normal boot process. 2024-07-07T18:33:28,183 ``debug`` 2024-07-07T18:33:28,184 Enable debug mode. More verbose output and ``dmesg`` after boot will display 2024-07-07T18:33:28,184 additional debug information for later review. 2024-07-07T18:33:28,185 ``quick`` 2024-07-07T18:33:28,186 On by default, this tells the initramfs to opportunistically see if the root 2024-07-07T18:33:28,186 block device is available during modules scanning to avoid loading all modules. 2024-07-07T18:33:28,187 ``slow`` 2024-07-07T18:33:28,187 This disables the "quick" option and exhaustively loads all modules before 2024-07-07T18:33:28,188 looking for a root block device. 2024-07-07T18:33:28,188 ``ramdisk.activate=`` 2024-07-07T18:33:28,189 A comma-delimited list of plugins to enable at boot-time. For example, set this 2024-07-07T18:33:28,189 to "lvm" to enable LVM boot. Or set this to "luks,lvm" to enable encrypted boot 2024-07-07T18:33:28,190 and LVM volume group scanning. 2024-07-07T18:33:28,190 ``ramdisk.scan_mode=`` 2024-07-07T18:33:28,191 Currently defaulting to "legacy" which is the only option, and means "do the 2024-07-07T18:33:28,191 classic ``genkernel`` thing and manually load modules from our modules list.``. 2024-07-07T18:33:28,192 I hope to add dynamic loading of modules via (e)udev soon, which will become a 2024-07-07T18:33:28,192 new option. 2024-07-07T18:33:28,193 ``magic=`` 2024-07-07T18:33:28,193 This is a comma-delimited "magic" list of modules that you have determined are 2024-07-07T18:33:28,194 needed to boot your system. When this option is specified, the initramfs will 2024-07-07T18:33:28,194 load *only* these modules and then try to find the root device. This can be 2024-07-07T18:33:28,195 used to test out which modules you need to specify for the ``--kpop`` option 2024-07-07T18:33:28,196 by testing with a regular fully-populated initramfs. Once you figure out the 2024-07-07T18:33:28,196 modules you need, you can then reduce the size of the initramfs by using the 2024-07-07T18:33:28,197 ``--kpop`` options which will only oopy the those specified modules (and 2024-07-07T18:33:28,198 their dependencies) to the initramfs. 2024-07-07T18:33:28,198 ``real_rootflags=`` 2024-07-07T18:33:28,199 Specify mount flags to pass to the ``mount`` command for your root filesystem 2024-07-07T18:33:28,199 mount. A ``ro`` will always be at the beginning of this setting. Defaults to 2024-07-07T18:33:28,200 blank. 2024-07-07T18:33:28,201 ``rootfstype=`` 2024-07-07T18:33:28,201 Specify the filesystem type for your root filesystem. This is currently a 2024-07-07T18:33:28,202 required option and is set by ``ego boot``. 2024-07-07T18:33:28,204 ChangeLog 2024-07-07T18:33:28,204 ========= 2024-07-07T18:33:28,205 funtoo-ramdisk 1.1.16 2024-07-07T18:33:28,206 --------------------- 2024-07-07T18:33:28,207 Released on July 7, 2024. 2024-07-07T18:33:28,208 This is a feature release. 2024-07-07T18:33:28,209 * Add btrfs boot support. 2024-07-07T18:33:28,211 * Added v1 cryptsetup luks plugin, which is currently being 2024-07-07T18:33:28,211 evaluated. 2024-07-07T18:33:28,212 * Add generic settle_root function. 2024-07-07T18:33:28,214 funtoo-ramdisk 1.1.15 2024-07-07T18:33:28,214 --------------------- 2024-07-07T18:33:28,216 Released on April 28, 2024. 2024-07-07T18:33:28,217 This is a feature and bug fix release. ``1.1.14`` contains the same 2024-07-07T18:33:28,218 code but is missing this ChangeLog update and more detail to the 2024-07-07T18:33:28,218 ``lsblk`` output for rescue shell. 2024-07-07T18:33:28,220 * Add man page options on the kernel boot options for the initramfs. 2024-07-07T18:33:28,220 * Add ``lsblk`` to the initramfs and use it to generate nice output 2024-07-07T18:33:28,221 when falling to the rescue shell to aid troubleshooting. 2024-07-07T18:33:28,222 * Only print errors if we have problems loading kpop modules. 2024-07-07T18:33:28,222 Otherwise ignore errors. Most modules don't throw errors and fail 2024-07-07T18:33:28,223 to load when the underlying hardware is not found, but there are 2024-07-07T18:33:28,223 exceptions to this that was previously cluttering output. 2024-07-07T18:33:28,224 * FL-12290: Include "vmscsi" modules definition to enable SCSI boot 2024-07-07T18:33:28,225 support for VirtualBox and likely other VMs, and make this fairly 2024-07-07T18:33:28,225 high priority in the scan order. 2024-07-07T18:33:28,227 funtoo-ramdisk 1.1.13 2024-07-07T18:33:28,227 --------------------- 2024-07-07T18:33:28,228 Released on April 23, 2024. 2024-07-07T18:33:28,229 This is a bug fix release. 2024-07-07T18:33:28,230 * Integrate siris' PR which gets the lvm plugin working under Funtoo. 2024-07-07T18:33:28,230 This should allow for official support of LVM root filesystems. 2024-07-07T18:33:28,232 funtoo-ramdisk 1.1.12 2024-07-07T18:33:28,232 --------------------- 2024-07-07T18:33:28,233 Released on April 19, 2024. 2024-07-07T18:33:28,234 This is a bug fix release. 2024-07-07T18:33:28,235 * Fix man page generation (docutils recently renamed ``rst2man.py`` to 2024-07-07T18:33:28,235 ``rst2man``) 2024-07-07T18:33:28,236 funtoo-ramdisk 1.1.11 2024-07-07T18:33:28,237 --------------------- 2024-07-07T18:33:28,238 Released on April 17, 2024. 2024-07-07T18:33:28,239 This is a feature release. 2024-07-07T18:33:28,241 * Linux 6.6+ now builds and installs kernel modules with the ``.ko.xz`` 2024-07-07T18:33:28,241 suffix. This requires several code updates to support this new naming 2024-07-07T18:33:28,242 scheme. This is the initial implementation and there may be additional 2024-07-07T18:33:28,242 needed fixes for things like the initramfs after this is tested using 2024-07-07T18:33:28,243 this updated initramfs-build code. 2024-07-07T18:33:28,244 funtoo-ramdisk 1.1.10 2024-07-07T18:33:28,245 --------------------- 2024-07-07T18:33:28,246 Released on April 16, 2024. 2024-07-07T18:33:28,247 This is a minor bug fix release. 2024-07-07T18:33:28,248 * Attempting to fix an issue where the temporary kernel modules directory 2024-07-07T18:33:28,249 is not properly created, resulting in an error. 2024-07-07T18:33:28,251 funtoo-ramdisk 1.1.9 2024-07-07T18:33:28,251 -------------------- 2024-07-07T18:33:28,252 Released on April 16, 2024. 2024-07-07T18:33:28,253 This is a minor feature release. 2024-07-07T18:33:28,254 * Add a ``--keep`` option which will preserve the contents of the 2024-07-07T18:33:28,255 temporary directory so that errors and tracebacks can be investigated. 2024-07-07T18:33:28,256 This can be enabled via ebuilds to allow exploration of any ramdisk- 2024-07-07T18:33:28,256 related errors. 2024-07-07T18:33:28,257 * Improve handling of a permissions error when copying the ramdisk to 2024-07-07T18:33:28,258 a final location (provide error message instead of full traceback.) 2024-07-07T18:33:28,259 funtoo-ramdisk 1.1.8 2024-07-07T18:33:28,260 -------------------- 2024-07-07T18:33:28,261 Released on April 16, 2024. 2024-07-07T18:33:28,262 This is a minor bug release. 2024-07-07T18:33:28,263 * Fix for the previous fix. 2024-07-07T18:33:28,264 funtoo-ramdisk 1.1.7 2024-07-07T18:33:28,265 -------------------- 2024-07-07T18:33:28,266 Released on April 15, 2024. 2024-07-07T18:33:28,268 This is a minor bug release. 2024-07-07T18:33:28,269 * Fix a possible issue where ``__pycache__`` directories can mess 2024-07-07T18:33:28,269 up copying of files to the initramfs. 2024-07-07T18:33:28,271 funtoo-ramdisk 1.1.6 2024-07-07T18:33:28,271 -------------------- 2024-07-07T18:33:28,272 Released on April 14, 2024. 2024-07-07T18:33:28,273 This is a maintenance and minor features release. 2024-07-07T18:33:28,275 * Various minor bug fixes. 2024-07-07T18:33:28,276 * Change ``--enable`` to ``--plugins`` since it's more 2024-07-07T18:33:28,276 self-explanatory. 2024-07-07T18:33:28,277 * Continue to flesh out the plugin system. I added support for 2024-07-07T18:33:28,278 plugins to have an activation script which will get executed 2024-07-07T18:33:28,278 on startup. This is a work in progress and I still need to 2024-07-07T18:33:28,279 add support for listing needed modules for a plugin which 2024-07-07T18:33:28,279 will get loaded automatically. 2024-07-07T18:33:28,280 * Fix a bug in argument parsing where the code was not scanning 2024-07-07T18:33:28,281 for invalid options which could result in odd parsing behavior. 2024-07-07T18:33:28,282 * Start adding support for udev. This is not yet completed but 2024-07-07T18:33:28,283 the plugin system for this has been incorporated into the 2024-07-07T18:33:28,283 linuxrc. 2024-07-07T18:33:28,285 funtoo-ramdisk 1.1.5 2024-07-07T18:33:28,286 -------------------- 2024-07-07T18:33:28,287 Released on September 15, 2023. 2024-07-07T18:33:28,288 This is a packaging fix for the manpage. 2024-07-07T18:33:28,290 funtoo-ramdisk 1.1.4 2024-07-07T18:33:28,290 -------------------- 2024-07-07T18:33:28,291 Released on September 15, 2023. 2024-07-07T18:33:28,293 This release adds a "ramdisk" man page. 2024-07-07T18:33:28,295 funtoo-ramdisk 1.1.3 2024-07-07T18:33:28,295 -------------------- 2024-07-07T18:33:28,297 Released on September 14, 2023. 2024-07-07T18:33:28,298 * FL-11606: ``/sbin/blkid`` can't be run as non-root, and will 2024-07-07T18:33:28,299 trigger a sandbox violation inside an ebuild. So don't do it -- 2024-07-07T18:33:28,300 we were just running it to convieniently spit out the UUID for 2024-07-07T18:33:28,300 the user to put in their ``/etc/fstab``. Now we instruct the 2024-07-07T18:33:28,301 user to run ``blkid`` as root and avoid the sandbox violation. 2024-07-07T18:33:28,303 funtoo-ramdisk 1.1.2 2024-07-07T18:33:28,303 -------------------- 2024-07-07T18:33:28,304 Released on September 4, 2023. 2024-07-07T18:33:28,305 * Fix exit code (zero on success.) 2024-07-07T18:33:28,307 funtoo-ramdisk 1.1.1 2024-07-07T18:33:28,308 -------------------- 2024-07-07T18:33:28,309 Released on September 4, 2023. 2024-07-07T18:33:28,310 Fix three bugs: 2024-07-07T18:33:28,311 * Allow plugins to be loaded when installed in ``site-packages``. 2024-07-07T18:33:28,312 * Don't assume ``/usr/src/linux`` symlink exists in two places and 2024-07-07T18:33:28,313 handle this situation gracefully. This situation may exist during 2024-07-07T18:33:28,313 metro builds on incomplete systems. (2 bugs fixed). 2024-07-07T18:33:28,315 funtoo-ramdisk 1.1.0 2024-07-07T18:33:28,315 -------------------- 2024-07-07T18:33:28,316 Released on September 3, 2023. 2024-07-07T18:33:28,317 * Add plugin system for ramdisk: 2024-07-07T18:33:28,318 To use, pass ``--enable=,``. The ``core`` plugin is 2024-07-07T18:33:28,319 always enabled and copies ``/sbin/blkid``. There are currently ``btrfs`` 2024-07-07T18:33:28,319 and ``lvm`` plugins as well -- these are not yet fully-implemented and 2024-07-07T18:33:28,320 just ensure necessary binaries are copied over (no extra setup commands 2024-07-07T18:33:28,320 are run by the initramfs.) 2024-07-07T18:33:28,321 This is a starting point for enabling support for advanced 2024-07-07T18:33:28,322 features on the initramfs. 2024-07-07T18:33:28,323 * New "module configurations". The default module configuration is "full", 2024-07-07T18:33:28,324 which means "make a ramdisk with lots of modules to support a lot of 2024-07-07T18:33:28,324 hardware." Different module configurations can be added in the future. 2024-07-07T18:33:28,325 Module configurations can be specified via ``--kmod_config=``. 2024-07-07T18:33:28,326 * ``--kpop=`` feature to make minimal module ramdisks by specifying a 2024-07-07T18:33:28,326 dynamic module configuration via the command-line, rather than via 2024-07-07T18:33:28,327 static config files. 2024-07-07T18:33:28,327 If you specify ``--kpop=nvme,ext4`` then a ramdisk with just those 2024-07-07T18:33:28,328 modules (and their dependencies) will be included. This can dramatically 2024-07-07T18:33:28,328 reduce the size of your ramdisk. Note that this doesn't include the 2024-07-07T18:33:28,328 necessary modules to allow USB keyboards to work in the rescue shell, 2024-07-07T18:33:28,329 so it's only for known-good configurations. Enabling this feature also 2024-07-07T18:33:28,329 disables any static module configuration (see above.) 2024-07-07T18:33:28,330 * Change the binary plugin API so lists of binaries can be dynamically 2024-07-07T18:33:28,330 created and programmatic decisions can be made. Previously, we used a 2024-07-07T18:33:28,331 static list. This allows us to use ``lvm.static`` if available, but 2024-07-07T18:33:28,331 fall back to dynamic ``lvm``, for example. 2024-07-07T18:33:28,332 * To support ``kpop`` functionality, the ability to add a module by its 2024-07-07T18:33:28,332 basic name, not just via its full path or glob, was added to 2024-07-07T18:33:28,333 ``modules.copy``. 2024-07-07T18:33:28,334 * Modules code can now accept ``modules.copy`` and ``modules.autoload`` 2024-07-07T18:33:28,335 as dynamically-generated line data rather than just as static files 2024-07-07T18:33:28,335 that must exist on the filesystem. (Again, used by ``kpop``). 2024-07-07T18:33:28,337 * ``linuxrc`` has been improved/fixed to not have a hard-coded list of 2024-07-07T18:33:28,337 module groups to try to load, and instead use the ``modules.autoload`` 2024-07-07T18:33:28,338 groups to determine these. 2024-07-07T18:33:28,339 * ``ramdisk list kernels`` and ``ramdisk list plugins`` actions added. 2024-07-07T18:33:28,340 The former makes use of ``ramdisk --kernel `` easier because it 2024-07-07T18:33:28,341 prints the available kernel names which can be copy/pasted for the 2024-07-07T18:33:28,341 ``--kernel`` option. 2024-07-07T18:33:28,343 * Implemented our own argument parsing as ``argparse`` was not worth 2024-07-07T18:33:28,343 using. 2024-07-07T18:33:28,345 * Lots of code organized into their own ``.py`` files. 2024-07-07T18:33:28,346 * Make ``/etc/fstab`` sanity check a warning as this file may not be 2024-07-07T18:33:28,347 set up at all if doing a metro build. 2024-07-07T18:33:28,348 * Disable colors if we don't have an interactive shell. 2024-07-07T18:33:28,350 funtoo-ramdisk 1.0.7 2024-07-07T18:33:28,350 -------------------- 2024-07-07T18:33:28,351 Released on August 22, 2023. 2024-07-07T18:33:28,352 Changes: 2024-07-07T18:33:28,353 * Get rid of ``--modules_root``. Instead, added ``--fs_root`` which 2024-07-07T18:33:28,354 specifies where modules *and* the kernel sources will be. This 2024-07-07T18:33:28,354 allows the tool to work from an ebuild. 2024-07-07T18:33:28,355 * Improve output and add nice colors. Optimize information to be 2024-07-07T18:33:28,356 more useful to users. 2024-07-07T18:33:28,357 funtoo-ramdisk 1.0.6 2024-07-07T18:33:28,358 -------------------- 2024-07-07T18:33:28,359 Released on August 21, 2023. 2024-07-07T18:33:28,360 Two new options: 2024-07-07T18:33:28,362 * ``--modules_root`` to set the root filesystem to scan for modules. 2024-07-07T18:33:28,363 It defaults to ``/``. 2024-07-07T18:33:28,364 * ``--temp_root`` to set the default path to use for creating a 2024-07-07T18:33:28,365 temporary directory. It defaults to ``/var/tmp``. 2024-07-07T18:33:28,366 funtoo-ramdisk 1.0.5 2024-07-07T18:33:28,367 -------------------- 2024-07-07T18:33:28,368 Released on August 21, 2023. 2024-07-07T18:33:28,369 This is a features/maintenance/bug fix release. 2024-07-07T18:33:28,369 In addition to a bunch of minor fixes and clean-ups, which you can 2024-07-07T18:33:28,370 view in the git history, the following significant changes were 2024-07-07T18:33:28,370 made: 2024-07-07T18:33:28,371 * Use kmod ``/sbin/modprobe`` instead of busybox's modprobe. Busybox's modprobe 2024-07-07T18:33:28,371 may be fine, but for it to work, we must use busybox's ``depmod`` -- and we're 2024-07-07T18:33:28,371 not. We're using ``kmod``'s. So for now, let's just copy the right modprobe 2024-07-07T18:33:28,372 over. This fixes an issue where we get invalid symbols when loading modules 2024-07-07T18:33:28,372 using busybox ``modprobe``. ``modprobe`` is now resolving deps properly! :) 2024-07-07T18:33:28,373 At some point, we could make a "toggle" to select kmod/busybox mode. The 2024-07-07T18:33:28,373 best time to run ``depmod`` for busybox is probably once the ramdisk first 2024-07-07T18:33:28,374 boots, since it doesn't have a "root" option, making it hard to call from our 2024-07-07T18:33:28,374 ramdisk script. 2024-07-07T18:33:28,375 * Remove unused control character definitions in ``initrd.defaults``. 2024-07-07T18:33:28,376 * Mitigate an issue where ``ash`` shell could start before all USB keyboards 2024-07-07T18:33:28,376 have been detected, resulting in lack of input. We now wait 5 seconds 2024-07-07T18:33:28,376 before starting a rescue shell, to give the kernel time to enumerate 2024-07-07T18:33:28,377 devices on the USB2/3 bus. This isn't a full fix, but should resolve 2024-07-07T18:33:28,377 the problem of ``ash`` starting and not having any way to type, because 2024-07-07T18:33:28,378 it didn't connect to your main keyboard. 2024-07-07T18:33:28,379 Try to work around issues related to ATA/SCSI disk enumeration which could 2024-07-07T18:33:28,379 prevent the root filesystem from being mounted (see FL-11532). 2024-07-07T18:33:28,380 * Detect when a user has a ``/dev/sd*`` root block device and warn them that 2024-07-07T18:33:28,381 this is not a good idea, and can cause problems if you have multiple 2024-07-07T18:33:28,382 disks. Show them how to fix the problem by switching to UUID. 2024-07-07T18:33:28,383 * Remove scsi_debug module which is evil and if we force-load it, will create 2024-07-07T18:33:28,384 a new SCSI device 8MB in size and trigger the problem above for anyone 2024-07-07T18:33:28,384 with a SATA disk. 2024-07-07T18:33:28,385 * To implement above feature, added a feature to allow masking of modules in 2024-07-07T18:33:28,385 ``modules.copy`` via "-mod_shortname" in a specific section. Also added a 2024-07-07T18:33:28,386 lot of sanity checking and warnings. If you happen to mask a module in the 2024-07-07T18:33:28,387 wrong section, so it still gets included on the initramfs due to other 2024-07-07T18:33:28,387 section(s), we will warn you. 2024-07-07T18:33:28,388 funtoo-ramdisk 1.0.4 2024-07-07T18:33:28,389 -------------------- 2024-07-07T18:33:28,390 Released on August 18, 2023. 2024-07-07T18:33:28,391 This is a maintenance/bug fix release. 2024-07-07T18:33:28,392 * Fix ability to run from the git repo. This wasn't working. 2024-07-07T18:33:28,393 * Fix issue found by grouche, where if a module is built-in to the 2024-07-07T18:33:28,394 kernel but listed in ``modules.autoload``, ``ramdisk`` would throw 2024-07-07T18:33:28,394 an error because it would think it's not copied to the initramfs. 2024-07-07T18:33:28,395 We now read in the ``modules.builtin`` file and use this in the 2024-07-07T18:33:28,395 internal logic -- if a module is built-in to the kernel, we can 2024-07-07T18:33:28,396 not worry if it is our ``modules.autoload`` list. We still have it. 2024-07-07T18:33:28,396 We will also not worry about trying to load it at boot. 2024-07-07T18:33:28,397 * Add a debug output whenever a module is referenced that is actually 2024-07-07T18:33:28,398 a built-in. This helps to audit the behavior of the above 2024-07-07T18:33:28,399 functionality and could be useful to users of the tool as well. 2024-07-07T18:33:28,399 * Announce we are in debug mode with ``log.info()`` instead of a 2024-07-07T18:33:28,400 warning. Looks a bit nicer. 2024-07-07T18:33:28,552 running bdist_wheel 2024-07-07T18:33:28,685 running build 2024-07-07T18:33:28,686 running build_py 2024-07-07T18:33:28,714 creating build 2024-07-07T18:33:28,714 creating build/lib 2024-07-07T18:33:28,715 creating build/lib/funtoo_ramdisk 2024-07-07T18:33:28,716 copying funtoo_ramdisk/modules.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,719 copying funtoo_ramdisk/version.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,720 copying funtoo_ramdisk/kernel.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,722 copying funtoo_ramdisk/plugin_base.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,724 copying funtoo_ramdisk/config_files.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,725 copying funtoo_ramdisk/args.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,727 copying funtoo_ramdisk/log.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,729 copying funtoo_ramdisk/__init__.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,730 copying funtoo_ramdisk/initramfs.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,732 copying funtoo_ramdisk/const.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,734 copying funtoo_ramdisk/utilities.py -> build/lib/funtoo_ramdisk 2024-07-07T18:33:28,736 creating build/lib/funtoo_ramdisk/support 2024-07-07T18:33:28,737 copying funtoo_ramdisk/support/__init__.py -> build/lib/funtoo_ramdisk/support 2024-07-07T18:33:28,739 creating build/lib/funtoo_ramdisk/plugins 2024-07-07T18:33:28,740 copying funtoo_ramdisk/plugins/btrfs.py -> build/lib/funtoo_ramdisk/plugins 2024-07-07T18:33:28,742 copying funtoo_ramdisk/plugins/luks.py -> build/lib/funtoo_ramdisk/plugins 2024-07-07T18:33:28,744 copying funtoo_ramdisk/plugins/core.py -> build/lib/funtoo_ramdisk/plugins 2024-07-07T18:33:28,745 copying funtoo_ramdisk/plugins/__init__.py -> build/lib/funtoo_ramdisk/plugins 2024-07-07T18:33:28,747 copying funtoo_ramdisk/plugins/lvm.py -> build/lib/funtoo_ramdisk/plugins 2024-07-07T18:33:28,748 creating build/lib/funtoo_ramdisk/support/module_configs 2024-07-07T18:33:28,749 copying funtoo_ramdisk/support/module_configs/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs 2024-07-07T18:33:28,751 creating build/lib/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:28,752 copying funtoo_ramdisk/support/module_configs/full/__init__.py -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:28,754 running egg_info 2024-07-07T18:33:28,779 writing funtoo_ramdisk.egg-info/PKG-INFO 2024-07-07T18:33:28,783 writing dependency_links to funtoo_ramdisk.egg-info/dependency_links.txt 2024-07-07T18:33:28,785 writing requirements to funtoo_ramdisk.egg-info/requires.txt 2024-07-07T18:33:28,786 writing top-level names to funtoo_ramdisk.egg-info/top_level.txt 2024-07-07T18:33:28,818 reading manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-07-07T18:33:28,820 reading manifest template 'MANIFEST.in' 2024-07-07T18:33:28,828 warning: no files found matching 'COPYRIGHT.rst' 2024-07-07T18:33:28,831 writing manifest file 'funtoo_ramdisk.egg-info/SOURCES.txt' 2024-07-07T18:33:28,833 /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-07-07T18:33:28,834 !! 2024-07-07T18:33:28,835 ******************************************************************************** 2024-07-07T18:33:28,836 ############################ 2024-07-07T18:33:28,836 # Package would be ignored # 2024-07-07T18:33:28,837 ############################ 2024-07-07T18:33:28,838 Python recognizes 'funtoo_ramdisk.support.etc' as an importable package[^1], 2024-07-07T18:33:28,838 but it is absent from setuptools' `packages` configuration. 2024-07-07T18:33:28,840 This leads to an ambiguous overall configuration. If you want to distribute this 2024-07-07T18:33:28,840 package, please make sure that 'funtoo_ramdisk.support.etc' is explicitly added 2024-07-07T18:33:28,841 to the `packages` configuration field. 2024-07-07T18:33:28,842 Alternatively, you can also rely on setuptools' discovery methods 2024-07-07T18:33:28,842 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-07-07T18:33:28,843 instead of `find_packages(...)`/`find:`). 2024-07-07T18:33:28,844 You can read more about "package discovery" on setuptools documentation page: 2024-07-07T18:33:28,845 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-07-07T18:33:28,846 If you don't want 'funtoo_ramdisk.support.etc' to be distributed and are 2024-07-07T18:33:28,846 already explicitly excluding 'funtoo_ramdisk.support.etc' via 2024-07-07T18:33:28,847 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-07-07T18:33:28,847 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-07-07T18:33:28,848 combination with a more fine grained `package-data` configuration. 2024-07-07T18:33:28,849 You can read more about "package data files" on setuptools documentation page: 2024-07-07T18:33:28,850 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-07-07T18:33:28,852 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-07-07T18:33:28,852 even if it does not contain any `.py` files. 2024-07-07T18:33:28,853 On the other hand, currently there is no concept of package data 2024-07-07T18:33:28,853 directory, all directories are treated like packages. 2024-07-07T18:33:28,854 ******************************************************************************** 2024-07-07T18:33:28,855 !! 2024-07-07T18:33:28,856 check.warn(importable) 2024-07-07T18:33:28,856 /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-07-07T18:33:28,857 !! 2024-07-07T18:33:28,858 ******************************************************************************** 2024-07-07T18:33:28,859 ############################ 2024-07-07T18:33:28,859 # Package would be ignored # 2024-07-07T18:33:28,859 ############################ 2024-07-07T18:33:28,860 Python recognizes 'funtoo_ramdisk.support.etc.plugins' as an importable package[^1], 2024-07-07T18:33:28,860 but it is absent from setuptools' `packages` configuration. 2024-07-07T18:33:28,862 This leads to an ambiguous overall configuration. If you want to distribute this 2024-07-07T18:33:28,862 package, please make sure that 'funtoo_ramdisk.support.etc.plugins' is explicitly added 2024-07-07T18:33:28,863 to the `packages` configuration field. 2024-07-07T18:33:28,864 Alternatively, you can also rely on setuptools' discovery methods 2024-07-07T18:33:28,864 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-07-07T18:33:28,865 instead of `find_packages(...)`/`find:`). 2024-07-07T18:33:28,866 You can read more about "package discovery" on setuptools documentation page: 2024-07-07T18:33:28,867 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-07-07T18:33:28,868 If you don't want 'funtoo_ramdisk.support.etc.plugins' to be distributed and are 2024-07-07T18:33:28,869 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins' via 2024-07-07T18:33:28,869 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-07-07T18:33:28,870 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-07-07T18:33:28,871 combination with a more fine grained `package-data` configuration. 2024-07-07T18:33:28,872 You can read more about "package data files" on setuptools documentation page: 2024-07-07T18:33:28,873 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-07-07T18:33:28,874 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-07-07T18:33:28,874 even if it does not contain any `.py` files. 2024-07-07T18:33:28,875 On the other hand, currently there is no concept of package data 2024-07-07T18:33:28,875 directory, all directories are treated like packages. 2024-07-07T18:33:28,876 ******************************************************************************** 2024-07-07T18:33:28,876 !! 2024-07-07T18:33:28,877 check.warn(importable) 2024-07-07T18:33:28,877 /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-07-07T18:33:28,878 !! 2024-07-07T18:33:28,879 ******************************************************************************** 2024-07-07T18:33:28,879 ############################ 2024-07-07T18:33:28,880 # Package would be ignored # 2024-07-07T18:33:28,880 ############################ 2024-07-07T18:33:28,881 Python recognizes 'funtoo_ramdisk.support.etc.plugins.scan_mode' as an importable package[^1], 2024-07-07T18:33:28,881 but it is absent from setuptools' `packages` configuration. 2024-07-07T18:33:28,883 This leads to an ambiguous overall configuration. If you want to distribute this 2024-07-07T18:33:28,883 package, please make sure that 'funtoo_ramdisk.support.etc.plugins.scan_mode' is explicitly added 2024-07-07T18:33:28,884 to the `packages` configuration field. 2024-07-07T18:33:28,885 Alternatively, you can also rely on setuptools' discovery methods 2024-07-07T18:33:28,885 (for example by using `find_namespace_packages(...)`/`find_namespace:` 2024-07-07T18:33:28,886 instead of `find_packages(...)`/`find:`). 2024-07-07T18:33:28,887 You can read more about "package discovery" on setuptools documentation page: 2024-07-07T18:33:28,888 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html 2024-07-07T18:33:28,890 If you don't want 'funtoo_ramdisk.support.etc.plugins.scan_mode' to be distributed and are 2024-07-07T18:33:28,890 already explicitly excluding 'funtoo_ramdisk.support.etc.plugins.scan_mode' via 2024-07-07T18:33:28,891 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, 2024-07-07T18:33:28,891 you can try to use `exclude_package_data`, or `include-package-data=False` in 2024-07-07T18:33:28,892 combination with a more fine grained `package-data` configuration. 2024-07-07T18:33:28,893 You can read more about "package data files" on setuptools documentation page: 2024-07-07T18:33:28,894 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html 2024-07-07T18:33:28,896 [^1]: For Python, any directory (with suitable naming) can be imported, 2024-07-07T18:33:28,896 even if it does not contain any `.py` files. 2024-07-07T18:33:28,897 On the other hand, currently there is no concept of package data 2024-07-07T18:33:28,898 directory, all directories are treated like packages. 2024-07-07T18:33:28,898 ******************************************************************************** 2024-07-07T18:33:28,899 !! 2024-07-07T18:33:28,900 check.warn(importable) 2024-07-07T18:33:28,900 copying funtoo_ramdisk/support/initramfs.cpio -> build/lib/funtoo_ramdisk/support 2024-07-07T18:33:28,901 copying funtoo_ramdisk/support/linuxrc -> build/lib/funtoo_ramdisk/support 2024-07-07T18:33:28,902 creating build/lib/funtoo_ramdisk/support/etc 2024-07-07T18:33:28,903 copying funtoo_ramdisk/support/etc/initrd.defaults -> build/lib/funtoo_ramdisk/support/etc 2024-07-07T18:33:28,903 copying funtoo_ramdisk/support/etc/initrd.scripts -> build/lib/funtoo_ramdisk/support/etc 2024-07-07T18:33:28,904 creating build/lib/funtoo_ramdisk/support/etc/plugins 2024-07-07T18:33:28,904 copying funtoo_ramdisk/support/etc/plugins/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins 2024-07-07T18:33:28,904 creating build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-07-07T18:33:28,905 copying funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-07-07T18:33:28,905 copying funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-07-07T18:33:28,906 copying funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh -> build/lib/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-07-07T18:33:28,906 copying funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:28,907 copying funtoo_ramdisk/support/module_configs/full/modules.copy -> build/lib/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:28,907 running build_scripts 2024-07-07T18:33:28,908 creating build/scripts-3.11 2024-07-07T18:33:28,908 copying and adjusting bin/ramdisk -> build/scripts-3.11 2024-07-07T18:33:28,909 changing mode of build/scripts-3.11/ramdisk from 644 to 755 2024-07-07T18:33:28,909 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2024-07-07T18:33:28,910 !! 2024-07-07T18:33:28,911 ******************************************************************************** 2024-07-07T18:33:28,912 Please avoid running ``setup.py`` directly. 2024-07-07T18:33:28,912 Instead, use pypa/build, pypa/installer or other 2024-07-07T18:33:28,913 standards-based tools. 2024-07-07T18:33:28,914 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2024-07-07T18:33:28,915 ******************************************************************************** 2024-07-07T18:33:28,916 !! 2024-07-07T18:33:28,917 self.initialize_options() 2024-07-07T18:33:28,935 installing to build/bdist.linux-armv7l/wheel 2024-07-07T18:33:28,936 running install 2024-07-07T18:33:28,960 running install_lib 2024-07-07T18:33:28,986 creating build/bdist.linux-armv7l 2024-07-07T18:33:28,986 creating build/bdist.linux-armv7l/wheel 2024-07-07T18:33:28,988 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:28,989 copying build/lib/funtoo_ramdisk/modules.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:28,992 copying build/lib/funtoo_ramdisk/version.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:28,994 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-07-07T18:33:28,995 copying build/lib/funtoo_ramdisk/support/linuxrc -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-07-07T18:33:28,997 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-07-07T18:33:28,998 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:28,999 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.autoload -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:29,001 copying build/lib/funtoo_ramdisk/support/module_configs/full/modules.copy -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:29,003 copying build/lib/funtoo_ramdisk/support/module_configs/full/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs/full 2024-07-07T18:33:29,005 copying build/lib/funtoo_ramdisk/support/module_configs/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/module_configs 2024-07-07T18:33:29,006 copying build/lib/funtoo_ramdisk/support/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-07-07T18:33:29,008 copying build/lib/funtoo_ramdisk/support/initramfs.cpio -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support 2024-07-07T18:33:29,010 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-07-07T18:33:29,011 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-07-07T18:33:29,012 copying build/lib/funtoo_ramdisk/support/etc/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins 2024-07-07T18:33:29,014 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc/plugins/scan_mode 2024-07-07T18:33:29,014 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-07-07T18:33:29,016 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-07-07T18:33:29,018 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-07-07T18:33:29,019 copying build/lib/funtoo_ramdisk/support/etc/initrd.scripts -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-07-07T18:33:29,022 copying build/lib/funtoo_ramdisk/support/etc/initrd.defaults -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/support/etc 2024-07-07T18:33:29,023 copying build/lib/funtoo_ramdisk/kernel.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,025 copying build/lib/funtoo_ramdisk/plugin_base.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,027 copying build/lib/funtoo_ramdisk/config_files.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,028 copying build/lib/funtoo_ramdisk/args.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,031 copying build/lib/funtoo_ramdisk/log.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,032 copying build/lib/funtoo_ramdisk/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,033 copying build/lib/funtoo_ramdisk/initramfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,036 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-07-07T18:33:29,037 copying build/lib/funtoo_ramdisk/plugins/btrfs.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-07-07T18:33:29,039 copying build/lib/funtoo_ramdisk/plugins/luks.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-07-07T18:33:29,040 copying build/lib/funtoo_ramdisk/plugins/core.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-07-07T18:33:29,042 copying build/lib/funtoo_ramdisk/plugins/__init__.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-07-07T18:33:29,044 copying build/lib/funtoo_ramdisk/plugins/lvm.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk/plugins 2024-07-07T18:33:29,045 copying build/lib/funtoo_ramdisk/const.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,047 copying build/lib/funtoo_ramdisk/utilities.py -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk 2024-07-07T18:33:29,049 running install_egg_info 2024-07-07T18:33:29,083 Copying funtoo_ramdisk.egg-info to build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.16-py3.11.egg-info 2024-07-07T18:33:29,093 running install_scripts 2024-07-07T18:33:29,094 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.16.data 2024-07-07T18:33:29,095 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.16.data/scripts 2024-07-07T18:33:29,096 copying build/scripts-3.11/ramdisk -> build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.16.data/scripts 2024-07-07T18:33:29,098 changing mode of build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.16.data/scripts/ramdisk to 755 2024-07-07T18:33:29,112 creating build/bdist.linux-armv7l/wheel/funtoo_ramdisk-1.1.16.dist-info/WHEEL 2024-07-07T18:33:29,114 creating '/tmp/pip-wheel-mcpfl58p/funtoo_ramdisk-1.1.16-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2024-07-07T18:33:29,116 adding 'funtoo_ramdisk/__init__.py' 2024-07-07T18:33:29,118 adding 'funtoo_ramdisk/args.py' 2024-07-07T18:33:29,119 adding 'funtoo_ramdisk/config_files.py' 2024-07-07T18:33:29,120 adding 'funtoo_ramdisk/const.py' 2024-07-07T18:33:29,123 adding 'funtoo_ramdisk/initramfs.py' 2024-07-07T18:33:29,124 adding 'funtoo_ramdisk/kernel.py' 2024-07-07T18:33:29,125 adding 'funtoo_ramdisk/log.py' 2024-07-07T18:33:29,128 adding 'funtoo_ramdisk/modules.py' 2024-07-07T18:33:29,129 adding 'funtoo_ramdisk/plugin_base.py' 2024-07-07T18:33:29,130 adding 'funtoo_ramdisk/utilities.py' 2024-07-07T18:33:29,132 adding 'funtoo_ramdisk/version.py' 2024-07-07T18:33:29,133 adding 'funtoo_ramdisk/plugins/__init__.py' 2024-07-07T18:33:29,134 adding 'funtoo_ramdisk/plugins/btrfs.py' 2024-07-07T18:33:29,135 adding 'funtoo_ramdisk/plugins/core.py' 2024-07-07T18:33:29,136 adding 'funtoo_ramdisk/plugins/luks.py' 2024-07-07T18:33:29,138 adding 'funtoo_ramdisk/plugins/lvm.py' 2024-07-07T18:33:29,139 adding 'funtoo_ramdisk/support/__init__.py' 2024-07-07T18:33:29,140 adding 'funtoo_ramdisk/support/initramfs.cpio' 2024-07-07T18:33:29,142 adding 'funtoo_ramdisk/support/linuxrc' 2024-07-07T18:33:29,143 adding 'funtoo_ramdisk/support/etc/initrd.defaults' 2024-07-07T18:33:29,145 adding 'funtoo_ramdisk/support/etc/initrd.scripts' 2024-07-07T18:33:29,147 adding 'funtoo_ramdisk/support/etc/plugins/__init__.py' 2024-07-07T18:33:29,148 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/__init__.py' 2024-07-07T18:33:29,150 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/legacy.sh' 2024-07-07T18:33:29,151 adding 'funtoo_ramdisk/support/etc/plugins/scan_mode/udev.sh' 2024-07-07T18:33:29,152 adding 'funtoo_ramdisk/support/module_configs/__init__.py' 2024-07-07T18:33:29,154 adding 'funtoo_ramdisk/support/module_configs/full/__init__.py' 2024-07-07T18:33:29,155 adding 'funtoo_ramdisk/support/module_configs/full/modules.autoload' 2024-07-07T18:33:29,156 adding 'funtoo_ramdisk/support/module_configs/full/modules.copy' 2024-07-07T18:33:29,159 adding 'funtoo_ramdisk-1.1.16.data/scripts/ramdisk' 2024-07-07T18:33:29,163 adding 'funtoo_ramdisk-1.1.16.dist-info/METADATA' 2024-07-07T18:33:29,164 adding 'funtoo_ramdisk-1.1.16.dist-info/WHEEL' 2024-07-07T18:33:29,165 adding 'funtoo_ramdisk-1.1.16.dist-info/top_level.txt' 2024-07-07T18:33:29,166 adding 'funtoo_ramdisk-1.1.16.dist-info/RECORD' 2024-07-07T18:33:29,168 removing build/bdist.linux-armv7l/wheel 2024-07-07T18:33:29,289 Building wheel for funtoo-ramdisk (setup.py): finished with status 'done' 2024-07-07T18:33:29,292 Created wheel for funtoo-ramdisk: filename=funtoo_ramdisk-1.1.16-py3-none-any.whl size=40299 sha256=3f03802ff852043e0a6349908ded8e9ec7fbe07656c86f15fc4f80e87b7d5b35 2024-07-07T18:33:29,293 Stored in directory: /tmp/pip-ephem-wheel-cache-o43fjr6g/wheels/7b/02/f4/ca6142c95ab90ffe21f958536da35fe8d51e6428badda59a28 2024-07-07T18:33:29,307 Successfully built funtoo-ramdisk 2024-07-07T18:33:29,311 Removed build tracker: '/tmp/pip-build-tracker-dfqg7vcf'