public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2] deb-dl-dir: Fix isar-apt packages checking on export
@ 2026-06-10  7:57 Anton Mikanovich
  2026-06-12 10:56 ` Anton Mikanovich
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Mikanovich @ 2026-06-10  7:57 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

To use variable inside of lock section it should be exported.
Otherwize it will be empty and isar-apt packages checking logic will
not work.

Fixes: 86f1c6e0 ("deb-dl-dir: Avoid multiple find run on export")

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/classes-recipe/deb-dl-dir.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes-recipe/deb-dl-dir.bbclass b/meta/classes-recipe/deb-dl-dir.bbclass
index 620ddc96..cec7bd76 100644
--- a/meta/classes-recipe/deb-dl-dir.bbclass
+++ b/meta/classes-recipe/deb-dl-dir.bbclass
@@ -149,8 +149,8 @@ deb_dl_dir_export() {
     export owner=$(id -u):$(id -g)
     mkdir -p "${pc}"
 
-    isar_debs="$(${SCRIPTSDIR}/lockrun.py -r -f '${REPO_ISAR_DIR}/isar.lock' -c \
-    "find '${REPO_ISAR_DIR}/${DISTRO}' -name '*.deb' -print")"
+    export isar_debs=$(${SCRIPTSDIR}/lockrun.py -r -f '${REPO_ISAR_DIR}/isar.lock' -c \
+    "find '${REPO_ISAR_DIR}/${DISTRO}' -name '*.deb' -print")
 
     flock "${pc}".lock sudo -Es << 'EOSUDO'
         set -e
-- 
2.34.1

-- 
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 visit https://groups.google.com/d/msgid/isar-users/20260610075714.4022552-1-amikan%40ilbers.de.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] deb-dl-dir: Fix isar-apt packages checking on export
  2026-06-10  7:57 [PATCH v2] deb-dl-dir: Fix isar-apt packages checking on export Anton Mikanovich
@ 2026-06-12 10:56 ` Anton Mikanovich
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2026-06-12 10:56 UTC (permalink / raw)
  To: isar-users

On 10/06/2026 10:57, Anton Mikanovich wrote:
> To use variable inside of lock section it should be exported.
> Otherwize it will be empty and isar-apt packages checking logic will
> not work.
>
> Fixes: 86f1c6e0 ("deb-dl-dir: Avoid multiple find run on export")
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
>   meta/classes-recipe/deb-dl-dir.bbclass | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes-recipe/deb-dl-dir.bbclass b/meta/classes-recipe/deb-dl-dir.bbclass
> index 620ddc96..cec7bd76 100644
> --- a/meta/classes-recipe/deb-dl-dir.bbclass
> +++ b/meta/classes-recipe/deb-dl-dir.bbclass
> @@ -149,8 +149,8 @@ deb_dl_dir_export() {
>       export owner=$(id -u):$(id -g)
>       mkdir -p "${pc}"
>   
> -    isar_debs="$(${SCRIPTSDIR}/lockrun.py -r -f '${REPO_ISAR_DIR}/isar.lock' -c \
> -    "find '${REPO_ISAR_DIR}/${DISTRO}' -name '*.deb' -print")"
> +    export isar_debs=$(${SCRIPTSDIR}/lockrun.py -r -f '${REPO_ISAR_DIR}/isar.lock' -c \
> +    "find '${REPO_ISAR_DIR}/${DISTRO}' -name '*.deb' -print")
>   
>       flock "${pc}".lock sudo -Es << 'EOSUDO'
>           set -e
Applied with "Otherwize"->"Otherwise" typo fix.

-- 
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 visit https://groups.google.com/d/msgid/isar-users/d1745f39-d069-465c-8224-d5ed16a2aba6%40ilbers.de.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-12 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10  7:57 [PATCH v2] deb-dl-dir: Fix isar-apt packages checking on export Anton Mikanovich
2026-06-12 10:56 ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox