From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6864480010557718528 X-Received: by 2002:a17:90a:e44b:: with SMTP id jp11mr3363575pjb.96.1599073017596; Wed, 02 Sep 2020 11:56:57 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:8d89:: with SMTP id v9ls1633613plo.4.gmail; Wed, 02 Sep 2020 11:56:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAb/HPvOUE4G78Qd8fCYK6sreeQ8ij4Y1EzSq5WCDExQXuhYnHdeYnybhSH8sQcV+jA8Gz X-Received: by 2002:a17:90a:7f8a:: with SMTP id m10mr3556715pjl.47.1599073016991; Wed, 02 Sep 2020 11:56:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599073016; cv=none; d=google.com; s=arc-20160816; b=bfRjDhONbEjLfqZokcBlRdXOCS5SQmZVMejnLUHmL2fpxAJ2ipicKtMeh+JfTv97Q8 qL61EhAeSBnHB1qMgPnbz0gPU28xXtjDSFuFL0BJEd3naH72aSkq82qTOIcsSxDdlyl6 ZBH6DuDb8u0TPc7zVBxCP9INgfCwvhNfqOHUGyC7+Igm7ttXd82bSUUPafG7Q6YRAZ3Y cIiUTvxiFn2obHum/7ko+HVptvaxgtal4vXhIvD48q56uwfV72XeVh0vrJJQfgZA0RCU OgPhYhKjh6YBLil1s2rTHApJlh4fSiRx/E7o5YiPiOTnl6yfDpV782QhAYNrA5xRWpgg szTg== 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=QQQpmmLIsoyr1hzpyojs3UEdObpeu810RsCY925hck0=; b=MmpdT3Bqf6AUHvbmo27t1QmRjEZkbeTkl1yEh4WCekraiA2etctKx/5QckyfXDdR4D fwjxjcytuqWoP3kZ3rp3p2SihfmxLRLuDZAidN1C7jW1zE3p6qQY/p19vi/O6kU69uC+ KAEOCLZmNrWK7oSh4x1u9otFe3QsxwEnq2q7nMVDvDWU+p95nEyjAAuUtKbIyh0Tj8dM ec1jom7TJ5yXhGSKmXC74mzhLf1nnn1qZ8NRyNIG98o2aFXlQ8iPQbiT3PtFndQlNP8n hKT0GVqPFE28TX5BoRKe4IOi35OdXYaIoYQ9C7Rrtk+mtDLU+pLSH3v3WRRMan02YaH5 6A2Q== 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 a199si43434pfd.1.2020.09.02.11.56.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2020 11:56:56 -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: e6G5ZkDKB6nC6tbHB+t6SoMl3Lg1CFF2KmzzBLaPYcLWsPxfvLj/DFKWpeTGY9EFnpE/HeLLCy inufQVLGhdryWRBNMaMw206PxT1SjY2pYcs5pIPE0pFasr1fle2XnOa6IryZaATezp1iaLbLx0 TVLnkvIfEh+wDc5Ap+e+6VrUZm9UR7V/yUy5Gd7RVWJuQP7JYBB5zw5PnTQiqMziDh0RBlUlBD RsJAi7UwbokcBkLm63wWok53bblXb2rxA6ufaVojX+Hmm5Bckv8dwRTwyPJBZ1jqmB/iIHA7DG Wz0= X-IronPort-AV: E=Sophos;i="5.76,383,1592899200"; d="scan'208";a="54698476" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 02 Sep 2020 10:56:56 -0800 IronPort-SDR: HEGVLz1fYqblx5VZMZ2VFs6YfohffM9Lmqz2mR8j4RLdr1o9A+5p2uE/wk8NbwcXuVGJtcqcbK xxoqpI+KHdkKlw76/nw86U6RTqcztOcEgsMtJ6k0om6sa25Uw7tZ1WakDKCq0ezEDKhTWDYvS+ XL6Dnu8hNX7Ovt10m4qqFLUB+URzB5jtEK0IJnNKluAQ4U4UxrR9kcniIDpaKdFatI5mhuE886 zquMduR30jFWKNp4aTdzqGLrqGTRCy6locPrSh5amKIb092+p7WmetlKt0sQF48XOJXPecq4w6 oWk= From: Vijai Kumar K To: , Subject: [PATCH v2 00/10] WIC update Date: Thu, 3 Sep 2020 00:26:14 +0530 Message-ID: <20200902185624.15044-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-07.mgc.mentorg.com (147.34.90.207) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-TUID: cf9CbjgcESHZ 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. Henning Schild (1): lib/oe/path: try hardlinking instead of guessing when it might fail Paul Barker (1): oe.path: Add copyhardlink() helper function 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 wic: misc: Add /bin to the list of searchpaths meta-isar/canned-wks: Remove /boot mountpoint RECIPE-API-CHANGELOG.md | 17 + 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 | 15 +- meta/conf/distro/debian-common.conf | 3 +- meta/lib/oe/path.py | 27 +- .../wic/plugins/source/bootimg-efi-isar.py | 2 +- .../wic/plugins/source/bootimg-pcbios-isar.py | 9 +- .../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 | 115 +++-- 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 | 111 +++-- .../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 + 41 files changed, 2357 insertions(+), 1036 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