Skip to contentSkip to conversation

RFC: Add ipkg to minimal image

DISCUSSION Rod Whitby 7 participants 15 messages Dec 2, 2007 – Dec 4, 2007

lore
Share & tools
lore

Rod Whitby

author
#0 lore raw

I just realised that minimal-image.bb doesn't include ipkg, whereas the first image which does include ipkg (console-image) includes a whole lot of other stuff which could be installed using ipkg after first boot and network access, and which make the image too big for a machine with limited flash space (like an NSLU2).

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

Does anyone object to me adding ipkg support to minimal-image?

FYI, minimal-image.rootfs.jffs2 for ixp4xx is 3.8M whereas console-image.rootfs.jffs2 for ixp4xx is 7.1M

-- Rod

author
#1 lore raw
Quoted 5 lines · Rod Whitby

I just realised that minimal-image.bb doesn't include ipkg, whereas the first image which does include ipkg (console-image) includes a whole lot of other stuff which could be installed using ipkg after first boot and network access, and which make the image too big for a machine with limited flash space (like an NSLU2).

RFC #1:

Quoted 3 lines

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

RFC #2:

Quoted 1 line

Does anyone object to me adding ipkg support to minimal-image?

OK, of course the choice of ipkg as the package manager is distro-specific, and depends on the distro including feed configuration (although just having a package manager on hand even with a feed configuration would be a useful addition to a minimal image).

So my revised RFC #2 is to add a DISTRO_PACKAGE_MANAGER variable, which DISTROs define (along with their feeds), and use that variable directly in the tasks and images which should include the ability to install additional packages after first boot, instead of the package manager stuff just being part of the generic DISTRO_EXTRA_RDEPENDS additions and all the additional stuff that includes which could be ipkg installed later if you have limited flash space and need to pick and choose what you include.

Whether or not that gets added to minimal-image, or whether we need a new minimal-but-expandable-by-installing-packages-image, will depend on the answer to RFC #1.

Comments?

-- Rod

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rod Whitby schreef:

Quoted 11 lines
Quoted 5 lines · Rod Whitby

I just realised that minimal-image.bb doesn't include ipkg, whereas the first image which does include ipkg (console-image) includes a whole lot of other stuff which could be installed using ipkg after first boot and network access, and which make the image too big for a machine with limited flash space (like an NSLU2).

RFC #1:

Quoted 3 lines

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

Marcin and I had a discussion about that, but I can't remember the outcome. So "I have no strong opinions on that".

Quoted 2 lines

RFC #2:

Quoted 1 line

Does anyone object to me adding ipkg support to minimal-image?

I'll stick with "I have no strong opinions on that". :)

Quoted 7 lines

OK, of course the choice of ipkg as the package manager is distro-specific, and depends on the distro including feed configuration (although just having a package manager on hand even with a feed configuration would be a useful addition to a minimal image).

So my revised RFC #2 is to add a DISTRO_PACKAGE_MANAGER variable, which DISTROs define

DISTRO_PACKAGE_MANAGER is in package-space, so it should only show up in R*, right? Sounds like a pretty good idea. As a side note, distros will need to do more than that to switch packageformat or packagemanager, but that's outside the scope of this discussion.

regards,

Koen

Quoted 7 lines

-- Rod

_______________________________________________
Angstrom-distro-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

- --
[email protected] will go go away in december 2007, please use [email protected] instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHUmn8MkyGM64RGpERAjowAJ95XuhuVSK6vxB0Wqff0jqduYxJlACbBl2U rt+wJMZ5N89FQS67lG2UOfE=
=BkC3
-----END PGP SIGNATURE-----

author
#3 lore raw
Quoted 6 lines · Koen Kooi

Rod Whitby schreef:

Quoted 4 lines

OK, of course the choice of ipkg as the package manager is distro-specific, and depends on the distro including feed configuration (although just having a package manager on hand even without a feed configuration would be a useful addition to a minimal image).

Quoted 7 lines
Quoted 2 lines

