[1/1] kas menu: allow mirror selection for trixie and sid as well

Message ID 20240722081447.619772-1-felix.moessbauer@siemens.com
State Accepted, archived
Headers show
Series [1/1] kas menu: allow mirror selection for trixie and sid as well | expand

Commit Message

MOESSBAUER, Felix July 22, 2024, 8:14 a.m. UTC
The mirrors also support these distro versions. Especially for sid, it
is recommended to use mirrors.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 kas/opt/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Uladzimir Bely July 31, 2024, 6:45 a.m. UTC | #1
On Mon, 2024-07-22 at 10:14 +0200, 'Felix Moessbauer' via isar-users
wrote:
> The mirrors also support these distro versions. Especially for sid,
> it
> is recommended to use mirrors.
> 
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
>  kas/opt/Kconfig | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
> index 701bd263..65482e3a 100644
> --- a/kas/opt/Kconfig
> +++ b/kas/opt/Kconfig
> @@ -5,11 +5,11 @@
>  #  Uladzimir Bely <ubely@ilbers.de>
>  
>  menu "Mirror selection"
> -	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM || UBUNTU_FOCAL || UBUNTU_JAMMY
> +	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM || DEBIAN_TRIXIE || DEBIAN_SID || UBUNTU_FOCAL ||
> UBUNTU_JAMMY
>  
>  config MIRROR_DEBIAN
>  	bool "Use specific Debian mirror"
> -	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM
> +	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE ||
> DEBIAN_BOOKWORM || DEBIAN_TRIXIE || DEBIAN_SID
>  	help
>  	  Select better local Debian mirror instead of
> deb.debian.org
>  
> @@ -42,7 +42,7 @@ config KAS_INCLUDE_MIRROR_UBUNTU
>  
>  config USE_APT_SNAPSHOT
>  	bool "Use the distros snapshot mirror"
> -	depends on !MIRROR_DEBIAN && (DEBIAN_BUSTER ||
> DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL
> || UBUNTU_JAMMY)
> +	depends on !MIRROR_DEBIAN && (DEBIAN_BUSTER ||
> DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || DEBIAN_SID ||
> UBUNTU_FOCAL || UBUNTU_JAMMY)
>  	help
>  		Use a snapshot mirror for the selected distribution.
> The date is defined by ISAR_APT_SNAPSHOT_TIMESTAMP.
>  
> -- 
> 2.39.2
> 

Applied to next, thanks.

Patch

diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
index 701bd263..65482e3a 100644
--- a/kas/opt/Kconfig
+++ b/kas/opt/Kconfig
@@ -5,11 +5,11 @@ 
 #  Uladzimir Bely <ubely@ilbers.de>
 
 menu "Mirror selection"
-	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || UBUNTU_FOCAL || UBUNTU_JAMMY
+	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || DEBIAN_SID || UBUNTU_FOCAL || UBUNTU_JAMMY
 
 config MIRROR_DEBIAN
 	bool "Use specific Debian mirror"
-	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM
+	depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || DEBIAN_SID
 	help
 	  Select better local Debian mirror instead of deb.debian.org
 
@@ -42,7 +42,7 @@  config KAS_INCLUDE_MIRROR_UBUNTU
 
 config USE_APT_SNAPSHOT
 	bool "Use the distros snapshot mirror"
-	depends on !MIRROR_DEBIAN && (DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY)
+	depends on !MIRROR_DEBIAN && (DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || DEBIAN_SID || UBUNTU_FOCAL || UBUNTU_JAMMY)
 	help
 		Use a snapshot mirror for the selected distribution. The date is defined by ISAR_APT_SNAPSHOT_TIMESTAMP.