From c262e86b2ce4c1e74e1f1cd5ea9dfa96c1eefb66 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Fri, 24 Oct 2025 13:13:31 -0600 Subject: [PATCH] Pre-install iotop and iw They're useful, and we already have CLI config tools for other kinds of devices. This adds approximately 500 KB to the base image. --- mkosi.conf.d/10-packages-cli.conf | 2 ++ mkosi.extra/usr/lib/command-not-found-handler.py | 1 + 2 files changed, 3 insertions(+) diff --git a/mkosi.conf.d/10-packages-cli.conf b/mkosi.conf.d/10-packages-cli.conf index d3ba40d..9010264 100644 --- a/mkosi.conf.d/10-packages-cli.conf +++ b/mkosi.conf.d/10-packages-cli.conf @@ -14,6 +14,8 @@ Packages=alsa-utils # alsamixer and other useful audio debugging tools fd gping htop + iotop # Fancy disk usage monitoring + iw # Kernel-level wireless configuration jq kdialog # custom dialogs for automation less diff --git a/mkosi.extra/usr/lib/command-not-found-handler.py b/mkosi.extra/usr/lib/command-not-found-handler.py index c853ca8..ca0f186 100755 --- a/mkosi.extra/usr/lib/command-not-found-handler.py +++ b/mkosi.extra/usr/lib/command-not-found-handler.py @@ -17,6 +17,7 @@ known_alternatives = { "ifdown" : "ip link set [interface] down", "ifup" : "ip link set [interface] up", "iptunnel" : "ip tunnel", + "iwconfig" : "iw", "nameif" : "ip link", "netstat" : "ss", "nslookup" : "resolvectl query",