Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Florian Larysch <fl@n621.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/casync-nano: new package
Date: Sun, 20 Apr 2025 23:48:06 +0200	[thread overview]
Message-ID: <20250420234806.450c6ea6@windsurf> (raw)
In-Reply-To: <20250420213205.zorogfzwxp6iiumy@n621.de>

Hello Florian,

On Sun, 20 Apr 2025 23:32:05 +0200
Florian Larysch <fl@n621.de> wrote:

> On Sun, Apr 20, 2025 at 11:13:07PM +0200, Thomas Petazzoni via buildroot wrote:
> > > +config BR2_PACKAGE_CASYNC_NANO_CASYNC_SHIM  
> > I am wondering if we really need this option. What about simply
> > installing this shim automatically if BR2_PACKAGE_CASYNC is disabled?  
> 
> That would be an option too. Personally I'd err on the side of not
> cluttering /usr/bin unnecessarily, but if you think that makes more
> sense I can change it.

OK, fair enough!

> > Why aren't those same options set for the target variant? I'm not quite
> > sure to understand why the host and target variant don't have the same
> > dependencies. If zstd and libcurl are optional, then they should also
> > be optional for the target variant.  
> 
> The host variant of the package is only building a different sub-program
> (csn-tool), which has different dependencies (namely it only needs
> libcrypto from OpenSSL).
> 
> The reasoning for the split here is similar to other OTA tools like RAUC
> where there is one component that is only really useful on the target
> for installing the update and another component that is only useful on
> the host for generating/manipulating that update.

Makes sense, thanks for the explanation!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-04-20 21:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-20 20:45 [Buildroot] [PATCH 1/1] package/casync-nano: new package Florian Larysch
2025-04-20 21:13 ` Thomas Petazzoni via buildroot
2025-04-20 21:32   ` Florian Larysch
2025-04-20 21:48     ` Thomas Petazzoni via buildroot [this message]
2025-05-18 15:07 ` Thomas Petazzoni via buildroot

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=20250420234806.450c6ea6@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fl@n621.de \
    --cc=thomas.petazzoni@bootlin.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