So my revised RFC #2 is to add a DISTRO_PACKAGE_MANAGER variable, which DISTROs define

DISTRO_PACKAGE_MANAGER is in package-space, so it should only show up in R*, right? Sounds like a pretty good idea. As a side note, distros will need to do more than that to switch packageformat or packagemanager, but that's outside the scope of this discussion.

My proposed patch follows. Any objections?

============================================================

distro/angstrom-2007.1.conf 508cc6d61d863e169c13b5ff0295b66f3608f6de renamed from distro/angstrom-2007.1.conf c6bbfa10816eda24513e92b21827c75003bb4daa +0 -2
@@ -224,7 +224,6 @@ EXTRA_STUFF ?= ""
 
 
 # Angstrom want to ship some extra stuff. This should be moved into task-base eventually
-# contains ipkg specific stuff as well :(
 
 #work around a bitbake bug where mtd-utils-native isn't created so do_rootfs fails
 DISTRO_EXTRA_DEPENDS += " \
@@ -235,7 +234,6 @@ DISTRO_EXTRA_RDEPENDS += "\
     update-modules \
     ${@base_contains("MACHINE_FEATURES", "screen", "psplash", "",d)} \
     angstrom-version \
-    ipkg ipkg-collateral \
     util-linux-mount util-linux-umount \
     ${EXTRA_STUFF} \
     ${DEBUG_APPS} \

============================================================

images/minimal-image.bb dc0caa8692fe8e856f0e752e6d88fe50851fe435 renamed from images/minimal-image.bb c74056146aaed6f3e2cd64879f504ea6920efb59 +2 -0
@@ -1,12 +1,14 @@ DISTRO_SSH_DAEMON ?= "dropbear"
 #Angstrom minimalist image
 #gives you a small images with ssh access
 
 ANGSTROM_EXTRA_INSTALL ?= ""
 DISTRO_SSH_DAEMON ?= "dropbear"
+DISTRO_PACKAGE_MANAGER ?= "ipkg ipkg-collateral"
 
 IMAGE_INSTALL = "task-boot \
             util-linux-mount util-linux-umount \
             ${DISTRO_SSH_DAEMON} \
+            ${DISTRO_PACKAGE_MANAGER} \
             angstrom-version \
           "
 

============================================================

tasks/task-base.bb 22635c1ee42f15cae81e8d4a5b07e8dea4b07f49 renamed from tasks/task-base.bb 6f33e4ea8083953d24993dca089ae71114f8a639 +6 -0
@@ -64,6 +64,11 @@ DISTRO_SSH_DAEMON ?= "dropbear"
 DISTRO_SSH_DAEMON ?= "dropbear"
 
 #
+# ipkg, or something else
+#
+DISTRO_PACKAGE_MANAGER ?= "ipkg ipkg-collateral"
+
+#
 # pcmciautils for >= 2.6.13-rc1, pcmcia-cs for others
 #
 PCMCIA_MANAGER ?= "${@base_contains('MACHINE_FEATURES', 'kernel26','pcmciautils','pcmcia-cs',d)} "
@@ -82,6 +87,7 @@ RDEPENDS_task-base = "\
     task-distro-base \
     task-machine-base \
     ${DISTRO_SSH_DAEMON} \
+    ${DISTRO_PACKAGE_MANAGER} \
     ${HOTPLUG} \
     \
     ${@base_contains('MACHINE_FEATURES', 'kernel26','task-base-kernel26','task-base-kernel24',d)} \

-- Rod

#4 lore raw
In reply to Koen Kooi
Quoted 8 lines · Koen Kooi

Rod Whitby schreef:

Quoted 7 lines
Quoted 5 lines · Rod Whitby

I just realised that minimal-image.bb doesn't include ipkg, whereas the first image which does include ipkg (console-image) includes a whole lot of other stuff which could be installed using ipkg after first boot and network access, and which make the image too big for a machine with limited flash space (like an NSLU2).

Quoted 7 lines
Quoted 4 lines

RFC #1:

Quoted 3 lines

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

Marcin and I had a discussion about that, but I can't remember the outcome. So "I have no strong opinions on that".

I think minimal was really intended for people trying to boot systems for the first time and really is 'the bare essentials to boot'. Having said that I appreciate the problem of creating an image cut down enough for the NSLU2.

Ideally, MACHINE=nslu2 should make the console image become small enough to be usable for the device even if that different compared to the minimal image is just the package manager due to size constraints...

On a related but different note, the presence of a package manager or not sounds like an DISTRO_FEATURE. Perhaps we should add "package-manager" as a DISTRO_FEATURE and then use this to decide whether a package manager should be installed into an image. The package manager to install should determined by the class building the image so you end up with a package manager appropriate to the image - ipkg or dpkg+apt currently.

Does that seem reasonable?

Cheers,

Richard

#5 lore raw

Am 02.12.2007 um 17:01 schrieb Richard Purdie:

Quoted 1 line

Does that seem reasonable?

As usual, it does seem reasonable.

z.

#6 lore raw
In reply to Richard Purdie

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Purdie schreef:

Quoted 24 lines · Koen Kooi
Quoted 7 lines

Rod Whitby schreef:

Quoted 6 lines
Quoted 5 lines · Rod Whitby

I just realised that minimal-image.bb doesn't include ipkg, whereas the first image which does include ipkg (console-image) includes a whole lot of other stuff which could be installed using ipkg after first boot and network access, and which make the image too big for a machine with limited flash space (like an NSLU2).

Quoted 6 lines
Quoted 4 lines

RFC #1:

Quoted 3 lines

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

Marcin and I had a discussion about that, but I can't remember the outcome. So "I have no strong opinions on that".

I think minimal was really intended for people trying to boot systems for the first time and really is 'the bare essentials to boot'. Having said that I appreciate the problem of creating an image cut down enough for the NSLU2.

Ideally, MACHINE=nslu2 should make the console image become small enough to be usable for the device even if that different compared to the minimal image is just the package manager due to size constraints...

Quoted 7 lines

On a related but different note, the presence of a package manager or not sounds like an DISTRO_FEATURE. Perhaps we should add "package-manager" as a DISTRO_FEATURE and then use this to decide whether a package manager should be installed into an image. The package manager to install should determined by the class building the image so you end up with a package manager appropriate to the image - ipkg or dpkg+apt currently.

For angstrom it's an IMAGE_FEATURE, since some images need it (e.g. console-image) and others don't (e.g. initramfs).
Right not you can set ANGSTROM_PKG_FORMAT to 'deb' or 'ipkg' to create images using .ipk or .deb packages, with no rebuild needed, changing it halfway during a build and restarting bitbake "Just Works(TM)". Any changes to how a packagemanager is installed must keep that 'automagical' feature. The only thing missing in Rods patch is to set the packagemanager var in conf/distro/include/angstrom-package-{deb,ipkg}.inc.

regards,

Koen

- --
[email protected] will go go away in december 2007, please use [email protected] instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHUrBTMkyGM64RGpERAgfWAJ41XtwMfcwzdUvVb7B8wlPgyzyl7ACeO3Ee XzEKgGuHGPodrllIEg/eI7Y=
=9K0Z
-----END PGP SIGNATURE-----

#7 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Koen Kooi schreef:

Quoted 32 lines

Richard Purdie schreef:

Quoted 23 lines · Koen Kooi
Quoted 7 lines

Rod Whitby schreef:

Quoted 6 lines
Quoted 5 lines · Rod Whitby

I just realised that minimal-image.bb doesn't include ipkg, whereas the first image which does include ipkg (console-image) includes a whole lot of other stuff which could be installed using ipkg after first boot and network access, and which make the image too big for a machine with limited flash space (like an NSLU2).

Quoted 6 lines
Quoted 4 lines

RFC #1:

Quoted 3 lines

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

Marcin and I had a discussion about that, but I can't remember the outcome. So "I have no strong opinions on that".

