Skip to content

Commit cd0a53a

Browse files
committed
[init] Add commit hash for arceos backbone
1 parent 130f09e commit cd0a53a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/get_deps.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
#!/bin/bash
22

33
AX_ROOT=.arceos
4-
4+
COMMIT=c747ba8
55
test ! -d "$AX_ROOT" && echo "Cloning repositories ..." || true
6-
test ! -d "$AX_ROOT" && git clone https://github.com/oscomp/arceos "$AX_ROOT" --depth=1 || true
6+
test ! -d "$AX_ROOT" && git clone https://github.com/oscomp/arceos "$AX_ROOT" || true
7+
8+
git -C "$AX_ROOT" reset --hard "$COMMIT" || {
9+
echo "Failed to reset to commit $COMMIT. Please check the repository."
10+
exit 1
11+
}
712

813
$(dirname $0)/set_ax_root.sh $AX_ROOT

0 commit comments

Comments
 (0)