Hello Quentin,I assume you need this at build time then since you are talking about
binary for the host system. In that case, you need to add host-casync to
your config.
However, casync is currently a target-only package.If I understand correctly, then as of now Buildroot can't be used to create casync host package.$(eval $(host-meson-package))
at the end of the package/casync/casync.mk file.I will try this solution.But what could be the other alternative to work with casync?Thanks in advanceOn Fri, 1 Apr 2022 at 13:54, Quentin Schulz <quentin.schulz@theobroma-systems.com> wrote:Hi Sourabh,
On 4/1/22 13:41, Sourabh Hegde wrote:
> Hello Quentin,
>
> make casync
>>
>> if you want it in an image created by Buildroot, modify your config with
>> make menuconfig and save your changes, then run make.
>>
>
> But will this create binary for host system also? Sorry, its bit confusing
> here.
>
No, host packages and target packages are compiled with a different keyword.
make casync is for target package
make host-casync is for host package
> I need casync tool use with "rauc" as given in
> https://urldefense.proofpoint.com/v2/url?u=https-3A__rauc.readthedocs.io_en_latest_advanced.html-23creating-2Dcasync-2Dbundles&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=AiN2bNa5EFj79y22K554djuFBBXe_MMEIRS1-gwEsbw3ch69jBq4q9j0tm_wz1V8&s=6mSs1PkEXKk01AMnuQKyCAPV0A9euTiPrj_bP4mGHJ0&e=
>
> When I do "rauc convert --cert=<certfile> --key=<keyfile>
> --keyring=<keyring> conventional-bundle.raucb casync-bundle.raucb"
>
I assume you need this at build time then since you are talking about
binary for the host system. In that case, you need to add host-casync to
your config.
However, casync is currently a target-only package.
To create a host package, you need at the very least to add:
$(eval $(host-meson-package))
at the end of the package/casync/casync.mk file.
This might not be enough and might require some additional tweaks to the
package makefile.
Cheers,
Quentin