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