From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6795913180905209856 X-Received: by 2002:a2e:81c7:: with SMTP id s7mr22637713ljg.3.1582296840139; Fri, 21 Feb 2020 06:54:00 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9516:: with SMTP id f22ls407234ljh.2.gmail; Fri, 21 Feb 2020 06:53:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxDd+K1XsdQ+qeqKVXnFxzrEpVA2O5J8nQlbnc9kDU7IU9X/em5HjGRTYyreVyYT2s+RIT1 X-Received: by 2002:a2e:9955:: with SMTP id r21mr21808692ljj.283.1582296839263; Fri, 21 Feb 2020 06:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582296839; cv=none; d=google.com; s=arc-20160816; b=BjpLUe/wNNP3Sr528vhUFX3UeIIPqLPTuwvGZ85pM2fYKNCokb7TTS/8GyeBCf/FVH +JBOfhJ5TQIBCB63aB0viSmtkFe8WpD0tQZWWFbfawtijk/G9uPkHIwQHANFKYdB4DlL IA71IWrslg70p6zopvpDMWpL91bVrsseXx2l8IB8MHnjY4hF8aE6As1Kv+eRpwxZ+GKf 3jis0FZSGCacG3QKu84D2QJbI42qTqahtPisB61mVgn5KXkNctrqDkQ+e0V7c6SagLBW PpJDtIvqxat3IM/PNvB2I5L9mwmYXBOgeSoGDVkySBiTmC2GcavcTd5bkVug/sdIquQB yZXw== 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=o5aJdW/7jXbUzbbOxgGnXZm51ozmryXkzr374C7Dc0s=; b=ag9iP473iuKE7KyZNZFuHp3ssOJhJvEBYD5oy+hrOa0zivJTjbY6GmLVS6NPA/ICtT 398aL5zpvZ1pbB/k6BSKZJKmaFl8yb2s39LapdzNRQykPMeyx/wIn7BDIcJACZkS2tN6 Xy5V1vtAZZgdno+Uiq+iiNzN9EzOcOt8EsHleJNrIBR75jmmBpYSk3e6u+TUHWNn4ba/ 78fmsf6iRVYmOa6N8Iu7kqtu6zRMSEcsvRAugONFzrTvR0kNRBl/VaPLXSYZzvJM6/3q Te9hrM81H7ezuINJa7kWUKgvor2jzA8kGK/aryYX4kOLLUonEmNU1ofwAscMbIkx5mSU DwzA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=Quirin.Gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id y126si25673lfa.3.2020.02.21.06.53.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Feb 2020 06:53:59 -0800 (PST) Received-SPF: pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of quirin.gylstorff@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=Quirin.Gylstorff@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 01LErwDs022239 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 21 Feb 2020 15:53:58 +0100 Received: from md2dvrtc.ad001.siemens.net ([139.25.68.236]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 01LErws6032498; Fri, 21 Feb 2020 15:53:58 +0100 From: "Q. Gylstorff" To: isar-users@googlegroups.com, jan.kiszka@siemens.com, henning.schild@siemens.com Cc: Quirin Gylstorff Subject: [RFC 0/2] Remove Packages during Postprocessing Date: Fri, 21 Feb 2020 15:53:46 +0100 Message-Id: <20200221145348.24250-1-Quirin.Gylstorff@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: 8etCRGL6Gxnt From: Quirin Gylstorff Some packages even if the are part of minbase are not necessary to run a debian system. Debian has some issues and experiments to remove packages from minbase [1]. This feature allows a expert user to remove packages from the final image during post processing. The reason for this are e.g. disk usage reduction and reduction of the clearing effort. The method to remove packages in postprocessing is a best-effort action. Another way would be to identify like [1] packages in minbase which can be removed without compremising the isar rootfs creation and remove them directly after or during bootstrapping. If a package is used for a production related feature it should be reinstalled. [1]: https://wiki.debian.org/BusterPriorityRequalification Quirin Gylstorff (2): meta/classes: Add remove packages to rootfs postprocessing meta-isar/images: Remove gcc-8-base from rootfs meta-isar/recipes-core/images/isar-image-base.bb | 4 ++++ meta/classes/image.bbclass | 2 +- meta/classes/rootfs.bbclass | 13 +++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) -- 2.20.1