From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6864480010557718528 X-Received: by 2002:a2e:b175:: with SMTP id a21mr722717ljm.423.1598882596434; Mon, 31 Aug 2020 07:03:16 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9151:: with SMTP id q17ls150981ljg.8.gmail; Mon, 31 Aug 2020 07:03:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKV7nTsR6Ous58O3MoRhkq26twZpxgAhN6dbB2SuDzjgqxM5Boa5ocajoDXxmN2DrQGPYP X-Received: by 2002:a2e:b018:: with SMTP id y24mr750074ljk.159.1598882595448; Mon, 31 Aug 2020 07:03:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598882595; cv=none; d=google.com; s=arc-20160816; b=ep5tH9Vl045i71iBCfnCDwMYjDmQ4FQZZ8lWxuMHqIdc/EadjJGkNyjqwD88Ue+1AJ qIz5CWPMya8ISUKZLJhW0zMIPAzZupVWS8+aUb353ATbmPEIJjSy3E2WvWTm2laQWClt kX818KbSPK5mtpZr7PcKMsXKbTUPv43dgd7KHhvhAHh7/qIVD7zfL1c/6XIZAUGKsf+o e2z9qorsOSQMuouXbk6v6sCBV4vDmgkxx4aFgMOA2rE+HqsFemU9ZBlAvSPJoZl3favf Xq+5kBW4kEJ9SYG58HgBchp+mUVccHP+Yd5ncVCzm+jdB0opb1q+ULD9egD7v1hse/ph XiUQ== 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:to:subject; bh=AcULSQa5vbggQ5Gb1Dadk9DH7qDScx+aOZACVRLFLi4=; b=WpYPpxsP2BqvpoEgq1FGHJjf06bwuSvC8HrzgsAmYPEqtPNO1ahBEZFQNqQDwThFwP jYI2F+LuHffKBAC9ATXZjH88cWDWoXvvYW2cFqPoVuE0pb9Fq/FWIF2HxQBdXMkw4UeC fPh6lwqrZDiH2s/1mUSM82++dxre/2vDLybZxSof5ISKrSrHgiyaAVdyqS/FqPxGZRSu rBn3h7v4ou3XQACsEpd4+RX9NDXSPsE/rXGFtQpCxIjBzBsx0p5cNmnejX17rQ9zfYKc quiuPz7dITWtFKrKhZ3lGCfuCXXm/VyoSo7MGPNlwjDCN4VPOC3gvFZeQPmpE+uHP+0k 1bEA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@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 11si52124lfl.4.2020.08.31.07.03.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Aug 2020 07:03:15 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@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 jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 07VE3EuV021446 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 31 Aug 2020 16:03:14 +0200 Received: from [139.22.35.164] ([139.22.35.164]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 07VE3EnP011948; Mon, 31 Aug 2020 16:03:14 +0200 Subject: Re: [RFC PATCH 00/10] WIC update To: Vijai Kumar K , isar-users@googlegroups.com References: <20200824092750.19642-1-Vijaikumar_Kanagarajan@mentor.com> From: Jan Kiszka Message-ID: <656ef7b0-a606-8237-87c4-d004c945b4a1@siemens.com> Date: Mon, 31 Aug 2020 16:03:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200824092750.19642-1-Vijaikumar_Kanagarajan@mentor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: ws0Xka0Fr0jJ On 24.08.20 11:27, Vijai Kumar K wrote: > The following series updates the wic to the latest one from > openembedded core. The git tree is available here. > > https://github.com/vj-kumar/isar/tree/wic/staging0 > > Below are summary of key changes in the below series. > > P3 & P6: > The latest version of WIC detects the presence of fakeroot using > pseudo_dir(${IMAGE_ROOTFS}/../pseudo). If this is non-existent it doesnot > use fakeroot. P3 handles that quirk. There is also a standalone invocation of > pseudo which P6 tries to handle via wic_fakeroot. > > In case of ISAR, we need wic_fakeroot as fakeroot only for 2 purposes. > 1. To workaround fsck return values for stretch > 2. To handle standalone invocation of pseudo(P4 in series) > > Number 2 is not needed if we dont use fakeroot. > > The alternative approach to fakeroot is to carry patches on top of wic > directory instead of working around such quirks using fakeroot. The downside > being the need to rebase the local changes on future updates of wic. > > > P4 & P5: > These cherry-picked changes address the --exclude-path issues which Henning > has addressed in [2]. Should be dropped once that is merged. > > P9: > P9 is needed for --include-path to work. I have observed that --include-path > does not yet work/broken in the latest OE-core/poky. Posted a query in [1]. In ISAR > it works with P9 fix. P9 fix could also be relevant upstream and can be sent there > for review. > > Apart from the normal qemu build test, Below are the list of features tested. > KS API: > --exclude-path > --include-path > --fsuuid > --overhead-factor > --fixed-size > --use-label > --use-uuid > > Standalone invocations: > wic ls > wic cp > wic rm > > Currently in the process of finding a way to test wic features automatically. Some wic features > like -fsuuid cannot be validated till we boot the target. Need to find a generalized way for > testing the available wic features. The approach in hand is to use a wic-test.wks file and > generate qemu image with that to validate the wic features. > > [1] https://lists.yoctoproject.org/g/poky/message/12151 > [2] https://groups.google.com/g/isar-users/c/xePCyEl2qhM/m/mwFdeou0AQAJ > FWIW, I've tested a couple of images built by jailhouse-images, and no issues so far. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux