public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] Image minimization
@ 2019-05-29 10:45 claudius.heine.ext
  2019-05-29 10:45 ` [RFC PATCH 1/1] add minimization image extension claudius.heine.ext
  2019-05-29 10:56 ` [RFC PATCH 0/1] Image minimization Jan Kiszka
  0 siblings, 2 replies; 6+ messages in thread
From: claudius.heine.ext @ 2019-05-29 10:45 UTC (permalink / raw)
  To: isar-users; +Cc: Claudius Heine

From: Claudius Heine <ch@denx.de>

Hi,

here is a RFC patch that adds a minimization extensions to images.

The basic idea behind this is that it allows to remove specific packages and
files from the root file system in a post-processing step. This is useful in
case there are tight storage space restrictions. It breaks the package
management in multiple different ways and degrees, but the main idea is to
reduce the root file system to a minimal set of files that are necessary for the
device to still perform its function.

I envision the `IMAGE_MINIMIZATION_FEATURES`, `IMAGE_MINIMIZATION_PACKAGES` and
`IMAGE_MINIMIZATION_FILES` to be the user facing interface for this.

While removing packages, I use the dpkg from the buildchroot in order to be
independent from the tools on the image. This also allows to remove dpkg while
still being able to use it.

I would like to hear some input about the general design, before I start
cleaning that up and testing it more intensively.

thanks,
Claudius

Claudius Heine (1):
  add minimization image extension

 .../recipes-core/images/isar-image-ubi.bb     |  2 +
 .../image-minimizing-extension.bbclass        | 80 +++++++++++++++++++
 meta/classes/image.bbclass                    |  1 +
 meta/classes/rootfs.bbclass                   |  3 +-
 4 files changed, 85 insertions(+), 1 deletion(-)
 create mode 100644 meta/classes/image-minimizing-extension.bbclass

-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-29 11:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-29 10:45 [RFC PATCH 0/1] Image minimization claudius.heine.ext
2019-05-29 10:45 ` [RFC PATCH 1/1] add minimization image extension claudius.heine.ext
2019-05-29 11:22   ` Henning Schild
2019-05-29 11:28     ` Henning Schild
2019-05-29 11:29     ` Jan Kiszka
2019-05-29 10:56 ` [RFC PATCH 0/1] Image minimization Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox