diff options
Diffstat (limited to '')
| m--------- | rsboot | 0 | ||||
| -rwxr-xr-x | scripts/build-bootloader.sh | 7 |
2 files changed, 5 insertions, 2 deletions
diff --git a/rsboot b/rsboot | |||
| Subproject ee1c85bfcba17a120bbc95fb2399485295affb7 | Subproject 92367a8c255632208f06e50633cbbe786fc1011 | ||
diff --git a/scripts/build-bootloader.sh b/scripts/build-bootloader.sh index 9a96cfe..f0f0ce7 100755 --- a/scripts/build-bootloader.sh +++ b/scripts/build-bootloader.sh | |||
| @@ -20,8 +20,11 @@ BOOTLOADER_DIR="$BUILD_DIR/bootloader" | |||
| 20 | 20 | ||
| 21 | echo "=== Building rsboot (UEFI bootloader) ===" | 21 | echo "=== Building rsboot (UEFI bootloader) ===" |
| 22 | 22 | ||
| 23 | # Ensure submodule is checked out | 23 | # Ensure submodule is checked out, tracking the latest upstream HEAD |
| 24 | git submodule update --init "$PROJECT_DIR/rsboot" | 24 | # (--remote fetches and checks out the newest main instead of reverting |
| 25 | # to the commit recorded in the superproject's gitlink). | ||
| 26 | cd "$PROJECT_DIR" | ||
| 27 | git submodule update --init --remote rsboot | ||
| 25 | 28 | ||
| 26 | cd "$PROJECT_DIR/rsboot" | 29 | cd "$PROJECT_DIR/rsboot" |
| 27 | make clean 2>/dev/null || true | 30 | make clean 2>/dev/null || true |
