From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6721684426774806528 X-Received: by 2002:a5d:534f:: with SMTP id t15mr2032867wrv.239.1565177223629; Wed, 07 Aug 2019 04:27:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a7b:c05a:: with SMTP id u26ls2487807wmc.4.canary-gmail; Wed, 07 Aug 2019 04:27:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmiCOI4N+cHfBjCW73vZEi6UCMxMRJxIIT6yLXA+Nnpmv+gdzXk67BHjlWp8W9sjZRW7hF X-Received: by 2002:a1c:acc8:: with SMTP id v191mr10558132wme.177.1565177223172; Wed, 07 Aug 2019 04:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565177223; cv=none; d=google.com; s=arc-20160816; b=eA8G+/LTiJlHGybl07ef8tMdUcTHA8dkgCIQpaXH8L+esV9SnnzcvzyTgx3x9XuJby NE0aBWSU41LonkCfFN32l+sOFD2IUYZDoSAg1n8dA8SjgZDWKMkydLzBdw/ndFdA9W7U bc2Wz6fxnj6NciVRWxrg2WuOUSlMiu24sDcYPDsuwTyytTVtWenfwWWGNoJTY+ZPFHjV oO2t0aaJ4/V/tClQmBys7RQfIwqodGQQBKZNjocwAVLm3tqkmmDlAlQCQhCTLmgjySHY GRetbdC/DGmsCoDrXTrEUE3FAs8cdWqQhzVposWRNVAOKbm5zKt1wZPWzFS0bO0EjkRQ gZYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject; bh=RD2oTswJSk/cSAFJRCEjX8MK9s7gaAk4Jj2enR63p00=; b=Yt8Ul+ED3YtcxheC66awbfc+Z1lVqX3EBVAlzhnrvRjiBgU299X7d1tapvkBnLUzkK eeGhiVhBP1nKHVcVAdpLSTsH+rWfvpoOpH/QVxQnBml5QUuRWxzNGDJqyVT7kETBUYYL aSXW9NvSBMfrQCoANWin9pYupktRI5wPS6I7gxzbGso0Q3zQuFppwxAYG1oH3TDLmkDD n01DM93x6JJWyZQjGtB8HFEbX0LpoobB3mjNY51po9xwVgyM2Un8o0FbZfILXnca+g8h UaK+pNXT0FQ3SLMLmZbRfyub+BgBeUnXcFsVGZJl/NllYhAccQ7IZvLvkaHHn+dBV6/+ 569w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id 60si2682695wra.2.2019.08.07.04.27.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Aug 2019 04:27:03 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id x77BR2mS005065 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Aug 2019 13:27:02 +0200 Received: from [139.25.69.208] (linux-ses-ext02.ppmd.siemens.net [139.25.69.208]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x77BR2aU021742; Wed, 7 Aug 2019 13:27:02 +0200 Subject: Re: [PATCH v2] meta/classes: generate bill of material from image To: Gernot Hillier , Quirin Gylstorff , isar-users@googlegroups.com Cc: Claudius Heine References: <20190805140742.11479-1-Quirin.Gylstorff@siemens.com> <20190806135539.1826-1-Quirin.Gylstorff@siemens.com> <217fe8c3-9dfb-41cf-b95a-fa793b05d9a6@siemens.com> <3bc2de85-2bfd-e6a3-0a78-47890b673f47@siemens.com> <40f1532f-d989-cb1f-992b-d8c843e45499@siemens.com> <2d098930-f919-47fb-44e3-3429f9be04ca@siemens.com> <88db5513-33b0-b13c-edfc-624f8bacc0f4@siemens.com> From: Claudius Heine Message-ID: <7c711169-772c-0aa6-9f89-0f2affa8f8b7@siemens.com> Date: Wed, 7 Aug 2019 13:27:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: b68S8zIRFFJl Hi Gernot, On 07/08/2019 12.00, Gernot Hillier wrote: > Am 07.08.19 um 10:29 schrieb Gernot Hillier: >>> We don't need an additional dependency in isar. But if you like to >>> use json in a shell script, jq might be the way to go. >> >> The main use case for such manifests is decoupled from the build >> process, i.e. far away from Isar and probably even using such strange >> platforms like Windows. Think about clearing personnel who wants to >> postprocess such lists in their MS Office world > > And another important point I forgot: those manifests should be easy to > create on targets/VMs without Isar or any other additional tool. > > We will continue to have Debian images which were not created with Isar > and we can also safely assume that some development teams will manually > modify Isar images later on. > > So we need some format which can be easily created using a simple shell > command which works on virtually any Debian image. Ok, those are points I haven't considered. That would point to a more common CSV format with '[,;\t ]' separators. This can easily imported in MS Office 180. This script currently uses the dpkg-query of the build system, not the one from the buildchroot or image root fs, so the file cannot be created easily on other non-debian systems. @Quirin: Have you tried using the dpkg-query of the buildchroot? regards, Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de