Allow diverging version names for sources

This commit is contained in:
Fierelier 2023-07-21 08:47:06 +02:00
parent 6e9d71cb3a
commit 9682d3538a
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
set -e
debootstrap --arch="$WDVN_ARCH" "$WDVN_VER" "$1" "$WDVN_URL"
debootstrap --arch="$WDVN_ARCH" "$WDVN_VER_DEBSTRAP" "$1" "$WDVN_URL"

3
shell
View File

@ -1,7 +1,8 @@
#!/bin/bash
export WDVN_NAME="windvn"
export WDVN_URL="http://deb.devuan.org/merged"
export WDVN_VER="testing"
export WDVN_VER_DEBSTRAP="testing" # This is the suite/version name passed to debootstrap. This is useful if you want to pull, for example, daedalus, but that name is not understood yet in debootstrap. So you can use "testing" instead, which is always understood, and then put "daedalus" (or whatever currently corresponds to testing) into WDVN_VER, so the resulting distro stays within the daedalus specification, instead of updating to the next testing version.
export WDVN_VER="daedalus"
export WDVN_DATE="$(date --utc "+%Y.%m.%d-%H.%M.%S")"
export WDVN_PID="$BASHPID"