From 26d8b869233854c4abcd8d2cca887d51627b4ca3 Mon Sep 17 00:00:00 2001 From: qoijjj <129108030+qoijjj@users.noreply.github.com> Date: Mon, 8 Apr 2024 18:10:26 -0700 Subject: [PATCH] feat: add device-info command --- build/ublue-os-just/00-default.just | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/ublue-os-just/00-default.just b/build/ublue-os-just/00-default.just index 24d74a9a..3866a5fc 100644 --- a/build/ublue-os-just/00-default.just +++ b/build/ublue-os-just/00-default.just @@ -142,3 +142,9 @@ check-local-overrides: --exclude="cdi" \ --exclude="default.target" \ /usr/etc /etc 2>/dev/null | sed '/Binary\ files\ /d' + +# Gather device info to a pastebin +device-info: + #!/usr/bin/bash + echo "Gathering device info..." + fpaste <(rpm-ostree status) <(fpaste --sysinfo --printonly)