minimizing the minimal image

Post Reply
elatllat
Posts: 1779
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 47 times
Been thanked: 114 times
Contact:

minimizing the minimal image

Post by elatllat »

270 MB for libsdl2-doc
320 MB for linux-firmware
_88 MB for ubuntu-mono

seems like they need not be installed by default.

mad_ady
Posts: 8341
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 574 times
Been thanked: 440 times
Contact:

Re: minimizing the minimal image

Post by mad_ady »

Doesn't linux-firmware contain useful blobs for wifi cards and tv tuners? Might break things if removed...

elatllat
Posts: 1779
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 47 times
Been thanked: 114 times
Contact:

Re: minimizing the minimal image

Post by elatllat »

I expect 'apt install linux-firmware' would not be a burden for those wanting to use the minimal img with non-open wifi/tuners.
Every package is useful to someone, but drawing the line on what should be in the minimal image IMO should exclude large packages that are easily installable, and not used by all... just a bandwidth/disk/time saving suggestion.

Code: Select all

dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr | head
can be used to show 948 MB+ of packages not used by those using the minimal img headless.

brad
Posts: 1176
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 60 times
Been thanked: 108 times
Contact:

Re: minimizing the minimal image

Post by brad »

elatllat wrote:
Thu Aug 15, 2019 9:37 pm
I expect 'apt install linux-firmware' would not be a burden for those wanting to use the minimal img with non-open wifi/tuners.
linux-firmware contains blob drivers for different hardware (mostly wifi) which is often why it is included in many minimal installs. ie I cant run "apt install linux-firmware" if I have no network access so you can see how it could be a burden for some users with only a wifi connection requiring a driver in that package. As for the other 2 packages I don't see any reasons they would be required in a minimal image

igorpec
Posts: 646
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 32 times
Been thanked: 84 times
Contact:

Re: minimizing the minimal image

Post by igorpec »

Armbian by default provides "armbian-firmware" which include only blobs for on-board wifi fw and few most popular ones https://github.com/armbian/firmware and a simpl upgrade to (apt install armbian-firmware-full) which is more or less a full linux-firmware package. In case of Odroid this is not so critical, since they don't have on-board wifi ... but with many boards its expected that wifi works OOB.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

elatllat
Posts: 1779
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+
Has thanked: 47 times
Been thanked: 114 times
Contact:

Re: minimizing the minimal image

Post by elatllat »

igorpec wrote:
Fri Aug 16, 2019 12:48 am
Armbian...
I like your subtle plugs :D and some day I might find a reason to use Armbian but for now I'm happy to use upstream (kernel/debian/etc), sometimes testing hk builds to provide (maybe helpful, maybe spamful) pointers to odroid. I noticed the ~1Gb of extras are not included in Ubuntu server.

igorpec
Posts: 646
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 32 times
Been thanked: 84 times
Contact:

Re: minimizing the minimal image

Post by igorpec »

elatllat wrote:
Fri Aug 16, 2019 1:06 am
I'm happy to use upstream kernel
Upstream kernel on N2? Didn't know it's ready for end usage yet.
elatllat wrote:
Fri Aug 16, 2019 1:06 am
Debian
There are many ways how (generic) upstream Debian can be improved ... you can improve it on your own, rant on forums (like you do in this topic) or just use it.

On our full blown x86 desktops full firmware package does not matter. Nobody cares. On small systems, this is relevant. Any many other things. Which will never be addressed upstream ...

BTW. Armbian is a build system in its core.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests