From patchwork Thu Jul 4 11:10:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adithya Balakumar X-Patchwork-Id: 191 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 04 Jul 2024 13:11:41 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f63.google.com (mail-oo1-f63.google.com [209.85.161.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 464BBdkR009991 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 4 Jul 2024 13:11:40 +0200 Received: by mail-oo1-f63.google.com with SMTP id 006d021491bc7-5c40d6e6949sf526015eaf.1 for ; Thu, 04 Jul 2024 04:11:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720091493; cv=pass; d=google.com; s=arc-20160816; b=Ba30wLQIYdFYJ12J/DrF+4wQ29Uq96gUENXY+lU2PvruS0Qzld6PSalZQ4XSjpyHbY YdeiQapGA3HbxdCELw/hlUOYDpxxecF76TIWkaoKJ6vdszin8xYEonuFPQ7kighvsA9h +S4Ix87f8QlcO1e1zzTpqepOCaMUp6a3slczqdKBMo2sDb8gZGyvOhit9wplaFFmYNPc Fe+zObLuZAYaHFDIWlYT6bMO3H6HCzjICoo688CP9Fa75MQeoc7lofxxXx+tZE8RzN6X oXmPrR9Jzpmcxkz33Xznqs42LZ/kRhpPWG7rJz2Ah1ADy0yiSNT3wmt6AbJJf3Z0MKym Ue4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=8opAYfWjKV264BeQUpx713ZlClDKTMliMUY8ghMybA8=; fh=yTKhlpdo604HHvENb+W6Hwm4E8Jt7EKZk8Ow38b91Qo=; b=SNmP2wF5xUViXwZHkiyXbLJw34EiDGlMJ91c6U0zTZ/60TKB9kL30L+6wk3oxUrci+ B0KGZ+ya9oCxMfe1UKt0lnhZWDHE4UKV/h0ByjNFfRuNOmLJCfd7khnCk36Jf4BNrCZ5 LtXkvkmX6QUNSFoKe6wekJN35ki+BR205E0fTQgW4EPMPA11Flnx+GZztw9QtEdCi2X/ y4fTqFYf+WqzREe39hRPoV6iOZy71OTCzP7x5K8yk6zFF2yuh+9xvLcn3P7HVHP/N64u CUOsntYjoPCmQrHbyZqtAjLkxF4ivnZilQDXZ+A2ejH1rBGWrLzhIRELbgtAhNQYqq8s lzig==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.135 as permitted sender) smtp.mailfrom=Adithya.Balakumar@toshiba-tsip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1720091493; x=1720696293; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=8opAYfWjKV264BeQUpx713ZlClDKTMliMUY8ghMybA8=; b=h4HEJpdkmWNZBJcCDbeg/lpSL5dSl/J+9wFzpPj3NJUYc4lqbDWHF4fHoVtwWkHqQh pWitUkvKSod4FKhAm/1zdH3Eo/vTRNjO7FOa8MTSrNInkPqKuMq2DmHefaRg6pQU/tUh CzNOuiNcvyxdrJuyWjrLlIW0s0rDxWBZEZBgRjoLuzENuuswM2+oID5EuMxjZbb/MQ0c zP1AgfMzhd3YRRMFyUXedkAkcMD9nxgoivFnHMxaXp99irw5dpdwUKbSG0lRVJNpoIai dPL0pbUtOvbZbfAabQOSKZmRnhsJvzXjKT4CkHgQ45oCA5BHzZgTuRUpMLpU65ZoLRik 4WSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720091493; x=1720696293; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=8opAYfWjKV264BeQUpx713ZlClDKTMliMUY8ghMybA8=; b=KY4nGKHNDk0r3Hh8vyYwjY1J9F3/74ZU3iN34yc4Ox4PvcX2vLtrHY04bgDG/5pqln ttqkwnTVmslkX7Yzy7lPD/06d7nV1NL5KnKSD/DamEL9bH7R7a/sEH0gPtTSNTMFpTKj xtFBegUODjiHQMWejerrTwQtWsf8JwIN8H3CNc936vSYg+6wQcqdZ9b/p583d9ENpwyu ngRVhFIY/bBgpKSw0c223Zq7yGQsg0dehiCdFqlBSNS/Azp0+0CjtsWdLLTvEL43flFz lOS50ujyb7jmlSsBF3DyOKLRR9Jm7gd26lQnJSZEOxF8BORailnkCrBPJ0n3PZJIgHRX ZUiw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWWEA3ep69+dlqY1AyjXROpBrrMyjIBZmj23vdnqExiAty+a0omN/ggJUBxL0GDpYrNxkcpxfGHcudUg/Foq8gCrlh22Ck= X-Gm-Message-State: AOJu0YzllBcB9F4/lDG4cIoae4f3GYNGTsBUaa91Z5O4J3kL0WKDN8A1 DA6GH+yFU1G09alWGkf7Qn0A+zKUmi2FFBa0CEv/5TkwJpfsktrY X-Google-Smtp-Source: AGHT+IGu9beyHHV8VKdIaHKw/o0wb9zFj65TxC0+Dkuv7wR0qRuhW5LMxqJRRxjXmqwHz9S69k3u7A== X-Received: by 2002:a05:6870:1496:b0:254:a881:cec5 with SMTP id 586e51a60fabf-25e2bf1e319mr1079340fac.53.1720091493431; Thu, 04 Jul 2024 04:11:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6871:68d:b0:24f:f0cd:4790 with SMTP id 586e51a60fabf-25e285d52aels719240fac.2.-pod-prod-04-us; Thu, 04 Jul 2024 04:11:32 -0700 (PDT) X-Received: by 2002:a05:6870:fb8a:b0:22e:8408:a98f with SMTP id 586e51a60fabf-25e2bea68a3mr1117711fac.36.1720091492645; Thu, 04 Jul 2024 04:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720091492; cv=none; d=google.com; s=arc-20160816; b=lNmwTSERxpiBhxf1NMptyQ7KArmmYI0i6Sqm8YqTxn05hfo0vlDE92r4/zE84HWJ3m jbV9DPKXMJucdFt2GSfyFgm/j5ke5PobmDfdoxrXaO4e0P81gBwomtF7k8H5A/qjxvUp 1vO76HXyrsjJjhuVTtMjXrluZ7eX93Y0sJNUTD/5sgdQBVxlqgcyrzJpkIdFkzBkl161 dRq0qaNmE/lSO63goQIojxXB3Dnk/7a4RVDwOcnNOSsDB9GlFdGqccvDWwyuZd3r7Zif yFF4pasK54uE3f7IebfYU6YXjsgDw4xQl+khApPnCPGt8sBsMYtlrNpbvy8YvDmu7kaO gmZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=5+stR2/Q+JGXJy28ZwWa4o6XAQq3QmmtllMVqBz5GUw=; fh=RYZmcCXJcirvewR08yWj1ALPTeL/uhrF1yW+EUNwYhk=; b=WiA7Q5uESeqGONSgLUxqvozDAYDJs0VVQY9dQkF+s8S762WFo7GeIgfEXaSVDMXpQ4 ZvCiyeRpPOGVg3szfFfUsfayPR1BxjWVH6Q80ojDEQTt9Te0BdK3HNIsDpMYJklr6h0l Dz3IHEm9nBUQtUb5/4Iaq9zwPV2iF8pw9h5tVpviIsy9frGtV9A7Im+wVqQdt2+E+02I DFhV5DX2qPtJF6Ujad3h3DrhuAjNESs1fKbWQXvOA2dRqRwF2DDk8KlEkv41/OAtAgvh psDEcyNGozEN7iomdPUAOfWcmWhdbYdX4wmsGlqBzzeWb3tYUMQ/bJ3FK1B+Kaqka1r/ rDgQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.135 as permitted sender) smtp.mailfrom=Adithya.Balakumar@toshiba-tsip.com Received: from mo-csw.securemx.jp (mo-csw1801.securemx.jp. [210.130.202.135]) by gmr-mx.google.com with ESMTPS id 586e51a60fabf-25d8e46b4acsi610227fac.5.2024.07.04.04.11.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 04:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.135 as permitted sender) client-ip=210.130.202.135; Received: by mo-csw.securemx.jp (mx-mo-csw1801) id 464BBSrS3967366; Thu, 4 Jul 2024 20:11:28 +0900 X-Iguazu-Qid: 2yAaTpjbldPZydXwC8 X-Iguazu-QSIG: v=2; s=0; t=1720091488; q=2yAaTpjbldPZydXwC8; m=WxdiVAJoxiHgmfOGCfd/cvkkHYBnJRFmnpWmB9zSjaQ= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1801) id 464BBRwH3970235 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 4 Jul 2024 20:11:28 +0900 From: Adithya Balakumar To: isar-users@googlegroups.com, amikan@ilbers.de Cc: jan.kiszka@siemens.com, kazuhiro3.hayashi@toshiba.co.jp, dinesh.kumar@toshiba-tsip.com, shivanand.kunijadar@toshiba-tsip.com, sai.sathujoda@toshiba-tsip.com, adithya.balakumar@toshiba-tsip.com Subject: [PATCH v2 0/1] Set hash-seed for empty ext partition Date: Thu, 4 Jul 2024 16:40:52 +0530 X-TSB-HOP2: ON Message-Id: <20240704111053.1647620-1-Adithya.Balakumar@toshiba-tsip.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-OriginalArrivalTime: 04 Jul 2024 11:11:26.0630 (UTC) FILETIME=[E9A96460:01DACE02] X-Original-Sender: adithya.balakumar@toshiba-tsip.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of adithya.balakumar@toshiba-tsip.com designates 210.130.202.135 as permitted sender) smtp.mailfrom=Adithya.Balakumar@toshiba-tsip.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= ext filesystems require a hash_seed to generate deterministic directory indexes for reproducible builds. This is handled by wic in the case where the rootfs plugin is used but this not handled in the case when an empty ext4 partition is deployed. This patch is also shared with openembedded-core and also accepted. master branch commit: 0202fb594fb05098cb8d8b6088e63beb40b5906e scarthgap branch commit: a4e7334a4b87f1bb1947f6b10f71ddb445c91d0c Changes since v1: There is no change in the patch from v1. Just that this patch is also applied to the scarthgap branch in OE-core. Adithya Balakumar (1): wic/partition.py: Set hash_seed for empty ext partition scripts/lib/wic/partition.py | 37 ++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-)