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 } From patchwork Sun Jul 10 23:11:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1949 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:51 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f60.google.com (mail-wm1-f60.google.com [209.85.128.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 26B7CoiF005587 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 Jul 2022 09:12:50 +0200 Received: by mail-wm1-f60.google.com with SMTP id bg6-20020a05600c3c8600b003a03d5d19e4sf2322246wmb.1 for ; Mon, 11 Jul 2022 00:12:50 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1657523565; cv=pass; d=google.com; s=arc-20160816; b=GX5UOOqA54Bg1MIViKN3C3E5XPYdJ6x6lcvEejsGfcEiDszsQoiKhg1RxlqynOzlpv cE+sjpqNAQHcSqzsciD9gJCuTCJ9JPiDeuUmaI8BKTJvZg61add2Ik0JX03h8RKsUaBW b03yTLUwxVgy2HRfNkRkLH3PpgJ1B5PdShLzJmav5M+MCJZi5FHQExYDb0R7WnJwWb5P V4vWk22czdrdo/mbKDwqYuSFBP/xhxMP+ivom+mi9Rl9t8UddACe4ZLWaAO2MXA+lbli 5N/Hy19ClJO0LsyH2+JQmK1ksKcVKt2dMwrDIRLA7lGTM37VvWrx1YT1dNaOOEL3BBfI PGRg== 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=eazsKDI10sjRaEg3iP3RjeqnI4GLKZUDduRoiAkoAxM=; b=KeMByKDbosms+5dzO6VC/1FPlUc5yLPkYm8PP/qF+1EbRz+pMWK94W8FGxpt2itWXv HwmFYnyZ0Qixl973iqawCeIj0Q18H9+bkVyIqcZHPI7Dft22N1l/W6HLsfgYI+z84srg EzyydxafBslrwEdwPOteI23JbukN2EHLKSNvhTr7AgRT+mZ2E56Plvk0bhh9VLLj0CRg eWrt98cnv7H93je2D79JVsjXNPAxiyZ0ybOPFrmft5gvTNih4LtLy3ZbAR00oeJUiryD p8eSzsDJIT/62oIsFKg7gppIGxtKmRVwbb4m9wMfwWl5b+rkIZ+fUou2qoUos9WZEN/A gVXw== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=aMIPoiW7; 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.2.77 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=eazsKDI10sjRaEg3iP3RjeqnI4GLKZUDduRoiAkoAxM=; b=dNBIz/j3urZ9+DGwueNA8k9k7atYSO3QOqEmqzgQ+VFbccS1e/5y3UFJTk/ssOU4cD D+Fj0BjGBiu6wbRe4UAdW5spCLn66P9/pWmHLlkM+QFIqp+G2+dSno30oN7Z9JLBypdw leHbMS7VgPdFJzDxMjbl3RYia23cIMF6UQvbhCnUodL1dRcmnw0dbfgnQxjbvTZESfmq QmZDwHsd+mCkcJ4Bry7FngfJDuIh5ld1JdpQO8Wl1ce6YbPIZT6h6KsVD3MpH92S7B4C o29cgEvHlN+l0mZysVWAyiEVZDUc2X2fj9v9CfKqOKAsYeN5br8VfAc1XqWFoDYiJgta pdBA== 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=eazsKDI10sjRaEg3iP3RjeqnI4GLKZUDduRoiAkoAxM=; b=FB7TfKf6qAhr1myguHrBjWwWn/XTprDXgU3cD463FyAE//KzP4nYggM2jewEmmxCUC zlgmDsWGxduEHAI03CKfiwtr9Zg2Clv0E/KZf+pDImsnDDA6+EaFcem1qg2Dufbw9DWP Mf/0XdK8RbDD1xNHtGhQF4LWqLIK7o/tglZ2aOnEuNhiWL0yjuPACIr76PoqQEGL58OH c6yhIbOwmex/PB7TrR+FrEG6r5tErOOibCSc6riFrT+CvVd5UeUjnyEzqF6EEdoUj0R7 JGUw0LLDIcS4Geuttel4C+uKKGaeVlyTq3LReC5Q1YB38LysSmyWrw3Qn0RpYeRPozRF +0qA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AJIora9QZlzK3f5+13jFO7JWunUFFCnYxL8xLpsZs2TvLBbpBOGWCup6 5Tw3Df7IMEQ7SwBdM5g34S8= X-Google-Smtp-Source: AGRyM1vVEfz6UjVNLSCqcupSavlcpnOe7+7Jx4XipaFu89qUbCxYKFeTuQRFBMDRWAQBbFkbgYVO8A== X-Received: by 2002:a05:600c:1412:b0:3a1:6e8f:f18f with SMTP id g18-20020a05600c141200b003a16e8ff18fmr14576539wmi.9.1657523565166; Mon, 11 Jul 2022 00:12:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:588d:0:b0:21d:339f:dc1 with SMTP id n13-20020a5d588d000000b0021d339f0dc1ls773258wrf.0.gmail; Mon, 11 Jul 2022 00:12:44 -0700 (PDT) X-Received: by 2002:a05:6000:1883:b0:205:c0cb:33c6 with SMTP id a3-20020a056000188300b00205c0cb33c6mr15987058wri.39.1657523564250; Mon, 11 Jul 2022 00:12:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657523564; cv=pass; d=google.com; s=arc-20160816; b=uj1aw2LDe2llMxHXCW1M1cX6zGbsqLLzU/nGPgrAOumpPd/k2pQZpusZGajK2gPN0N tAdYsStLYBVoMgEsCuvzsfY3miRgf8GgV+X0LdSh+a+qfUMMoV7E8fwkPIlVIadEljlr kC4DophELl5Xxlxpx3fPaPzJru7vylvb9qvcsnVPlr6vU2lehdroHyN2VXX1QzxDO0b6 HJQsPiAxg9XXJYe00fDTe5Z3knSTy3PTajhtXLjE9JFs7ET3k8DpjNZ8cpJVqQr332rl bYpUJjVVy6JMSHn5E55xuxlNL3mitXuAc6mNU7Zo29ajZA5cAevwBkiQLgsTOeLhog4n Tszw== 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=j6413sibULpMt7KNjafGLMytBzBGjnfSaxY38RWoPIE=; b=Qo2oi5RFIuFEI24BcFCZSH91HanlUFGcWa4nSHa63/aA509ahy55g8X76KwOzQe7ML Z5XmPFTb8BXO0K5eJ1JajAQSb3lVtl3kNHLNeFHS8bFAHXgXfOpJAJ7J9MeJ8Pxuv/Il S/zG7UajHNDSyolnxWM1ZC7jfw7PgD1rDqosbGB9Cq46njWdOJ+rO+clkh3S/KY49JID rQzwxhEL74X/3BTNE8PuKYkvassYJXTE6dc6i0qkje8qCuejnFagrEDQ8jCwUwRNYb91 oH3RYzmjI4ZFDsOpVQXd3OUSAtXXgvvTg1d2zOps2uKVtpLIlpU48dpBv0FA5Df6LBuv FWGw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=aMIPoiW7; 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.2.77 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20077.outbound.protection.outlook.com. [40.107.2.77]) by gmr-mx.google.com with ESMTPS id ay14-20020a05600c1e0e00b003a03ade6826si394284wmb.0.2022.07.11.00.12.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2022 00:12:44 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.2.77 as permitted sender) client-ip=40.107.2.77; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GX8u+b3wbv7V8kj8pgw2BCcLj6kF4CdPT4fKEXP8CBtfeiDApc6mrUR6V6Hd7+5IM6HBUlPP9dIwQtEX5/mgXI+WHjfs14i9APFkyWWDsVbj+ZEn1rYGcTnlL7XWPr/0NunsQXLX2XNY8ANawaK4tMSDm1zMz14TA4XdO4qM4Os3QLrk0uxcXc4qy3EPi/h5g1IyEqqN2Mw4/vjKwvnnnh/ms6WUl7VRMsZ0nI5/mXG8AI4v7IdnkwKLL/XrEgCXVE2/dyzoMQY0YPbIxELhxiX5T9XEPt41yGUlHbwQopMRLrudaKQRZZPGgXOG7llt8nOoq20ebcTGKGAmFD2y6w== 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=j6413sibULpMt7KNjafGLMytBzBGjnfSaxY38RWoPIE=; b=ofSVRGlQKYhEpFTEEEblmUL5eUcvclipn/tKnrII5SKeDt+oE96iAVmTD2UUKdBbMJEHqvMAVbKoHaPVlT8wuoAQo7q9fWL4NusTQKU2etwKTtPVTcBH8ksq6foaQBPVso7acgmVjmiRKQ51YYl3GAPZiR31RVjJllSFZJltxuOVcn2CvId65ef0ED3DyLMVw4i/L9gdrN7gySCNlk3VpCzPdlcmyAI4wXw3UFXlB04GrexwMoUEctpH4Y17aht+aD8NqK+iCpDMjOdSyn98OGy0YFl39QVMhZdQXD7NW+8K+XDwV3U53z30DBnR8Mw7xDhUY3r5qIpDXNKJJaGq5A== 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 SV0P279CA0046.NORP279.PROD.OUTLOOK.COM (2603:10a6:f10:13::15) by AM5PR1001MB1137.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:203:7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Mon, 11 Jul 2022 07:12:42 +0000 Received: from HE1EUR01FT063.eop-EUR01.prod.protection.outlook.com (2603:10a6:f10:13:cafe::d2) by SV0P279CA0046.outlook.office365.com (2603:10a6:f10:13::15) 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:41 +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:41 +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 2/2] targz-img: Handle sparse files efficiently Date: Mon, 11 Jul 2022 09:11:55 +0200 Message-ID: <20220711071155.776897-3-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--10.639000-8.000000 X-TMASE-MatchedRID: unW2lS01oc21JHnmpthFJJaycdB1x26jCKGbCJcIygYItCy6ZX/lLy04 j1lb8rc6WMFR4yyN53pAHOg8qEtqyM5hRJfP3092myiLZetSf8nyb6HMFK1qexQabjOuIvShC24 oEZ6SpSk6XEE7Yhw4FulxiuW/VIWxuBYRPK6J4xAYXHnHSAO0PcvA6cAKRRdbjaz9pUkirR4= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--10.639000-8.000000 X-TMASE-Version: SMEX-14.0.0.3080-8.6.1018-26680.007 X-TM-SNTS-SMTP: DA54434396C736079DD7A4519A9D73451B68064FC1A0E83DDD85B19E9BF2B2F52000:8 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ba719f7-828b-4ff9-752c-08da630cbeca X-MS-TrafficTypeDiagnostic: AM5PR1001MB1137:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /RgxV15oVs/9iEZ4fCf5FCJzJbNoNkyaxT8kR1DHguNynF69ESpC3a7b8RWlPpDMi3g5ZroxyrmocCmEQFFNOoo2PUfR0OI33BtBs2dpMssM+QAtUZ1i9xzotMTXig3hestg9wUJykPZb6SIQp7N/AlXD6joUhC+R52OlmDHMD82h06UihVuwQuKrNpAJB66ub1Lpk8X3Z1vwUNsC2QHicvQXImx6VXAHcy95qrTR8sZijyO/K95fpGgsg55HaZZBzoFlqvrb8mqIU6Z3EKKksAUArjTvfylgHOi+/fZ3usp5kFjJJJ9S9K97NQ+XxitMTHU6pyq+3g7NAN9YTTpaODoGOtlAMjUPXrr7yq4EXV4H6ST++txDBGFKg82VMAfMfCEqhWxDb6iX4AKF6ncO6hbiujyiIKJk9tZaM9ExdYFa4n/Za6YSNY8H9zy9s6fktw1osHWz2J4dA3zlICfo9qmeNnDyPU8gBPy4KfopTxmQELSEAlUid3Kbdcoh5tAZC5QxE9NOGQ7yDQQGYsrloM5G/tvf92VN2qBMCHS47wuKM934zyv/t5Rr3ehZz+34oKFJiN+ka+HFbcLExRM2lNp5ycyJRvyxg3mO4lMWYsICqo8k7/Awwla8Kc+3ISP1Q9bb7c72bNMIHPJ18+A5g+YA2+6PaSNDI2aQn0SF9YCcnrlZQejE/3iPGsl9A4qpaOI7URmdLzA4W9zS0HD25wExIuBdHPKWTuBTYYis7cFW90ba8uybkhcidFm68Ks2OT1B4HgI7OjTiVMGg6ZB2+Cqpjmi0u9qzi5YUrCkKjTKKHAQi05z6dn6wWZReuMVqdNYPNdWMSj50k0Xrw9ohLLvcYz8GZZahtjTElrZjI= 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)(136003)(396003)(376002)(346002)(39860400002)(36840700001)(40470700004)(46966006)(2906002)(107886003)(6666004)(41300700001)(956004)(2616005)(86362001)(47076005)(336012)(82310400005)(26005)(82740400003)(186003)(1076003)(16526019)(356005)(82960400001)(36860700001)(70206006)(81166007)(40460700003)(70586007)(40480700001)(316002)(8676002)(4326008)(44832011)(8936002)(36756003)(83380400001)(6916009)(54906003)(5660300002)(478600001)(4744005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2022 07:12:41.7264 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ba719f7-828b-4ff9-752c-08da630cbeca 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: AM5PR1001MB1137 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=aMIPoiW7; 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.2.77 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 Saves space in case the image contains any sparse files. Signed-off-by: Jan Kiszka Signed-off-by: Adriaan Schmidt --- meta/classes/imagetypes.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/imagetypes.bbclass b/meta/classes/imagetypes.bbclass index bea5af53..1e8e223d 100644 --- a/meta/classes/imagetypes.bbclass +++ b/meta/classes/imagetypes.bbclass @@ -8,7 +8,7 @@ IMAGER_INSTALL_tar = "tar" TAR_OPTIIONS ?= "" IMAGE_CMD_tar() { - ${SUDO_CHROOT} tar ${TAR_OPTIONS} -cvf \ + ${SUDO_CHROOT} tar ${TAR_OPTIONS} -cvSf \ ${IMAGE_FILE_CHROOT} --one-file-system -C ${PP_ROOTFS} . }