Making linaro-nano smaller or Give Up Disk Space for Lent
wookey at wookware.org
Thu Mar 10 17:57:47 UTC 2011
+++ Tom Gall [2011-03-09 13:15 -0600]:
> From sound - ac97, are there arm boards that use that?
Some do. I know pxa270-based boards do. I don't know about new, shiny
linaro v7-vintage stuff.
> So that said, what is the best way to proceed?
> 1) Is there agreement that for all the kernels we supply that we
> should change the policy for kernel configs to not default to
> everything on?
> (Maybe we should be using the upstream config with minimal modifications?)
> Pro: everyone benefits from the diet
> Con: Our kernel would be build slightly different than ubuntu's
Smaller kernel packages would be useful. USB devices are awkward because you
can't trim the list according to the target hardware set. In principle
people can plug absolutely anything in and you want the drivers to
Not sure how much space that involves, but I do know it's a tedious
amount of build-time.
> 2) Linaro-media-create shouldn't install linux-firmware_1.47_all.deb ?
> Do we have any any hardware that needs it?
PLenty of USB devices people might plug in that probably need it.
Plenty of USB devices want a firmware blob before they'll do anything.
I notice this more with the ones that need a proprietary blob, but
expect there are ones that are in linux-firmware too.
I see a USB DAB device, a couple of USB tuners and 3 USB modems in the debian
firmware-linux-nonfree package. Not sure what's in the ubuntu one.
> 3) linaro-media-create should have some kind of option (--nano) to
> clear out apt caches (saves ~40 meg of space)
We shouldn't be shipping those in images anyway IMHO. They get
re-created automatically on first use.
> Pro: if you never run apt* you won't mind the cold caches
> Con: if you're running out of nand and you're going to apt-get upgrade
> your system, you're probably going to run out of space (Probably a
> problem to solve in a future cycle)
You mean if the original fs is a compressed one, or just where the
image only just fit on and there is no room to generate an apt-cache?
One thing that has been missing from apt for a long time is ability to
split upgrades into coherent chunks so an upgrade requiring downloads
larger than the space available can proceed.
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
More information about the linaro-dev