yarn: simplify stubs
This commit is contained in:
@@ -188,48 +188,7 @@
|
|||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
ln -s ${steamos-update-script} $out/bin/steamos-update
|
ln -s ${steamos-update-script} $out/bin/holo-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
|
|
||||||
|
|
||||||
# pkexec: pass through to real pkexec
|
# pkexec: pass through to real pkexec
|
||||||
cat > $out/bin/pkexec << 'STUB'
|
cat > $out/bin/pkexec << 'STUB'
|
||||||
|
|||||||
Reference in New Issue
Block a user