From 6de8db73bc7ed2b0e05ca91ef3f0398750dbdc86 Mon Sep 17 00:00:00 2001 From: Mark Featherston Date: Tue, 25 Aug 2026 21:25:11 -0700 Subject: [PATCH] check wget and git host requirements --- README.md | 6 ++++-- common/utils/check.py | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1cbb5e73..2b0378ac 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ The target chroot is the actual root filesystem being produced. Tasks that need * qemu-img * xorriso * cpio +* wget +* git * sha256sum * python3 * python3-colorama @@ -49,12 +51,12 @@ This will run from any x86_64 Linux distribution that supports KVM, QEMU, python * From Ubuntu/Debian based distros: ``` -apt-get update && apt-get install -y qemu-system-x86 qemu-utils xorriso cpio +apt-get update && apt-get install -y qemu-system-x86 qemu-utils xorriso cpio wget git ``` * From Fedora/Redhat based distros: ``` -dnf install qemu-system-x86 qemu-img xorriso cpio +dnf install qemu-system-x86 qemu-img xorriso cpio wget git ``` On either distribution, next install distro-seed, the python requirements and check the dependencies: diff --git a/common/utils/check.py b/common/utils/check.py index 02eb0fea..5f920591 100755 --- a/common/utils/check.py +++ b/common/utils/check.py @@ -117,6 +117,20 @@ def check_bin_in_path(bin): print("cpio is required to repack the Debian installer initrd") ret = 1 +if check_bin_in_path('wget'): + print("Pass: wget available") +else: + print("Fail: wget missing") + print("wget is required by distro-seed download tasks") + ret = 1 + +if check_bin_in_path('git'): + print("Pass: git available") +else: + print("Fail: git missing") + print("git is required by distro-seed source and kernel tasks") + ret = 1 + if check_bin_in_path('sha256sum'): print("Pass: sha256sum available") else: