Test install.sh
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ If you are on another fork or branch and you want to test your changes, do:
|
|||||||
```bash
|
```bash
|
||||||
export REPO_URL="https://yourgitserver.tld/.../fedora-OEMDRV.git"
|
export REPO_URL="https://yourgitserver.tld/.../fedora-OEMDRV.git"
|
||||||
export REPO_BRANCH="anotherbranch"
|
export REPO_BRANCH="anotherbranch"
|
||||||
curl -fsSL ${REPO_URL%.git}/raw/branch/${REPO_BRANCH}/system_setup/install.sh -o /tmp/install.sh
|
curl -fsSL ${REPO_URL%.git}/raw/branch/${REPO_BRANCH:-main}/system_setup/install.sh -o /tmp/install.sh
|
||||||
sudo -E bash /tmp/install.sh
|
sudo -E bash /tmp/install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,12 @@ SHRINK_MIB=4096
|
|||||||
OEMDRV_LABEL="OEMDRV"
|
OEMDRV_LABEL="OEMDRV"
|
||||||
MOUNT_POINT="/opt/sys_config"
|
MOUNT_POINT="/opt/sys_config"
|
||||||
MOUNT_OPTS="compress=zstd:6"
|
MOUNT_OPTS="compress=zstd:6"
|
||||||
|
echo ${REPO_URL}
|
||||||
REPO_URL="${REPO_URL:-https://gitea.dtext.online/obel1x/fedora-OEMDRV.git}"
|
REPO_URL="${REPO_URL:-https://gitea.dtext.online/obel1x/fedora-OEMDRV.git}"
|
||||||
REPO_BRANCH="${REPO_BRANCH:-main}"
|
REPO_BRANCH="${REPO_BRANCH:-main}"
|
||||||
|
echo ${REPO_URL}
|
||||||
|
exit 0
|
||||||
|
|
||||||
MIN_FREE_MIB=$(( SHRINK_MIB + 512 )) # require 512 MiB headroom above the shrink size
|
MIN_FREE_MIB=$(( SHRINK_MIB + 512 )) # require 512 MiB headroom above the shrink size
|
||||||
|
|
||||||
# ── Helpers ───────────────────────────────────────────────────────────────────
|
# ── Helpers ───────────────────────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user