Skip to content

Commit 1da4a22

Browse files
committed
Fix run-local.sh scripts to use submodules/kernel-images path
Both run-local.sh scripts were checking for kernel-images at the old root-level location instead of submodules/kernel-images. Changes: - deployments/local/run-local.sh: Update paths to submodules/kernel-images - deployments/local-webarena/run-local.sh: Update paths to submodules/kernel-images This fixes the error: Error: kernel-images submodule not found or incomplete
1 parent 352bb18 commit 1da4a22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

deployments/local-webarena/run-local.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PROJECT_ROOT=$(cd "$SCRIPT_DIR/../.." && pwd)
1111
cd "$PROJECT_ROOT"
1212

1313
# Check if kernel-images submodule exists
14-
if [ ! -d "kernel-images" ] || [ ! -f "kernel-images/images/chromium-headful/run-docker.sh" ]; then
14+
if [ ! -d "submodules/kernel-images" ] || [ ! -f "submodules/kernel-images/images/chromium-headful/run-docker.sh" ]; then
1515
echo "❌ Error: kernel-images submodule not found or incomplete"
1616
echo " Run: git submodule update --init --recursive"
1717
exit 1
@@ -21,7 +21,7 @@ fi
2121
mkdir -p "$PROJECT_ROOT/recordings"
2222

2323
# Change to kernel-images directory
24-
cd kernel-images/images/chromium-headful
24+
cd submodules/kernel-images/images/chromium-headful
2525

2626
# Make run script executable
2727
chmod +x run-docker.sh

deployments/local/run-local.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PROJECT_ROOT=$(cd "$SCRIPT_DIR/../.." && pwd)
1111
cd "$PROJECT_ROOT"
1212

1313
# Check if kernel-images submodule exists
14-
if [ ! -d "kernel-images" ] || [ ! -f "kernel-images/images/chromium-headful/run-docker.sh" ]; then
14+
if [ ! -d "submodules/kernel-images" ] || [ ! -f "submodules/kernel-images/images/chromium-headful/run-docker.sh" ]; then
1515
echo "❌ Error: kernel-images submodule not found or incomplete"
1616
echo " Run: git submodule update --init --recursive"
1717
exit 1
@@ -21,7 +21,7 @@ fi
2121
mkdir -p "$PROJECT_ROOT/recordings"
2222

2323
# Change to kernel-images directory
24-
cd kernel-images/images/chromium-headful
24+
cd submodules/kernel-images/images/chromium-headful
2525

2626
# Make run script executable
2727
chmod +x run-docker.sh

0 commit comments

Comments
 (0)