Compare commits

..

2 커밋

작성자 SHA1 메시지 날짜
a7a85ee67a Use --detached worktrees 2025-08-05 14:14:16 -04:00
4890aa192d Cleanup some comments 2025-07-29 17:40:02 -04:00
2개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제

파일 보기

@@ -13,7 +13,7 @@ Build and deploy OpenWRT images using shell-style device profiles, via source co
--release,-r,--version,-v RELEASE ("snapshot", "22.03.3") --release,-r,--version,-v RELEASE ("snapshot", "22.03.3")
--buildroot,-b PATH (Default: script directory) --buildroot,-b PATH (Default: script directory)
--source --source
Build image from source, not from Image Builder Build image from source code, not from Image Builder
Allows make config options to be passed in profile Allows make config options to be passed in profile
Uses git worktree for multi-profile deduplication Uses git worktree for multi-profile deduplication
--ssh-upgrade HOST --ssh-upgrade HOST
@@ -27,7 +27,6 @@ Build and deploy OpenWRT images using shell-style device profiles, via source co
Can be combined with -p to reset a specific profile Can be combined with -p to reset a specific profile
--depends --depends
Force dependency installation Force dependency installation
Ignores .dependencies files
--yes,-y --yes,-y
Assume yes for all questions (automatic mode) Assume yes for all questions (automatic mode)
--debug,-d --debug,-d

파일 보기

@@ -1,6 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Build and deploy OpenWRT images using convenient shell-style device profiles. # Build and deploy OpenWRT images using shell-style device profiles, via source code or the official Image Builder.# Copyright 2022-25 Bryan C. Roessler
# Copyright 2022-25 Bryan C. Roessler
# Apache 2.0 License # Apache 2.0 License
# See README and profiles for device configuration # See README and profiles for device configuration
@@ -535,7 +534,7 @@ from_source() {
execute rm -rf "$BUILD_DIR" execute rm -rf "$BUILD_DIR"
fi fi
execute git -C "$SRC_DIR" worktree prune --verbose execute git -C "$SRC_DIR" worktree prune --verbose
execute git -C "$SRC_DIR" worktree add "$BUILD_DIR" "$ref" execute git -C "$SRC_DIR" worktree add --detach "$BUILD_DIR" "$ref"
# Print commit info # Print commit info
commit=$(git -C "$BUILD_DIR" rev-parse HEAD) commit=$(git -C "$BUILD_DIR" rev-parse HEAD)