I think minimal was really intended for people trying to boot systems for the first time and really is 'the bare essentials to boot'. Having said that I appreciate the problem of creating an image cut down enough for the NSLU2.

Ideally, MACHINE=nslu2 should make the console image become small enough to be usable for the device even if that different compared to the minimal image is just the package manager due to size constraints...

Quoted 7 lines

On a related but different note, the presence of a package manager or not sounds like an DISTRO_FEATURE. Perhaps we should add "package-manager" as a DISTRO_FEATURE and then use this to decide whether a package manager should be installed into an image. The package manager to install should determined by the class building the image so you end up with a package manager appropriate to the image - ipkg or dpkg+apt currently.

Quoted 9 lines

For angstrom it's an IMAGE_FEATURE, since some images need it (e.g. console-image) and others don't (e.g. initramfs).
Right not you can set ANGSTROM_PKG_FORMAT to 'deb' or 'ipkg' to create images using .ipk or .deb packages, with no rebuild needed, changing it halfway during a build and restarting bitbake "Just Works(TM)". Any changes to how a packagemanager is installed must keep that 'automagical' feature. The only thing missing in Rods patch is to set the packagemanager var in conf/distro/include/angstrom-package-{deb,ipkg}.inc.

To make it a bit more clear:

There are 3 seperate items being discusses here:

1. how to stop a packagemanager getting into an image
2. selecting which packageformat the build should use
3. selecting which packagemanager handles which packageformat (ipkg can
handle .debs for example)

ANGSTROM_PKG_FORMAT handles 2. and 3., but not 1. (yet)

I think having a flag indicating *which* packagemanager gets is (like Rods patch does) is a good thing, but a flag toggling the presence of the packagemanager wouldn't be, since you can't distinguish the resulting images from each other.
I think creating e.g. <foo>-nopm.bb recipes that do 'require <foo>.bb ; PACKAGE_MANAGER = " "' would be the least confusing option.

I hope this clears things up a bit.

regards,

Koen

- --
[email protected] will go go away in december 2007, please use [email protected] instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHUtDFMkyGM64RGpERAq9xAJ9XRjlHv8LPiLcdnARLUUBXCc2t2ACfXM03 R/javXrBLWmVDem0N/t7DT8=
=qnhS
-----END PGP SIGNATURE-----

#8 lore raw
Quoted 8 lines · Koen Kooi

To make it a bit more clear:

There are 3 seperate items being discusses here:

1. how to stop a packagemanager getting into an image
2. selecting which packageformat the build should use
3. selecting which packagemanager handles which packageformat (ipkg can
handle .debs for example)

An image built with rootfs_deb needs to dpkg+apt, an image built with rootfs_ipk needs to use ipkg. The two will not currently work the other way around.

Until that is addressed, points 2 and 3 are the same thing.

Quoted 1 line

ANGSTROM_PKG_FORMAT handles 2. and 3., but not 1. (yet)

The setting of IMG_PKGTYPE used or the inherit order of the package classes determine this. Do we need the angstrom specific variable?

Quoted 6 lines

I think having a flag indicating *which* packagemanager gets is (like Rods patch does) is a good thing, but a flag toggling the presence of the packagemanager wouldn't be, since you can't distinguish the resulting images from each other.
I think creating e.g. <foo>-nopm.bb recipes that do 'require <foo>.bb ; PACKAGE_MANAGER = " "' would be the least confusing option.

I agree that specific images should have specific feature sets. This comes back to my point about the machine=nslu2 needing to make the console image usable.

Has anyone looked at how Poky does its IMAGE_FEATURES magic (see poky-image.bbclass)? Adding package-manager as an IMAGE_FEATURE style option and not as a DISTRO_FEATURE as I previously suggested could perhaps be a way forward...

Cheers,

Richard

#9 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Purdie schreef:

Quoted 5 lines · Koen Kooi
Quoted 4 lines

To make it a bit more clear:

There are 3 seperate items being discusses here:

Quoted 8 lines
Quoted 4 lines

1. how to stop a packagemanager getting into an image
2. selecting which packageformat the build should use
3. selecting which packagemanager handles which packageformat (ipkg can
handle .debs for example)

An image built with rootfs_deb needs to dpkg+apt, an image built with rootfs_ipk needs to use ipkg. The two will not currently work the other way around.

You can use rootfs_ipk to build a rootfs from .debs. ipkg only cares about the files being an ar-wrapped-tarball, not the suffix. It requires a small changes to the bbclass, but it is possible.

regards,

Koen

Quoted 25 lines

Until that is addressed, points 2 and 3 are the same thing.

Quoted 1 line

ANGSTROM_PKG_FORMAT handles 2. and 3., but not 1. (yet)

The setting of IMG_PKGTYPE used or the inherit order of the package classes determine this. Do we need the angstrom specific variable?

Quoted 6 lines

I think having a flag indicating *which* packagemanager gets is (like Rods patch does) is a good thing, but a flag toggling the presence of the packagemanager wouldn't be, since you can't distinguish the resulting images from each other.
I think creating e.g. <foo>-nopm.bb recipes that do 'require <foo>.bb ; PACKAGE_MANAGER = " "' would be the least confusing option.

I agree that specific images should have specific feature sets. This comes back to my point about the machine=nslu2 needing to make the console image usable.

Has anyone looked at how Poky does its IMAGE_FEATURES magic (see poky-image.bbclass)? Adding package-manager as an IMAGE_FEATURE style option and not as a DISTRO_FEATURE as I previously suggested could perhaps be a way forward...

Cheers,

Quoted 9 lines

Richard

_______________________________________________
Angstrom-distro-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

- --
[email protected] will go go away in december 2007, please use [email protected] instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHUwPNMkyGM64RGpERArb0AJ49JilRuw6f/Tj2VZ0VAJ5K52XWMACfdqKe glVjhPyQNEeBOPy7MjHFDIM=
=r8/t
-----END PGP SIGNATURE-----

#10 lore raw
In reply to Richard Purdie
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Koen Kooi

Rod Whitby schreef:

Quoted 4 lines

RFC #1:

Quoted 3 lines

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

Quoted 7 lines
Quoted 2 lines

Marcin and I had a discussion about that, but I can't remember the outcome. So "I have no strong opinions on that".

I think minimal was really intended for people trying to boot systems for the first time and really is 'the bare essentials to boot'. Having said that I appreciate the problem of creating an image cut down enough for the NSLU2.

minimal-image was meant as something really small which can be used to just boot device into something usable. For different machines 'usable' has different meaning and this should be covered by task-boot or MACHINE_ESSENTIAL_ variables.

Zaurus palmtops are usable with just busybox + keymaps, for devboards it usually mean busybox (getty on serial port is automatically started), for nslu2 it means Ethernet + ssh/telnet daemon.

I see no problem with creating 'minimal-with-ipkg' image under better name. Let 'minimal-image' be really minimal - example usage is devboard with problems with NAND accessing and MMC card - all what is available is u-boot with ethernet so booting over tftp with kernel and initrd (or kernel with initramfs) makes it working.

Quoted 4 lines

Ideally, MACHINE=nslu2 should make the console image become small enough to be usable for the device even if that different compared to the minimal image is just the package manager due to size constraints...

NSLU2 is example of device which can do really many things but rootfs space is limited. When it comes to Ångström defaults it means bt, wifi, usb host so 'task-base' starts to depend on too many stuff to be usable with internal flash. This device really needs special image for internal rootfs space.

Quoted 7 lines

On a related but different note, the presence of a package manager or not sounds like an DISTRO_FEATURE. Perhaps we should add "package-manager" as a DISTRO_FEATURE and then use this to decide whether a package manager should be installed into an image. The package manager to install should determined by the class building the image so you end up with a package manager appropriate to the image - ipkg or dpkg+apt currently.

This sounds good - no use for package manager on systems which are upgraded only by reflashing (due to many reasons).

Signature · 5 lines
JID: hrw-jabber.org
OpenEmbedded developer/consultant

           Q:      What's a light-year?
           A:      One-third less calories than a regular year.
#11 lore raw
In reply to Rod Whitby

Hello Rod,

Quoted 9 lines · you

I just realised that minimal-image.bb doesn't include ipkg, whereas the first image which does include ipkg (console-image) includes a whole lot of other stuff which could be installed using ipkg after first boot and network access, and which make the image too big for a machine with limited flash space (like an NSLU2).

Is there a reason why minimal-image does not include ipkg? What exactly is the definition of what should be in minimal-image which excludes the ability to install further packages?

minimal-image is apparently something that 1) can boot, hence
task-boot, and 2) show signs of life (in no-nonsence and secure manner), hence ${DISTRO_SSH_DAEMON}.

Quoted 1 line

Does anyone object to me adding ipkg support to minimal-image?

While your work on getting useful small Angstrom images are of
course great, I think definition of minimal image as above as perfect as it can get, so it would be better to create separate image. That would lead to proliferation, as we already have minimal-image-with-mtd-utils, but well, forking stuff for copies to undergo evolution is apparently better than hacking axiom for each occasion. Just my 2 cents.

Quoted 4 lines

FYI, minimal-image.rootfs.jffs2 for ixp4xx is 3.8M whereas console-image.rootfs.jffs2 for ixp4xx is 7.1M

-- Rod

Signature · 2 lines
Best regards,
 Paul                            mailto:[email protected]
author
#12 lore raw
Quoted 7 lines · Paul Sokolovsky

While your work on getting useful small Angstrom images are of
course great, I think definition of minimal image as above as perfect as it can get, so it would be better to create separate image. That would lead to proliferation, as we already have minimal-image-with-mtd-utils, but well, forking stuff for copies to undergo evolution is apparently better than hacking axiom for each occasion. Just my 2 cents.

That's why I'm asking. The axiom is not documented anywhere (there should be a comment at the top of each image file saying what the definition and intent of the image is), so one has to first determine whether a fork is required, or whether the changes fit in the definition of the intent of the image.

By the conflicting replies here, it is clear that the intent of minimal-image.bb is not well defined. Who is the maintainer of that image, and could that person please document the intent at the top of the minimal-image.bb file?

I do agree with those who need a *really* minimal image, and I poked CoreDump to free up the essential-image.bb namespace as a candidate for the name of that type of image, in case the not-really-that-minimal definition of minimal-image prevails.

-- Rod

#13 lore raw

Hello World,

Quoted 9 lines · Rod Whitby
Quoted 4 lines · Paul Sokolovsky

While your work on getting useful small Angstrom images are of
course great, I think definition of minimal image as above as perfect as it can get, so it would be better to create separate image. That
...

That's why I'm asking. The axiom is not documented anywhere (there should be a comment at the top of each image file saying what the definition and intent of the image is), so one has to
...

Good idea.

There is also helloworld-image, which I created to show a minimal Linux "system" consisting of kernel + "helloworld" application running as init./

For minimal, it depends on the MACHINE I would say, but the naming "minimal" is wrong. Minimal in what way?
A machine which has a console should not need an SSH server in minimal image.

It would be wiser to indicate purpose ("console") instead of size ("minimal").

Maybe "headless" is a better name, for an image that has no input method, whereas "console" means "console-shell-access".

Regards,

Signature · 1 line
Leon
author
#14 lore raw
Quoted 4 lines · Leon Woestenberg

There is also helloworld-image, which I created to show a minimal Linux "system" consisting of kernel + "helloworld" application running as init./

Quoted 8 lines

For minimal, it depends on the MACHINE I would say, but the naming "minimal" is wrong. Minimal in what way?
A machine which has a console should not need an SSH server in minimal image.

It would be wiser to indicate purpose ("console") instead of size ("minimal").

Maybe "headless" is a better name, for an image that has no input method, whereas "console" means "console-shell-access".

+1 from me.

-- Rod