From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6880180325712920576 X-Received: by 2002:a2e:819a:: with SMTP id e26mr2173083ljg.469.1602689304289; Wed, 14 Oct 2020 08:28:24 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:b6d4:: with SMTP id m20ls2978ljo.1.gmail; Wed, 14 Oct 2020 08:28:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1NYN7Q615zQiGAwR4nYoMtscv9tEr0AQ5kERiWlmEQCZmiO8izKiaSoEAxtYxdIWMqdG1 X-Received: by 2002:a2e:b710:: with SMTP id j16mr2243210ljo.114.1602689302995; Wed, 14 Oct 2020 08:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602689302; cv=none; d=google.com; s=arc-20160816; b=SYtlheCewxqnU9ML0oopNIDEwJeBfDwNggoCVHLMfJRxlJRm+8zkjosn6aoWflPJXb ReNOHnvsU5Nw4/fs6EdoRQXedxJM05OZn3cuQONANFIsvrpsVmY0owPIYGypgslgtIGe Cs48SyORWKbNoAU3fNfqWY1n4pzB+B7WuQfrIu7bDutOYaxOIT+T37umuWgDoxe+FxUO kdbFwZbJQYVuNxcN/rlHE7Qq6aUiORylw9ygRZjNw0PwGy7h84B6Zx9EOeLNl8pLwtlG sdxFaJ4NnnaHxHKbNtpW7o0vuaFJp4ghEgIDoh3TV7EYf/NS/2FkhIE3IurFkChajVZS 6vrQ== 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=tSsTk6PRzH1Ek26rW5iWcf/bUgyTroFW0E+JBSHtmVs=; b=olyGFaND7wb8bmYBEEaouVR9ScywRS/F4MyYCcWBjCVTVzTTuN26MSKYjgJFZXZ5hN 97YDQ7IEx0e8S8eN1SY3YFqZ0knDpLCLYJSLxqWPPgXhU5fMOiCtZduTS34DUQ8JeE07 7nxszj2Xa9CkyknyXuq/frSPDc3GdU6pwTvxQv68oz0TCMhXLwWQnK/0uU7scAzZVpkg BOj2TGj5FMG1OSrK15P0ovP+P8cmOTSP1pJeRnmOt8rWQ5XL/B3Qpl/uHMpqKjY0rFok iq1RfB2gaJ/Q6jkjI9QcDY+KkShUa0fZw2ANyrW1RVPqFeD8y9lj1Wz3/d498D/z/KLY 6ieQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 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 lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id k10si107247ljj.0.2020.10.14.08.28.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2020 08:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 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 lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 09EFSMHV015810 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Oct 2020 17:28:22 +0200 Received: from [139.22.132.102] ([139.22.132.102]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 09EFSK58025109; Wed, 14 Oct 2020 17:28:21 +0200 Subject: Re: [PATCH v6 0/8] WIC update To: Vijai Kumar K , isar-users@googlegroups.com References: <20201014132729.18571-1-Vijaikumar_Kanagarajan@mentor.com> From: Jan Kiszka Message-ID: <1e2d3ac5-b976-1075-8fc9-aae9a2beccde@siemens.com> Date: Wed, 14 Oct 2020 17:28:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201014132729.18571-1-Vijaikumar_Kanagarajan@mentor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: XuhQcecvBj1s On 14.10.20 15:27, Vijai Kumar K wrote: > Changes since v5: > - There was an issue in rebase of v4 in P3. Fixed the conflict properly now. > > Changes since v4: > - Rebase against latest next > > Changes since v3: > > - Rebase against the latest next. Drop P4 & P5 from previous series. > - P7 fixes the kernel update in legacy bios boot image > - Minor documentation changes. > > Changes since v2: > > - Dropped P9 from previous series and updated oe-core to the latest revision > which includes that patch. > - Some minor commit message & API changelog changes. > > Changes since RFC(v1): > > - P9 commit is upstreamed and replaced with the version from OE-core. > - P10: Lot of downstream projects tend to use /boot mountpoints for bootloader/EFI > partitions. Added RECIPE-API-CHANGELOG entry to warn user about potential issues > that might arise when doing so with latest wic. > > > > Vijai Kumar K (8): > wic: Update to the latest wic from openembedded core > wic/plugins: Fix wic plugins to work with the latest wic > wic-img: Satisfy the quirks of latest wic > wic_fakeroot: Handle standalone pseudo invocations > meta-isar/conf: Add provision to debug WIC > debian-common: Add tar as a dependency for wic > Fix legacy bios boot partition > meta-isar/canned-wks: Remove unwanted /boot mountpoint > > RECIPE-API-CHANGELOG.md | 26 + > meta-isar/conf/local.conf.sample | 3 + > .../lib/wic/canned-wks/common-isar.wks.inc | 2 +- > .../scripts/lib/wic/canned-wks/hikey.wks | 2 +- > .../lib/wic/canned-wks/sdimage-efi.wks | 2 +- > meta/classes/wic-img.bbclass | 18 +- > meta/conf/distro/debian-common.conf | 3 +- > .../wic/plugins/source/bootimg-efi-isar.py | 2 +- > .../wic/plugins/source/bootimg-pcbios-isar.py | 40 +- > .../lib/wic/plugins/source/rootfs-u-boot.py | 2 +- > scripts/lib/scriptpath.py | 32 ++ > scripts/lib/wic/__init__.py | 14 +- > scripts/lib/wic/canned-wks/common.wks.inc | 2 +- > .../directdisk-bootloader-config.cfg | 8 +- > .../lib/wic/canned-wks/efi-bootdisk.wks.in | 3 + > scripts/lib/wic/canned-wks/mkhybridiso.wks | 2 +- > scripts/lib/wic/canned-wks/qemuriscv.wks | 3 + > .../lib/wic/canned-wks/qemux86-directdisk.wks | 2 +- > .../lib/wic/canned-wks/sdimage-bootpart.wks | 4 +- > .../lib/wic/canned-wks/systemd-bootdisk.wks | 4 +- > scripts/lib/wic/engine.py | 421 +++++++++++++++- > scripts/lib/wic/filemap.py | 170 ++++--- > scripts/lib/wic/help.py | 401 ++++++++++++++-- > scripts/lib/wic/ksparser.py | 121 +++-- > scripts/lib/wic/{utils => }/misc.py | 100 ++-- > scripts/lib/wic/partition.py | 234 ++++----- > scripts/lib/wic/pluginbase.py | 36 +- > scripts/lib/wic/plugins/imager/direct.py | 175 ++++--- > .../wic/plugins/source/bootimg-biosplusefi.py | 213 +++++++++ > scripts/lib/wic/plugins/source/bootimg-efi.py | 171 +++++-- > .../wic/plugins/source/bootimg-partition.py | 153 ++++-- > .../lib/wic/plugins/source/bootimg-pcbios.py | 91 ++-- > scripts/lib/wic/plugins/source/fsimage.py | 56 --- > .../wic/plugins/source/isoimage-isohybrid.py | 185 +++---- > scripts/lib/wic/plugins/source/rawcopy.py | 44 +- > scripts/lib/wic/plugins/source/rootfs.py | 159 ++++-- > scripts/lib/wic/utils/__init__.py | 0 > scripts/lib/wic/utils/runner.py | 114 ----- > scripts/wic | 452 +++++++++++++----- > scripts/wic_fakeroot | 5 + > 40 files changed, 2433 insertions(+), 1042 deletions(-) > create mode 100644 scripts/lib/scriptpath.py > create mode 100644 scripts/lib/wic/canned-wks/efi-bootdisk.wks.in > create mode 100644 scripts/lib/wic/canned-wks/qemuriscv.wks > rename scripts/lib/wic/{utils => }/misc.py (70%) > create mode 100644 scripts/lib/wic/plugins/source/bootimg-biosplusefi.py > delete mode 100644 scripts/lib/wic/plugins/source/fsimage.py > delete mode 100644 scripts/lib/wic/utils/__init__.py > delete mode 100644 scripts/lib/wic/utils/runner.py > Issue still present here - did you check against the STM32 case? Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux