summary refs log tree commit diff
path: root/host/AspireTC705/hooks
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-03 16:27:16 +0100
committerRory& <root@rory.gay>2026-03-03 16:27:16 +0100
commit87adfeda7170248e8063683f43495527a1df7542 (patch)
tree434b37eb9809c618c3b74c65793c633c5d5402ba /host/AspireTC705/hooks
parentnix bincache on laptop (diff)
downloadRory-Open-Architecture-master.tar.xz
aspiretc705 HEAD master
Diffstat (limited to 'host/AspireTC705/hooks')
-rwxr-xr-xhost/AspireTC705/hooks/post-rebuild.sh7
-rwxr-xr-xhost/AspireTC705/hooks/pre-rebuild.sh7
2 files changed, 14 insertions, 0 deletions
diff --git a/host/AspireTC705/hooks/post-rebuild.sh b/host/AspireTC705/hooks/post-rebuild.sh
new file mode 100755

index 0000000..30733ad --- /dev/null +++ b/host/AspireTC705/hooks/post-rebuild.sh
@@ -0,0 +1,7 @@ +#!/usr/bin/env sh +set -x + +git restore --staged hardware-configuration.nix +git restore --staged Ran.ca +git restore --staged modules/opensuse/ +git restore --staged opensuse/ \ No newline at end of file diff --git a/host/AspireTC705/hooks/pre-rebuild.sh b/host/AspireTC705/hooks/pre-rebuild.sh new file mode 100755
index 0000000..d4ec9d3 --- /dev/null +++ b/host/AspireTC705/hooks/pre-rebuild.sh
@@ -0,0 +1,7 @@ +#!/usr/bin/env sh +set -x + +git add -f hardware-configuration.nix +git add -f Ran.ca +git add -f modules/opensuse/ +git add -f opensuse/ \ No newline at end of file