From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6553868181602041856 X-Received: by 2002:adf:ab57:: with SMTP id r23-v6mr652766wrc.13.1526287893953; Mon, 14 May 2018 01:51:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:f707:: with SMTP id v7-v6ls1421002wmh.1.canary-gmail; Mon, 14 May 2018 01:51:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrwzj8TrsLRhDumQyoVLMDJYMRNBsrNg/DGZiqAcRb6fo0373+szKNFLXN318O4TWeskNV3 X-Received: by 2002:a1c:b2c6:: with SMTP id b189-v6mr1053347wmf.5.1526287893528; Mon, 14 May 2018 01:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526287893; cv=none; d=google.com; s=arc-20160816; b=F9cSvoQpzKo1qhER4D/B+87SQUUC2fx/W45zb0Q3VAEaBq1Eb/g5g30UKMbXHn4HBw 8u+ro1ArKR+x+JQ44rgb/tOdcIT3XCJCDLFrOYDFNEwQp43rBngnimXTTq/Krv6kNiB5 wTX48UW50RqUD6sFzLUnCgWa2NfA5S8mNuyYqyEE9eO1qIRn+UjQe7hUqwv7oRz5jJck zxrYjAhwvPn7Vfqs0NvTMyXpur6qwb3eOPhNCrX3s/l76PomTXOGFz0nH35/E2QQv1VI yGgWuMEM+pwn2/JJfMH7Stj6KuJt+KjGyJ2+05jp3NhcOVE1M721QYuW8nK7dcNXbzLg oYKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=6c5+mZrzaBMwZ/42MbrqJHCh5P9Mqd145DgMn1ndWQ8=; b=ECPBd74fJhhIyAkbVaa01P1g/q+ChkBN6XLoJDyk7HHhwu/Ndsrt9ZSkDPJDzmhAwk GMyDm4Ub4Hr7TMbByRKycNPS/uCfWSA85nTdV/P0YraZrUqrWBczFCynegWrrW3KQO7X IkuIzgTKTZVEhrl+5InSiuSmMa3X0BotrBunJFzXYYHG0iz7ov6fDbBUwra9yCJSLU9a GqFPcoF7+fpzhFl4bGSSAHatoVDmK6hedCUFeFCDxYwnQZcNHb6srLDE0cT3Z6/PtHGj h0Mtwo3DgzHmezDDpLBtPh6LcgGoPnVdOyJlql4xL81j5FWKL3MilhfKMjyMz8r5AEgd Ya2Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id x17-v6si345411wmd.0.2018.05.14.01.51.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 May 2018 01:51:33 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w4E8pTGq027458 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 May 2018 10:51:29 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w4E8pTw9029158; Mon, 14 May 2018 10:51:29 +0200 Date: Mon, 14 May 2018 10:51:28 +0200 From: Henning Schild To: "Jan Kiszka" Cc: Francesco , Subject: Re: questions about cross compilation and licence report Message-ID: <20180514105128.37776fc7@md1pvb1c.ad001.siemens.net> In-Reply-To: <7f45ad9b-27ae-82be-2726-d40994e62439@siemens.com> References: <6d8b34ba-f8de-eed9-d06b-37a5db8ddd81@dave.eu> <7f45ad9b-27ae-82be-2726-d40994e62439@siemens.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: Q4zZ3YP3T3ga Am Fri, 11 May 2018 15:52:22 +0200 schrieb "Jan Kiszka" : > On 2018-05-10 10:13, Francesco wrote: > > Hi All, > > > > I have a couple of general questions about isar. > > Is it possible to generate a report containing all the licences of > > the packages that are installed during the rootfs generation > > process? > > I'm not aware of even a simple script for doing that. The reason might > be that the exact license compliance processes heavily depend on > company-internal regulations. For us, e.g., such an aggregation would > currently not be enough - without checking that what Debian reports is > complete and accurate. But that should not block working on such a > thing. My hope is that we will eventually be able to use Debian > reports directly as well. > > > > > Perhaps some of you have already faced the problem of developing > > cross compiled applications. > > Since with isar is not possible to produce a yocto-like sdk, which > > is the suggested approach to develop cross compiled applications > > which use external libraries? > > > > A simple SDK support (corresponding sysroot aggregation, > cross-compiler setup description) and also cross-building for recipes > are WIP. I hope we see some prototype soon. At the moment your two options would be: 1. derive an image from your real image, there you would add everything you need to code/compile etc. i.e. install kde+eclipse+... This one works fine for x86 but is not suitable for cross builds. > require my-fancy-image.bb; IMAGE_PREINSTALL+="gvim build-essential" 2. extract the buildchroot after image creation and add --sysroot=/path/to/isar/buildchroot to the FLAGS in your Makefiles and prefix your toolchain with CROSS_ . To get the libs in write a recipe with your build-deps. You should write a proper debianized recipe for your applications so Isar will build them without leveraging the CROSS_ infrastructure you use for development. Henning > Jan >