public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH v3] kas: Allow to define custom snapshot date
Date: Mon, 14 Oct 2024 20:29:56 +0300	[thread overview]
Message-ID: <742b4b44f86d9f782629e2b3c44327933c93d21a.camel@ilbers.de> (raw)
In-Reply-To: <fa06bce8-8eb3-4a15-9787-7807bbecfee2@siemens.com>

On Fri, 2024-10-11 at 07:34 +0200, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Currently very useful for building constantly broken riscv via sid.
> The
> default value is actually a known-to-work one, taken from isar-cip-
> core.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
> Changes in v3:
>  - tune wording of menu entry
> 
>  kas/opt/Kconfig | 20 +++++++++++++++++++-
>  1 file changed, 19 insertions(+), 1 deletion(-)
> 
> diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
> index 1e56c29f..b1b1ff16 100644
> --- a/kas/opt/Kconfig
> +++ b/kas/opt/Kconfig
> @@ -44,7 +44,25 @@ config USE_APT_SNAPSHOT
>  	bool "Use the distros snapshot mirror"
>  	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_DATE.
> +		Use a snapshot mirror for the selected distribution.
> +
> +choice
> +	prompt "Snapshot date"
> +	depends on USE_APT_SNAPSHOT
> +	default APT_SNAPSHOT_GIT_DATE
> +
> +config APT_SNAPSHOT_GIT_DATE
> +	bool "Timestamp of latest git commit"
> +
> +config APT_SNAPSHOT_CUSTOM_DATE
> +	bool "Custom date"
> +
> +endchoice
> +
> +config ISAR_APT_SNAPSHOT_DATE
> +	string "Custom snapshot date"
> +	depends on APT_SNAPSHOT_CUSTOM_DATE
> +	default "20240211T000000Z"
>  
>  config KAS_INCLUDE_APT_SNAPSHOT
>  	string
> -- 
> 2.43.0
> 

Applied to next, thanks.

-- 
Best regards,
Uladzimir.



-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/742b4b44f86d9f782629e2b3c44327933c93d21a.camel%40ilbers.de.

      reply	other threads:[~2024-10-14 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-11  5:34 'Jan Kiszka' via isar-users
2024-10-14 17:29 ` Uladzimir Bely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=742b4b44f86d9f782629e2b3c44327933c93d21a.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox