Compare commits
2 Commits
819ff0add0
...
a7a85ee67a
| Author | SHA1 | Date | |
|---|---|---|---|
| a7a85ee67a | |||
| 4890aa192d |
@@ -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")
|
||||
--buildroot,-b PATH (Default: script directory)
|
||||
--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
|
||||
Uses git worktree for multi-profile deduplication
|
||||
--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
|
||||
--depends
|
||||
Force dependency installation
|
||||
Ignores .dependencies files
|
||||
--yes,-y
|
||||
Assume yes for all questions (automatic mode)
|
||||
--debug,-d
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build and deploy OpenWRT images using convenient shell-style device profiles.
|
||||
# Copyright 2022-25 Bryan C. Roessler
|
||||
# Build and deploy OpenWRT images using shell-style device profiles, via source code or the official Image Builder.# Copyright 2022-25 Bryan C. Roessler
|
||||
# Apache 2.0 License
|
||||
# See README and profiles for device configuration
|
||||
|
||||
@@ -535,7 +534,7 @@ from_source() {
|
||||
execute rm -rf "$BUILD_DIR"
|
||||
fi
|
||||
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
|
||||
commit=$(git -C "$BUILD_DIR" rev-parse HEAD)
|
||||
|
||||
Reference in New Issue
Block a user