From 0538907674ecf387fca517d9ed8a02bc13bbf3e6 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 22 Apr 2026 19:44:53 -0400 Subject: [PATCH] yarn: simplify stubs --- hosts/yarn/default.nix | 43 +----------------------------------------- 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/hosts/yarn/default.nix b/hosts/yarn/default.nix index a9e6ff7..632db62 100644 --- a/hosts/yarn/default.nix +++ b/hosts/yarn/default.nix @@ -188,48 +188,7 @@ dontUnpack = true; installPhase = '' mkdir -p $out/bin - ln -s ${steamos-update-script} $out/bin/steamos-update - # ln -s ${steamos-update-script} $out/bin/steamos-mandatory-update - - # jupiter-initial-firmware-update: no-op (not a real steam deck) - cat > $out/bin/jupiter-initial-firmware-update << 'STUB' - #!/bin/sh - exit 0 - STUB - - # jupiter-biosupdate: no-op (not a real steam deck) - cat > $out/bin/jupiter-biosupdate << 'STUB' - #!/bin/sh - exit 0 - STUB - - # steamos-reboot: reboot the system - cat > $out/bin/steamos-reboot << 'STUB' - #!/bin/sh - >&2 echo "[JOVIAN] $0: stub called with: $*" - systemctl reboot - STUB - - # steamos-select-branch: no-op stub - cat > $out/bin/steamos-select-branch << 'STUB' - #!/bin/sh - >&2 echo "[JOVIAN] $0: stub called with: $*" - exit 0 - STUB - - # steamos-factory-reset-config: no-op stub - cat > $out/bin/steamos-factory-reset-config << 'STUB' - #!/bin/sh - >&2 echo "[JOVIAN] $0: stub called with: $*" - exit 0 - STUB - - # steamos-firmware-update: no-op stub - cat > $out/bin/steamos-firmware-update << 'STUB' - #!/bin/sh - >&2 echo "[JOVIAN] $0: stub called with: $*" - exit 0 - STUB + ln -s ${steamos-update-script} $out/bin/holo-update # pkexec: pass through to real pkexec cat > $out/bin/pkexec << 'STUB'