feat: add support for Debian 13

This commit is contained in:
Roni Väyrynen
2025-08-13 15:14:38 +03:00
parent b4381cef44
commit d85cc3ec38
2 changed files with 16 additions and 6 deletions

View File

@@ -147,12 +147,13 @@ deb:
- lvm2
- nfs-common
- cifs-utils
- gnupg (debian 10/11)
- gnupg (debian 10/11/12/13)
- software-properties-common (ubuntu)
- ntfs-3g
- dmidecode
- sudo (if set in xo-install.cfg)
- patch
- libfuse2t64 (debian 13)
```
Following repositories will be installed if needed and repository install is enabled in xo-install.cfg

View File

@@ -309,11 +309,20 @@ function InstallDependenciesDeb {
runcmd "apt-get install -y apt-transport-https ca-certificates"
printok "Installing apt-transport-https and ca-certificates packages to support https repos"
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12)$ ]]; then
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12|13)$ ]]; then
echo
printprog "Debian 10/11/12, so installing gnupg also"
printprog "Debian 10/11/12/13, so installing gnupg also"
runcmd "apt-get install gnupg -y"
printok "Debian 10/11/12, so installing gnupg also"
printok "Debian 10/11/12/13, so installing gnupg also"
fi
# Debian 13 doesn't come with libfuse2 anymore
# it needs to be installed specifically as XO relies on it for now
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" == 13 ]]; then
echo
printprog "Debian 13, so installing libfuse2t64"
runcmd "apt-get install libfuse2t64 -y"
printok "Debian 13, so installing libfuse2t64"
fi
# install setcap for non-root port binding if missing
@@ -1334,8 +1343,8 @@ function CheckOS {
exit 1
fi
if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12)$ ]]; then
printfail "Only Debian 10/11/12 supported"
if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12|13)$ ]]; then
printfail "Only Debian 10/11/12/13 supported"
exit 1
fi