mirror of
https://github.com/wofferl/proxmox-backup-arm64
synced 2025-12-06 00:13:41 +00:00
add option to automtically download and install a specific version
Signed-off-by: Wolfgang <github@linux-dude.de>
This commit is contained in:
18
README.md
18
README.md
@@ -13,18 +13,14 @@ At least 4 GB are required for compiling. On devices with low memory, SWAP must
|
|||||||
You can find unoffical debian packages for **Bookworm** or **Trixie** that are created with the build.sh script and github actions at https://github.com/wofferl/proxmox-backup-arm64/releases.
|
You can find unoffical debian packages for **Bookworm** or **Trixie** that are created with the build.sh script and github actions at https://github.com/wofferl/proxmox-backup-arm64/releases.
|
||||||
|
|
||||||
With the script you can also download all files of the latest **Debian/Bookworm** release at once
|
With the script you can also download all files of the latest **Debian/Bookworm** release at once
|
||||||
```
|
|
||||||
./build.sh download
|
|
||||||
```
|
|
||||||
or download and install automatically
|
|
||||||
```
|
|
||||||
./build.sh install
|
|
||||||
```
|
|
||||||
|
|
||||||
or of a specific version
|
**Download and install**
|
||||||
```
|
|
||||||
./build.sh download=4.0.0-1
|
```./build.sh install``` or a specific version ```./build.sh install=4.0.8-1```
|
||||||
```
|
|
||||||
|
**Download only**
|
||||||
|
|
||||||
|
```./build.sh download``` or a specific verision ```./build.sh download=4.0.8-1```
|
||||||
|
|
||||||
## Build manually
|
## Build manually
|
||||||
### Install build essentials and dependencies
|
### Install build essentials and dependencies
|
||||||
|
|||||||
8
build.sh
8
build.sh
@@ -209,8 +209,12 @@ while [ "$#" -ge 1 ]; do
|
|||||||
export DEB_HOST_RUST_TYPE=aarch64-unknown-linux-gnu
|
export DEB_HOST_RUST_TYPE=aarch64-unknown-linux-gnu
|
||||||
;;
|
;;
|
||||||
|
|
||||||
install)
|
install*)
|
||||||
download_release
|
if [[ "$1" =~ install=[0-9.-]+ ]]; then
|
||||||
|
download_release tags/${1/*=/}
|
||||||
|
else
|
||||||
|
download_release
|
||||||
|
fi
|
||||||
install_server
|
install_server
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user