From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 05 Sep 2025 09:30:57 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f61.google.com (mail-ed1-f61.google.com [209.85.208.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5857Uu40017929 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 5 Sep 2025 09:30:57 +0200 Received: by mail-ed1-f61.google.com with SMTP id 4fb4d7f45d1cf-61ec5ca1dfbsf1794155a12.1 for ; Fri, 05 Sep 2025 00:30:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1757057451; cv=pass; d=google.com; s=arc-20240605; b=kIgWjTi08MRlhgcJdIAFh1nKw4GpbQJ767XUK78HP3JHyjKTYjTNurGWZ2LHiIGnYl UrHhg5iXGz8xXq2pqcoE2tiHclkK3TJNh7VE6L/OHpZBxTu1e2s5ETcuoptZ4qG9RWw2 MfGoz71GiGIwDZNJXG6j7t5xF3F9iMGmMh3lEIM/edh9pd7NrnO/6rewp+WCe8tnvjHR Hl7uSzfDPMCCE2sgrm9bHFArqc0hGeOK9/fenX5ZXjNojnFmq85kAvXmH2L67ohqI9v+ ThOqLMtsOZiFvAyRa8wxkg0z5nQGBLMTnm/S4H4XLo4uUITb2ST2XuJyqigXtGl22BL6 2YkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding :in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=pxFrKoIx0io4GPANOqjlcOnAUtGpREtLpLSCDg8v0V8=; fh=7bqykGXH39IRfA4SmXgfE7X6xk9B6pu5SHKfnLhVFZM=; b=HUhzu0012rktjm7N7E+LAPD+6Zp3Q5Qb1RO7/AbQhcMjkFrGnJh7pOxgdvKjuw36fI U8IPSHV+1Bqulgezz0ccgwe+CoV10vWs5EHg5ODF1qxglsGnSSmnQZWZXjMkxgig0gJT uPL83raxWmzF6GvmpA60+nXq0dyMa0QK6p06LHHp9g3C7CHDiwRwhZ9uDjYLkkdjtXqz gnI8+Jv1t3XI6Lc7KyQIxRTd1vMEZ5R2G4paAgyLg1rGGjt/O4WvMfkHIxl0el5Yl7o6 qS/4gNuF6eHJW7rW6HeB8WuR16HTmnEqWXOnjYjGU1CJrQrlQVXqT1Deja70LIB4uH3o 76Fw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1757057451; x=1757662251; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=pxFrKoIx0io4GPANOqjlcOnAUtGpREtLpLSCDg8v0V8=; b=AxIaR4+7ISqU70EpwxT1q6cUgBb5y2cpY26DG4BBjeOxYGSQrtx8lGRfyt0s7JIQWJ 5A5/MVM32BTaH3oBRjWpuU/DWPBo8OLzc5ElW4aK2nHo2hhypREoQpKt8qpKuDmq9RFx 3r7Fg2kWSd47OIrb6jU4hPiY9AJNlxPS26lfke0caUATWNSYMyWY+wJVpQJcaNhrjQvy rT+8JIurY9FQR1tqepMVQfCOLy70AS2iTmJtE4lk2YI+/wJuJriGRE2QEUIaIxDtD1gS KCJIh5Wv2HkomHoyg6CPK/TPzICUCYzEpffoVyQbruPMS6iWpYExQMRcbI6wHFNt26T+ EXqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757057451; x=1757662251; 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 :content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=pxFrKoIx0io4GPANOqjlcOnAUtGpREtLpLSCDg8v0V8=; b=LHZAB76gWb2fXCYXudah4jS4c0jKF+dJhjBFiBpmHgcsVgDXIOUJw/yWc87ZU/yWSG 4WYoo1tiTKnoBCo+UoH2fRV+fzzQTPXmmJTdOfuoNtRbw2kqaSa8PkrGDclryxw+kSKx nmAjKv5XVIgdr1d6kpXzJm6jQU6sNLvq8jXITORCK+FVngd6XfzSby2JpjJwJPj0NR7B 0gtq/3ZJPMYJ/ZPQaaZHFUW2MkRbpPiIanyvbivS/TFQMcKV3M1MOHGjpXL3FHws65rt OoR1aekemfVtGMECN+4K1ow+TNQX2eaPaCO96h/6HQtjPXnurc0yE6H512w8q0Pv9tpe KgQg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCX/o6KPIn3XREWe0DjhXFVFIhlT30HpG9vAvYid6o0Erd1BZo8n13PiRLZVwyDMxHBMJtJE@ilbers.de X-Gm-Message-State: AOJu0YwPWd5tkCx2w7L8olDQqehmvdt0GOveKaWl4OyZb1AAH/lk7Zws OzqLg3x+KxMEAICSzy0v+BiA6JQd5A/4Jl3m1wDHMUtTDcOKqFj5+1NT X-Google-Smtp-Source: AGHT+IEwwR7KDkrGD+r7lilxdVfou/3zTIreG3NJC+Wbt1zIrMZECDQUKxjbhms6wUSbuADI7HbGfQ== X-Received: by 2002:a05:6402:270e:b0:61c:29e:db04 with SMTP id 4fb4d7f45d1cf-61d2686a7fcmr21797650a12.6.1757057451054; Fri, 05 Sep 2025 00:30:51 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=AZMbMZfrfRBeKIM9GQvDOMidzcaJoAC2t0x0CO5pqdYmeYlMFQ== Received: by 2002:a05:6402:21cb:b0:61e:8fcf:91ce with SMTP id 4fb4d7f45d1cf-62146eee67dls386561a12.1.-pod-prod-01-eu; Fri, 05 Sep 2025 00:30:47 -0700 (PDT) X-Received: by 2002:a05:6402:4308:b0:61c:7a9b:21d4 with SMTP id 4fb4d7f45d1cf-61d26c52672mr21312640a12.18.1757057446975; Fri, 05 Sep 2025 00:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1757057446; cv=none; d=google.com; s=arc-20240605; b=HauIgemNB4uxAoKqidozfjysa/wbfTVq4fPYQuz6mX62yEKgs7Ti1a5crnXqhupmIT +mE5jKUygefTQtQZARXk7mQ1XFd4WVvuIx1sw5x4IZmwVOb8enFixFeELExMjcjxz3oe a1aqnyfSVHnMBmV7LwMYW12Gvm+S7tw1ZfDyd0Buwo/yzDjtQeHCC1KRpEZozPapp2b8 NxlFPAjIof3b97afoUgxX4kY8jMNyxqxIUyzpg9VqTEAAuAdZW7MyCBJy+snC9tUn4cJ uzqfQ7qC8pfRPkXZySB+g+vimCqjZOwfmTvPXjH9O5FmG9+fkusYaxnkvC4NLHJxTNgr WCSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=DLAxeFukP3L1uRVVAyNOJgYU/vRG6k9Miyr8zu2geMw=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=RxN6r7XtroBTXCD5pPi3ia0EoV6uPNhS6YX+vTeog+MIRCZ+KqRe895pqmj9g8eOPn Yxw/HYFBBD7esZTRy/jrOQrJdvdp9VNzkTjvSlBM/CWqpgFCTAVXai/Ng/b+ozDD9kAh BAZpqEbz38pq5sBR7oeUxjFc+mtUTkMVy/hypqWXY43QEjl85ph6RGCBqsl7egjvMhCb h/UjY4TgcloVKfw87Xp6KWAfNPaDkgoJW2GadLBS2d48up3ulYMz+Wf9fx+DY2oEueGK esGeGHmdFL2E+eHsikffpMNwbwjqSVvJSEFt39pE8qLfi0K+irY1wV5TSf/iDLFbtO2h JexQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.com Received: from mx1.emlix.com (mx1.emlix.com. [178.63.209.131]) by gmr-mx.google.com with ESMTPS id 4fb4d7f45d1cf-61cfc4d0266si451925a12.3.2025.09.05.00.30.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Sep 2025 00:30:46 -0700 (PDT) Received-SPF: pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) client-ip=178.63.209.131; Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id AEC625F8B4 for ; Fri, 5 Sep 2025 09:30:46 +0200 (CEST) Message-ID: <89e1fec9-810a-4c1f-8c2b-e637a96157bb@emlix.com> Date: Fri, 5 Sep 2025 09:30:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH] meta/classes: Add strip-image To: isar-users@googlegroups.com References: <20250903152055.1353354-1-Quirin.Gylstorff@siemens.com> <8d2554d1-789e-4838-a515-eeb2cef78e10@siemens.com> <981ff797-16e0-408a-aa37-68bf7c1f03b5@siemens.com> <90ba0364-32c4-4b41-afe7-9cc3e5deb1f1@siemens.com> Content-Language: en-US From: Andreas Naumann In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Original-Sender: anaumann@emlix.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of anaumann@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.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_DNSWL_BLOCKED,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-TUID: OUkLP9hvhW1p Hi, Am 04.09.25 um 11:43 schrieb 'Quirin Gylstorff' via isar-users: > > > On 9/4/25 10:37, Jan Kiszka wrote: >> On 03.09.25 19:13, Quirin Gylstorff wrote: >>> >>> >>> On 9/3/25 18:19, Jan Kiszka wrote: >>>> On 03.09.25 17:20, 'Quirin Gylstorff' via isar-users wrote: >>>>> From: Quirin Gylstorff >>>>> >>>>> This class provides the optional functionality to strip packages >>>>> and files from a image. This allows the user to reduce the image >>>>> size. >>>>> >>>>> IMPORTANT: This is an expert feature and can lead to broken images. >>>>> Signed-off-by: Quirin Gylstorff >>>>> --- >>>>> >>>>> The default settings will reduce the space around 40MB. It is=20 >>>>> currently >>>>> a RFC to collect information about the usage. >>>>> >>>>> Should we integrate by default or should the user add this on demand? >>>>> For a default integration I would drop the deletion: >>>>> =C2=A0=C2=A0 - /vmlinuz* >>>>> =C2=A0=C2=A0 - /boot >>>>> =C2=A0=C2=A0 - /usr/include >>>>> =C2=A0=C2=A0 - initramfs-tools >>>>> >>>> >>>> The approach isar-exclude-docs takes for docs cannot be used here? And >>>> we want that approach to stay for cleaning docs? Or what is the=20 >>>> relation >>>> between the two? >>> >>> We can use isar-exclude-docs or the use the same implementation. I >>> didn't use it as it only removes around 3M=C2=A0 from /usr/share/docs i= n my >>> tests from against an unmodified target. >>> >>> The second part is that isar-exclude-docs is executed during the=20 >>> pacakge >>> installation. >>> Which makes it impossible to remove other files(e.g. /usr/bin/apt-*). >>> >> >> Would be great if we could have only one mechanism in the end that is >> powerful enough to express all removal scenarios. > > That would be more possible with the proposed strip-image class as it=20 > works on post rootfs installation. I could extend the class for the=20 > copyrights case of isar-exclude-docs in a v2. I can image this being a more logical flow than adding packages to=20 remove things, which feels a bit counter-intuitive to me. However, I had a quick look and there's already a few removal functions=20 in the rootfs.class itself. I guess this is where default removals go? Coming from Embedded, I'm used to rootfs by default having no doc,=20 man-pages, headers and so on. But maybe Isar has a different policy? Is=20 it stated somewhere? regards, Andreas > > Quirin >> >> Jan >> > --=20 Andreas Naumann emlix GmbH Headquarters: Berliner Str. 12, 37073 Goettingen, Germany Phone +49 (0)551 30664-0, e-mail info@emlix.com District Court of Goettingen, Registry Number HR B 3160 Managing Directors: Heike Jordan, Dr. Uwe Kracke VAT ID No. DE 205 198 055 Office Berlin: Panoramastr. 1, 10178 Berlin, Germany Office Bonn: Bachstr. 6, 53115 Bonn, Germany http://www.emlix.com --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 89e1fec9-810a-4c1f-8c2b-e637a96157bb%40emlix.com.