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; Tue, 13 Oct 2026 18:29:37 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f56.google.com (mail-ed1-f56.google.com [209.85.208.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 69DGTXnD002820 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 13 Oct 2026 18:29:33 +0200 Received: by mail-ed1-f56.google.com with SMTP id 4fb4d7f45d1cf-6b1ab11f4a3sf43463a12.0 for ; Tue, 13 Oct 2026 09:29:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1791908968; cv=pass; d=google.com; s=arc-20260327; b=OB6GrMGI1yzZdhq/zmHrw1bd4H7Wuiphqs4ZHtG352uk1hEKYC95u50d46OpNkVscg Q8wxmBMaTJWSHJzCqkWBXZ9vZIAO1iiBI0IeXaXeWme71jxWV4l0FmOLkZ3Y/O2gyYw3 wCAhhKb71faq8+b7QiOCMR1jGn/288DcoMRsnr4yAgJ4mlMtOwsFe6tzW7AR3O31xSoW kT+YA52WY1Csz+w2GbAsSJBGwTpyeGhs9HD0Py0MmLF9rnKwytGgIKHw0eMx1xGg5MXt N2FK4hC0QxKAJ1REpuccvAk7tXAktlrQm++FFuJty1AlsygQVidlmk9nhQcYTwstzddx alLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=tEOcFoHVCE35YlnW9nahKotLyTDnIlJJ6XAESSuWhDI=; fh=p1NfShezDdoXag1osySWo49zBz//0LJw2UhbrnMhzGo=; b=AndE+AHAMQqn4ikG33txgaY8oonA9af5j9NEOaEPVwxAXBaGkeh5EZohhQX/lLVy+V 4Wnnyasur65se68dgvibCPun62Lam7q4NLQIzYQzoimvxNXcThlWqWYnF7UrU36LXtMP BIO/+hnI4oVcS3OnHagwBRe52I/NBxdct/y9vhoX+5gurWXawbXQacdM817uorPEjJai TfXDE2TCKL4uWiCAvCJjeqBPTtJIA+Qw1Wn82pA+h0OJMS/Y2JdP0qq9jiTKp/mSwErk ASSr/Da+2rKJw2LIYfDC7f5a3gPgiGSQfrou6Xjx62LilcJK/4C+YmtRnsS2seb2sPAH LZfQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1791908968; x=1792513768; 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-type: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:content-type; bh=tEOcFoHVCE35YlnW9nahKotLyTDnIlJJ6XAESSuWhDI=; b=RivIcvb/xJi6AlIPP8bQzm7T9KT4jffrSsw2y4BeaKaZs07v+mtxdCL0Wbsh6OmNuH vRGm5vjT6ov5b/VunaccIqoplr/iirrfVsgRR3OScMvJvXoNT3MR4EYQl3b9kxuHSnKa xsPIppdHK6w6EULpr4n5TTFwjjIh3ntyyTyeWVEVZUccWVfd+RPLA1jhvVUD446WLBap uNJK02xHBFPJna9wLMvHXRkKj/kQleyMmUxFGNoJteDQcJfggyGOFgimdW2wiQHautMS 3ZqqiQglG6XchhiRLrNdxK+No0boWIt+PPbB5sY+mb3wS/yMV1GHLlV6NXyP7KrIHwLV QhTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791908968; x=1792513768; 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-type :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:content-type; bh=tEOcFoHVCE35YlnW9nahKotLyTDnIlJJ6XAESSuWhDI=; b=2ox1i0TgBEudwBfKugeGplw6dKlRrd8a8CGyKO8b7qj6o+Doh7xQrsCHxLBQivHcMZ bVBEnu2zYEcVe11StyiNhfWJ6CZ/T9U+36/Y6HOXjH/QVAffIKDmxcBGDpz95nYnwvU8 t+9uKKsP84vXXjMoQ7r4bHv8qX/DrUjXPVfRoW21qCFkYSteVeJtftk7CWmUPRV63csc 5JwHq6RsYmgoVwy+4tL3K7hYslZn+2w0iEJs/ZILO8nYp56UdIOVi6NeULdnv+sIIBmu j6pkfgAJWXkBh7ylF3+kwy6U7pPOMk7Cf85cgyIYxeQhIoxIsfD0QssWQ/NYT/QsJbuX phbQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AKwUvBxyLedEQJbzye0EqDsBXwJ+3jjg2PeqM8GxhPwHEB0Uh6NZDVwz7lyj9abEQDhsOjS3WpBW@ilbers.de X-Gm-Message-State: AFq9FYJF/EPTN4TO7BRoYOdkrndEHY0WGjF4Z2TezSF83Ou8cPFMGy9m 0HaOThOXT1M0d2geejnoUo235Hd3OnJl6dtOB71YP01k/ZW7Flt+3cSe X-Received: by 2002:a05:6402:4498:b0:6aa:f1d2:ddbf with SMTP id 4fb4d7f45d1cf-6b17c3e3f26mr11582337a12.35.1791908967786; Tue, 13 Oct 2026 09:29:27 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ATskLdcU2F537KDRRK5Y7QdQ4kFIX6+h1tBvh+hWGZfv0Xx4Ag==" Received: by 2002:a05:6402:c503:10b0:6b1:a503:d47d with SMTP id 4fb4d7f45d1cf-6b1a503d528ls1591284a12.1.-pod-prod-07-eu; Tue, 13 Oct 2026 09:29:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvBzdMu+NX1RhH2L4hHulgULuiXWlEDZ+N+HMVHBPt1cF43nJhzGKmHAHQsIqEkkbwwCkbaIg8UWoWWWO@googlegroups.com X-Received: by 2002:a17:907:7f90:b0:c2e:3124:e9c0 with SMTP id a640c23a62f3a-c31a9b0ad3amr1243470566b.17.1791908964835; Tue, 13 Oct 2026 09:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1791908964; cv=none; d=google.com; s=arc-20260327; b=U+DlJVvBUYIyjKlYqBss4i/NeNwfm4+SlFirMznKuAESHaktjNIM+sqj7ieVVIg5dI iHIfRG+yglxgYvtK6Bd43Nn0jYVEW6+PikEw8k4iLCaL7hdPwFVOJWCvnTJY3rxjBtGk 8LcVTfvSSKFajlbQRbXVaZaeZWzBSrf1qom1JpQpo6cicx+deJFoOtNsexJH9UxNoEBz +kM4kEQhDKFMplDk33zHCUdt3B59NHtUykXTTnVUSvJFceuXFMh1Ou+iVGwabF0ac5ll vXGdSV0V3reGXz0pYrJdnumT4YdOGD/ocpNKddeoRW+a7WB2onHx/q2XsPYQsAWos2hh 3EZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=67YOGqHH6sA996FCsN/nP2u6dSYukhPAGN5brldaLeg=; fh=ez+yYIN2+t1/A1KtVD1essDQ6+anTTnZTbSXjuK9WaU=; b=r52WnP2+tYshmYj9rj2230C3Z1vGNbBytxfxxBz7zGJynpGlF5ILv+qmwbTKpZb79g p6f+YMKazZ7dcvh/pYLCc4GLcqwlLHAnUxVS/04TtQnHIhInzHzumI1sZE081+UNH9N5 gWK46Ysx0u35o86lWRJBUgSpEyRNAnoDAM3Q0SlwvJQdikwQE8kFscNiD6tmI+9TOP/K FMrHlucOA36FTiGntX/DCzclOmOOSj5Z3TNUG3L6ZxZfoPVrPBOphzAWCrQFEC/LinfS ZXCN4A2a959dQqolpSnSLK6rFkEyFhVvD/kkqFkfopI5qLxlTEorJ2BeEMOODjQzNCtG Nznw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id a640c23a62f3a-c375f55656fsi3186766b.2.2026.10.13.09.29.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Oct 2026 09:29:24 -0700 (PDT) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.139] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 69DGRNnR002797 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Oct 2026 18:27:24 +0200 Message-ID: Date: Tue, 13 Oct 2026 18:27:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/6] Model isar-exclude-docs as rootfs feature To: Felix Moessbauer , isar-users@googlegroups.com References: <20260924073811.4058349-1-felix.moessbauer@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20260924073811.4058349-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed X-Spam-Status: No, score=-3.9 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,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-Original-Sender: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de 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-TUID: s8St4nSyxCjl Applied to next, thanks. Zhihang On 9/24/26 09:38, 'Felix Moessbauer' via isar-users wrote: > The isar-exclude-docs package provides mechanisms to exclude > documentation from the image. Technically this is implemented > by a dpkg filter, as well as a postinst script to strip the > documentation installed prior to installing the isar-exclude-docs > package. > > This has the major drawback of first installing the documentation > (as isar-exclude-docs is installed along with ROOTFS_PACKAGES) and > then removing it again - which is even an emulated task and by that > super slow on a larger rootfs. Further, it does not handle cases > where docs are generated in a postinst script. > > We now change this to configure apt prior to installing packages. > This results in less being installed into the rootfs. After that, > a final cleanup path from outside the chroot strip the remaining bits. > > Best regards, > Felix Moessbauer > > Felix Moessbauer (6): > rootfs: add feature to clean isar generated dpkg config > image: add IMAGE_ROOTFS_FEATURES to set rootfs features of the image > isar-exclude-docs: model via rootfs feature > rootfs: also purge package changelogs on exclude-docs > kas: port isar-exclude-docs to rootfs feature > testsuite: replace isar-exclude-docs by rootfs feature > > RECIPE-API-CHANGELOG.md | 14 ++++++ > kas/opt/Kconfig | 9 ++++ > .../exclude-docs.yaml} | 4 +- > kas/package/Kconfig | 11 ----- > meta-isar/conf/local.conf.sample | 6 ++- > .../recipes-core/images/isar-image-ci.bb | 2 + > .../recipes-core/images/isar-rootfs-ci.bb | 1 + > meta/classes-recipe/image.bbclass | 3 ++ > meta/classes-recipe/rootfs.bbclass | 45 +++++++++++++++++++ > .../isar-exclude-docs_0.2.3.bb | 4 ++ > scripts/generate_yaml.sh | 1 - > testsuite/cibuilder.py | 1 - > 12 files changed, 85 insertions(+), 16 deletions(-) > rename kas/{package/pkg_isar-exclude-docs.yaml => opt/exclude-docs.yaml} (58%) > -- 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 email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/b65fe591-1ecf-47ca-a2a5-87ec931b71ec%40ilbers.de.