Compare commits
3 Commits
bff5d058b0
...
1f484d8bfc
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f484d8bfc | |||
| f3aa4a0558 | |||
| 1ac5a8efaa |
@@ -1,6 +1,6 @@
|
||||
# openwrtbuilder
|
||||
|
||||
Sanely build and deploy OpenWRT images using the Image Builder (or git source)
|
||||
Sanely build and deploy OpenWRT images using the Image Builder or from source code
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -36,10 +36,10 @@ See `./profiles` for example device profile definitions.
|
||||
## Examples
|
||||
|
||||
* `./openwrtbuilder -p r4s -r snapshot --debug`
|
||||
* `./openwrtbuilder -p ax6000_stock -r 23.03.3 --source --debug`
|
||||
* `./openwrtbuilder -p rpi4 -r 23.03.3 --flash /dev/sdX`
|
||||
* `./openwrtbuilder -p ax6000_stock -r 22.03.3 --source --debug`
|
||||
* `./openwrtbuilder -p rpi4 -r 22.03.3 --flash /dev/sdX`
|
||||
* `./openwrtbuilder -p linksys -r snapshot --ssh-upgrade root@192.168.1.1`
|
||||
|
||||
## Additional Info
|
||||
|
||||
Did you find `openwrtbuilder` useful? [Buy me a coffee!](https://paypal.me/bryanroessler?locale.x=en_US)
|
||||
Did you find `openwrtbuilder` useful? [Buy me a coffee!](https://paypal.me/bryanroessler)
|
||||
|
||||
@@ -661,9 +661,11 @@ fromSource() {
|
||||
popd &>/dev/null || return 1
|
||||
|
||||
# Provide symlinks to images in root of BINDIR (to match Image Builder)
|
||||
shopt -s nullglob
|
||||
for image in "$BINDIR/targets/${TARGET}/"*.{img,img.gz,ubi}; do
|
||||
ln -fs "$image" "$BINDIR/${image##*/}"
|
||||
done
|
||||
shopt -u nullglob
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user