debian-installer: set legacy version format compatibility on makeiso.

This commit is contained in:
Ark74 2025-04-25 01:51:30 -06:00
parent 428b410f6f
commit 4e03518e5e

View file

@ -32,6 +32,10 @@ CONTROL_PACKAGE=linux-hwe-$HWEKR
. ./config . ./config
# Keep legacy version format ("+12.0trisquelx") exclusively for
# identification purposes on makeiso.
export FULLVERSION=$(sed "s|trisquel|+${REVISION}trisquel|" <<< $FULLVERSION)
# Set kernel from release/main packages. # Set kernel from release/main packages.
set_kernel_release() { set_kernel_release() {
LASTKERNEL="$(apt-cache madison -c ${LOCAL_APT}/etc/apt_${CODENAME}.conf $CONTROL_PACKAGE-tools-common |\ LASTKERNEL="$(apt-cache madison -c ${LOCAL_APT}/etc/apt_${CODENAME}.conf $CONTROL_PACKAGE-tools-common |\