From patchwork Sun Jul 10 23:11:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1948 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 11 Jul 2022 09:12:47 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f192.google.com (mail-lj1-f192.google.com [209.85.208.192]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 26B7CkMt005581 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 Jul 2022 09:12:46 +0200 Received: by mail-lj1-f192.google.com with SMTP id k3-20020a2ea283000000b0025bcd580d43sf654231lja.2 for ; Mon, 11 Jul 2022 00:12:46 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1657523561; cv=pass; d=google.com; s=arc-20160816; b=OQTks35hX0fIcF7LCAEIrooK9Mxpox6MRvq1vZsLC6HnNCfFVMYXxjgUbzKVA2wybr CgWzRAyg+9mkozFzRv2DJtVgn4HAe6bmAmkFlrXjHwCIa4m4LcaShM+XDfoaEyKlGrjm KxcMElCAMGcHMtu2+WUCXtW0ijgUUsKYsBclE1ZZT/+XLcKhzoixmXULGEncbhhjiS1f blh1Ugvxln/lcZc/KFcthrv+hwgWRrqHG1Ocz64ijwQyDT9RR93Kt0jVbgVE3JdrFjrG p6rn6mSSubQs9OV+RKaJ0vLO7OW8h4vRkB3Ci475P0Yyq0V29J2xKwrxG61Ae0HLsRNr F++A== ARC-Message-Signature: i=3; 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=LsHvLdjYRrMbaee2biKScmbuTq8VxAxLVZb6sGrjDPM=; b=F1SFsJWedTKXbC7U+qsBEHQXATCw0sYxi4j+TvBtfiVnejSJlp6bSNVv039yvF9Ynv xgkLGN6oUVZ8EHRd8D7f2LR/8iybnSWDyke4pKeBVPSjzQWgNOjupqX/Q+C6QHmHnwMI oKHZbj+7etw0gvTrgPnOnU0FJRKg632zo1j2Z9yYukdgdElDMEvejWVaE1D0Yb/XZGJ5 ttIJWTC0oVpB6xuCbSqZL18+llAYGvJj9FoXX8q89s0RekD5lp3YWoA/Q/3gKlJHS2an JrNR8VWdOEZtJ+QeaWIZITlcvkA/GE9zYF7N6jQSeaozqZ8MqA9FJfGqREOqQHDAMl9I kpRQ== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=j2fhKPBO; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.53 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LsHvLdjYRrMbaee2biKScmbuTq8VxAxLVZb6sGrjDPM=; b=FU0rR5Xt0r0Xi7vlu2BxchZwBh+Pfl03tuAWSUjw6d8O1XE2ns+UJwoByYGvQVhLGs ntOLVGkohflQL8c7cfd5NHvywLp+57dL4Sr9tahRNyZz9NI7RCFh+vEDU21vfBGd+Igt spVoHAb9ijVVhKcaqKR5Xr4nompJzLybNIQ2bDlJQ5t4NVoDyzb2TxdHlD6PSAFmaTky BFjVgOwgIaqh3wPU/k0+ZEfquK3GvOMnIgWbHFSqFVs+geQfTAyH4D/Ax95jUT8SPqrF MIkM2fzUty5tUWVGeepgJRwxbbqTJShi1mTTTMhJLcMPNsnkSpi3S+ASRR7b9iAYo4W6 BvTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LsHvLdjYRrMbaee2biKScmbuTq8VxAxLVZb6sGrjDPM=; b=0rxHnEVwkKeOgN1H+rNhQi9N8X4MgzQgb16a80nvv/3y7+BMx9CCGIuBCVvDBf46iO Aw/hrhsvB+xURvSznRs00/wcK7b5Elfc2cb5R75nkf3OVfoj44z0GWAFMzcJNJHlSdtN 2maKkIiIT0yOOnyIn74JsBSCGe+mCBH/+OyDkTY+jO8QUC3pvXdD3/RloukQm34yFwVk rvGnuCuyLftUdy6mBqiryHsGQM8DuNnaXnnDNqgXyskQViS1Fus+wGUdcvRXwE7pLX3x S28qaosqv5hVpEvLG16BWeMX5U+B3s0AIIVYZb5KYWmiUoyqw4JVWltR2fq6oI4WZvTN JVrw== Sender: isar-users@googlegroups.com X-Gm-Message-State: AJIora/aG02Jt8tYMN11rbi9KWlw7y3BCuA0lxGV0reO8fNk0bCWQLqu mNQ5AEAdnxwnQjgSG57tOlU= X-Google-Smtp-Source: AGRyM1tu33oJAze98upWY2BoNgprn6xxsxQ80xUJJmFt9abSg3p1DPGiQn8EoiURoPVsTg8t/51DaQ== X-Received: by 2002:a05:6512:3f84:b0:47f:673c:31b7 with SMTP id x4-20020a0565123f8400b0047f673c31b7mr11458012lfa.473.1657523560904; Mon, 11 Jul 2022 00:12:40 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3e14:b0:487:cd81:f0e6 with SMTP id i20-20020a0565123e1400b00487cd81f0e6ls492818lfv.0.gmail; Mon, 11 Jul 2022 00:12:39 -0700 (PDT) X-Received: by 2002:ac2:4c4e:0:b0:481:61e6:9b65 with SMTP id o14-20020ac24c4e000000b0048161e69b65mr9918070lfk.245.1657523559859; Mon, 11 Jul 2022 00:12:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657523559; cv=pass; d=google.com; s=arc-20160816; b=rd5T7z6agwI11izR5itVp59jdhRbPb8VPRJKQh4WCs57BnNrj4HMyIjqiKwb62vE/e pWdqBYzcrx+f9FIc9FUpp2YrZLCzP4kOuK2SyTvYAX+Whx2r5tQsttzau2MNW6fT55Gm piR+8O0OCD1PwGQtgznEAWRw3LuAbqE6t9759vbsUnVP6Yv4eLNZJ6AfH/qO34zpZ4sT gJj+ZtIbiJfmcNnYBpAh2SoGvSoXp015tE33QG/4MRxAsSikmuOYrmKpKO9iBUF0MXRL VNbYZXtIluFnnKgdnW1Wm5ZzKe229gLwFijkaoxa6/y2ZFWJFOmO2qtZ5sVLKcWSE+pn QHjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=AReJ23P2BZVBOkRDswQ2HIC7DeyfHzGotXQiZPXFQhg=; b=WWhVQRhOoAdAJUFKb/sUfiSNrMDzp4RplTPaSEXYcWC9+eLYHHFk34I6qz8OVaehZ8 gIAJRyARcHcPVES5vKNUz5Y2qQKlapJ01bGMiZFln/ZvUC25nu/yN7stMB6GPlo4SmSr daiQcq/aocJWnqlFmcDBYmsW/WPYOgkOeaZXAXitWNN7+Bd5dr7ZPoXUciQkBY0NFAU7 Yuwdv6sXBfMaSrnor7R5IMlWsQxFs4uJgWt6Zv+uhPDk0AO1CSt085kaybtrc87CBkGr oy2wFXqYN0sRetHd318LoLGhTFpIIwFWK8tEO8R2nJZgKpruWdiPhfh8zwpyqM8Mh6Rl 3GwA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=j2fhKPBO; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.53 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2053.outbound.protection.outlook.com. [40.107.22.53]) by gmr-mx.google.com with ESMTPS id v9-20020a2ea609000000b0025a8d717b7dsi196755ljp.5.2022.07.11.00.12.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2022 00:12:39 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.53 as permitted sender) client-ip=40.107.22.53; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UNTrXjs0ncW7YQqCy37y7Q0tpUPZzy6ThMFEeLvQR0pBwAPtiJN/XUFSmSeb1Yve7HxuPlfIgEUxvLxDGSbw3xfHuky7EVwXxno/75lFTIBTIPbfbrLPRIKTyfqs4Pj+afFByNI0G9s3fnIxwPWKHz5gkBWSK+u9Mc/26vLKUbkXXZkEJWOmVH2cKhDoRwonc/Tmlsdh9vuvBfC/X5JWmk3IhrZsTxa6S3kqo8fqE30a3i1NWQ4lcdeP4BkflyXVsD1mn1SMbrd1tbn74skhr4/fJz0qwWEVYtu3ooHDgBQan4JqTGjSraZNHQnNdyiez0s7bFZw9qbWNA+Vm6PLAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AReJ23P2BZVBOkRDswQ2HIC7DeyfHzGotXQiZPXFQhg=; b=kei8p0Bv67+iTGuf4YyNalwCt1omG8ZHEUA/zdSS15EQ6YkVx2NMB5UlZw8+6VcPWTDD4+okOu2pa5D2e3drr/5o4Bsa9DuvPoyCBdSiLf0843u4khelTjwmbIU0gazuzOjyIv850AqXazeJN2u6LC9aC6PG9+ec+8g3cMFW+EiVR9DsgnPHrMo/nE725FCRYhWLEODir+3q5c0jLAwOGKxpFrQY8hrgfLBE5txSUhpy1WtQ2gVxk+Htu08nXoFacvcgrmdwCwiVS3vn+4TGpfCTHaPuTdJMg3IXhhQOSSzvE88AUCCgONgSgeOaNy1Bn7+XEg/LBEn7FA7SCn0VWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.71) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none Received: from SV0P279CA0039.NORP279.PROD.OUTLOOK.COM (2603:10a6:f10:13::8) by DB9PR10MB5786.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:37d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26; Mon, 11 Jul 2022 07:12:38 +0000 Received: from HE1EUR01FT063.eop-EUR01.prod.protection.outlook.com (2603:10a6:f10:13:cafe::6e) by SV0P279CA0039.outlook.office365.com (2603:10a6:f10:13::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16 via Frontend Transport; Mon, 11 Jul 2022 07:12:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.71) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.71 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.71; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.71) by HE1EUR01FT063.mail.protection.outlook.com (10.152.1.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Mon, 11 Jul 2022 07:12:38 +0000 Received: from DEMCHDC89XA.ad011.siemens.net (139.25.226.103) by DEMCHDC9SKA.ad011.siemens.net (194.138.21.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Mon, 11 Jul 2022 09:12:37 +0200 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC89XA.ad011.siemens.net (139.25.226.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Mon, 11 Jul 2022 09:12:37 +0200 From: Adriaan Schmidt To: CC: Jan Kiszka , Adriaan Schmidt Subject: [PATCH v2 1/2] sstate: Generate image packages using sparse Date: Mon, 11 Jul 2022 09:11:54 +0200 Message-ID: <20220711071155.776897-2-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220711071155.776897-1-adriaan.schmidt@siemens.com> References: <20220711071155.776897-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC89XA.ad011.siemens.net (139.25.226.103) X-TM-AS-Product-Ver: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-AS-Result: No-10--13.163200-8.000000 X-TMASE-MatchedRID: 9aSuCSGb5I0QwVtkLIfLLbNuyci3jPewv0fUUmb+U6IItCy6ZX/lLy04 j1lb8rc6B2QWi8BF5ShpRezoWC5XLSl9nT9UZB2ZrWZPFq2mWaZzziCJc+q8RtKhw1CGAxrI64s VlliWKx8fE8yM4pjsDwtuKBGekqUpOlxBO2IcOBbcxoB1CVv6FC3wQ27+dC83CbZaI4A9v45dab NG2qoFhf5u1JnGADtM X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--13.163200-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-SNTS-SMTP: E4203AB084A8177C9D47EEED31D8170FB31D49E21F438FB6F03BAF1161890DB72000:8 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3fd87f3d-9b96-4369-9d0b-08da630cbc92 X-MS-TrafficTypeDiagnostic: DB9PR10MB5786:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G9sN8505BKfzZfWWHgOfrGlUwg4wJ3tKvoiTYPpdP+XC+0Ac+8G7BJKi3U8J3tqQXysLUaE8UXB0mGHU9hBEudkOiV9dIpcRy/koHpsooTGXIXwYuIWxE6Bos1ldxE07C7LNiXPRdZkkY6MVrS7Yc0PswbKGSXButdU9wHWEFxRH5NvfFPDS9a10yizWBr3HbIVdVwX7lFi24R8xOIDThfS36KI4F35b40qvoBE/NTvzUAsMeaV33PPcfNY2LYuncfwdtz7AklK67T7BXUpil9Nt4UGx+yvbcigLXL2yGwzXaIQjEr79pnpqfMo56sPvmmwbLEUWLi4EjTSpz1xX4xyRDpW2RLur2wlDlgrLzk6d0BGE0eB0VUvpNenH6ChXSC/OLyNivGOpooLkfv836/KoPMGCYPl+ScGAVNynH41KJzkldkf5V7BgvScl+QQ1dP1JCi5xF2vNS6iwvnAkYgMSCvDAazSLrUVRXQiI3NXSPt6gUVbQcdc5g7XpDVD5qNS21ebpN7TjVNvC1T79xp7IWrUz3UMp1x5ZcUDHM926WgHAesgwIp15B7M5rSnKpviphIIz8d1I9BFUrnLhW3WLm/U39CdTmyu0U/1Bkmg5TYOTyMdL8LEurtLkeUGdCnpo+lVssXld5bwD+GroiyQD/zyc4OSxS/hNsoKs/0CPmMrzRZ8YicGYoMc7ID583fxa3dtEX1gQrKOFZ6brIYJ/WuegLVkMftRW13To1yIva4fW0NdxRnUktVviLhD6t+ZCnrfi1D3fT8+pg0RUQZc5M03mEKn/jEg3elq+ix6OEisgTueY6wxltE7gn6UjzYiK0Hg1oRmxOcqwPsfDGWE6Hd1V5UYs+FNDG1oHDV0= X-Forefront-Antispam-Report: CIP:194.138.21.71; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(376002)(396003)(136003)(346002)(40470700004)(36840700001)(46966006)(44832011)(5660300002)(36860700001)(316002)(70206006)(82960400001)(6916009)(54906003)(40480700001)(186003)(16526019)(107886003)(70586007)(956004)(1076003)(2616005)(41300700001)(26005)(2906002)(82310400005)(478600001)(6666004)(81166007)(356005)(83380400001)(86362001)(40460700003)(47076005)(36756003)(4326008)(8936002)(336012)(8676002)(82740400003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2022 07:12:38.0060 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3fd87f3d-9b96-4369-9d0b-08da630cbc92 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; Ip=[194.138.21.71]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR01FT063.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR10MB5786 X-Original-Sender: adriaan.schmidt@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=j2fhKPBO; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.22.53 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.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=-0.9 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,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: INBOX From: Jan Kiszka Avoids needless expansion of sparse files while filling the sstate cache. Signed-off-by: Jan Kiszka Signed-off-by: Adriaan Schmidt --- meta/classes/rootfs.bbclass | 2 +- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass index f3272c07..bbb5ac0a 100644 --- a/meta/classes/rootfs.bbclass +++ b/meta/classes/rootfs.bbclass @@ -307,7 +307,7 @@ rootfs_install_sstate_prepare() { # so we use some mount magic to prevent that mkdir -p ${WORKDIR}/mnt/rootfs sudo mount --bind ${WORKDIR}/rootfs ${WORKDIR}/mnt/rootfs -o ro - sudo tar -C ${WORKDIR}/mnt -cpf rootfs.tar --one-file-system rootfs + sudo tar -C ${WORKDIR}/mnt -cpSf rootfs.tar --one-file-system rootfs sudo umount ${WORKDIR}/mnt/rootfs sudo chown $(id -u):$(id -g) rootfs.tar } diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index a453b36c..604cd24c 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -412,7 +412,7 @@ SSTATEPOSTINSTFUNCS += "bootstrap_sstate_finalize" bootstrap_sstate_prepare() { # this runs in SSTATE_BUILDDIR, which will be deleted automatically - sudo tar -C $(dirname "${ROOTFSDIR}") -cpf bootstrap.tar --one-file-system $(basename "${ROOTFSDIR}") + sudo tar -C $(dirname "${ROOTFSDIR}") -cpSf bootstrap.tar --one-file-system $(basename "${ROOTFSDIR}") sudo chown $(id -u):$(id -g) bootstrap.tar }