From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6864480010557718528 X-Received: by 2002:a62:3802:0:b029:142:2501:397e with SMTP id f2-20020a6238020000b02901422501397emr6610709pfa.67.1600267844835; Wed, 16 Sep 2020 07:50:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a62:6883:: with SMTP id d125ls860871pfc.8.gmail; Wed, 16 Sep 2020 07:50:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykpbgf00kWcimJXBbGk1Dm5WTXbwkm+VEpI29ciCW8Mqb5DsvCD0kT34SpEuZBgJPD1q7y X-Received: by 2002:a63:f90d:: with SMTP id h13mr18757700pgi.227.1600267843984; Wed, 16 Sep 2020 07:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600267843; cv=none; d=google.com; s=arc-20160816; b=jkUNfa6e1EJiJmNu3YjVnx6AnE6aZU1MEXKZqBvE0x//9Yb7b3e858aiTPuOfyUaGb ycB0Q3u/eV+vbDh6flHw0a9taSuXBbt6DtUuzlo/IwSe2ySxXm++kOzz1GvsZkejF21i zro9lFoEr8w43uFSgUT0UaB96CVRassjQ43GtoOKv6PKKafkt3+r0a+M9FSmfC4RiIHw eRi4MBsQwT/i56sGuPh6jWz/GUoTaqm9f0lpzyuteQDOsRHLSfImEc5IbuGyuMKks6Ka LDCgmn5crc5Z/zF5uJPvIbPcqESXSxr28gbeDsxKX5FmFQGfpRHYHSpC46mJb4kuKX9R Sh6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:subject:to:from:ironport-sdr :ironport-sdr; bh=ifrVqb26Fa3yP9zWzlVoFTyOF9vQNH5whNiNlFlchm4=; b=qsr9Z5cgbChar6C/DAYSqwbrUzmF0sl2GOt8FZVtfmXg3Khe1k/pC7Xp5Be72jjxeY iNhF4YYOdK214aTbpeFyi5mXK9vAOoojPOEM9OC3mg+hn4Xlu3xjm13lNT+APRUADYob +bhsMu84NVI2erRSNcY71U3byWGEuxB1wnOSwgKVoFW2p0/sCG9HUXWGEkVNgrV3Epfx ZE4ycV5ZFkurrb7MFkSGrS+fQ1LkAY8bBWnOvr0ID2sdT4NBXYSJtTUlP57YJsuMo3lu QVLYp8KMnsgjx1NTS+3PRBVG7F8UMvyd2d7u+SY2mMrT7qqCXzugbG17dcI680sB0OBZ cbhw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com. [68.232.129.153]) by gmr-mx.google.com with ESMTPS id w15si320460pfu.6.2020.09.16.07.50.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2020 07:50:43 -0700 (PDT) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.129.153 as permitted sender) client-ip=68.232.129.153; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com IronPort-SDR: 37qHj+4ehCjQHr7zCmRDuvYvmP6WOXCjHcizF0dEgATcoeZGtGiqps+ArPVBoTJ5JPZUEjqY00 YpoE4H3OG04Lh69neEZeZSIvTi6qCwEceswLat4PHf/D3wLbf90F5anBQUQLcCk77Kd9QvJrwx NCOZgBrUXgm2RCHZ2DsxmbxdH9hccY4m618xNol2OW11EPNSOw1c9+S/60K4VipcQx9N4R32yn y1x3kdc2YUQQwV5dgScsFQ8trYXcKBUuEPiosblH53OgQPX35Eszluk5WG2gaoN//MNc602eRR jX0= X-IronPort-AV: E=Sophos;i="5.76,433,1592899200"; d="scan'208";a="55173141" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 16 Sep 2020 06:50:42 -0800 IronPort-SDR: 3iCn3YB7AjclYYHHcOWg5sRWuyWDlK4/taZfy161zVi52j+J2wxUT+d3IM78BUVlKrCa58vSop 2FggjN1JtpCvVJJXivqNlNdxdnzjJQec1qh/uYUsP82Z/4VkLNBxjypbLuBqTI8QdXpvgotNSN 5mLlxOf01XfH7qISY9rQ6tmk+dpGcZPZNQ/63lOQAnNxv1eqh3dtPVIianiyQfltSxQpaJjOTY lMhylUIdVgDYkBICRUPKnFNIzfPsVq45qVwDjQKuTQdoo/4Yru2bfQfziukprJZ/3lgpCB1Fz+ zf8= From: Vijai Kumar K To: , , Subject: [PATCH v4 0/8] WIC update Date: Wed, 16 Sep 2020 20:20:13 +0530 Message-ID: <20200916145021.5856-1-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain Return-Path: Vijaikumar_Kanagarajan@mentor.com X-ClientProxiedBy: SVR-ORW-MBX-06.mgc.mentorg.com (147.34.90.206) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: /GSsQUluFx76 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 -- 2.17.1