Re: Control Debian image size
Andrey Skvortsov <[email protected]> Sun, 3 Mar 2019 12:55:29 +0300
| Newsgroups | gmane.linux.debian.devel.embedded |
|---|---|
| Message-ID | <[email protected]> |
--/04w6evG8XlLl3ft Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, the first question is do you need/want your system to be Debian? Debian gives you stable base, reuse of broadly tested and deployed binary packages, good support, security updates. Johannes has very good described steps to shrink size of Debian system. Here is information about shrinking size provided from ELBE: Information source: https://elbe-rfs.org/images/20150322-clt-elbe.pdf For example, default image size (from 2015) 231 MB common finetuning rules -44 MB (rm /var/lib/apt/lists/*debian*) -40 MB (rm /var/cache/apt/*.bin) -40 MB (rm /usr/share/locale/*) -13 MB (rm /usr/share/doc) -08 MB (rm /usr/share/man*) new rfs size 86 MB It brings you easy below 128M requirements.=20 You may look at ELBE (https://elbe-rfs.org). It doesn't only build images (in format you need: ubifs, tar, MSDOS parttable), but allows you to check for (security) updates, generate license information, source CD for license compliance. But you certainly can go smaller with buildroot or Open Embedded. On 19-03-03 10:17, JH wrote: > Hi, >=20 > I have been searching build system and distro for my small Linux > embedded device for many weeks, the device has small resources, about > 128 MB Flash and 64 MB RAM on imx6, it is a typical embedded system, > no GUI, no Desktop environment, no multiple user interfaces, the C++ > applications are simply for data transfer and communication using > TCP/IP, the applications were previously running well on Debian 8 > armhf, so Debian is my first choice, but the Debian image size could > be a major problem, it could be too large to blow out device resource > constraints, many people commended me to use OE or Yocto or OpenWrt > distro which image size seems much smaller than the Debian armhf. Is > it possible to control / reduce Debian armhf image size by Debian > build, or isar or some other build bools, to reach the same resource > requirement level in OE Yocto or OpenWrt? >=20 > Thank you. >=20 > Kind regards, >=20 > - jh >=20 --=20 Best regards, Andrey Skvortsov --/04w6evG8XlLl3ft Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEQ575tvhxWSXeo3tPAXzLovVIsK0FAlx7pI8ACgkQAXzLovVI sK0mZQ/9Eg359TDytHvrx4uTSQM0tU/9Pklri9iAmX0OYgaFQd652bVoYJF8YC0b cE1laBZ4PRGZu+/Y81486loJkXNAfvwYsOKwq3wFAuYMpaaUCVsgdi5Pl9MUWgh6 UTZQZSmEGeGK0OYuyIQ8OvHbOLaS060DWBlS/Y2tc3X6XHW6LPgBjziHac9igFD7 O5hz0w9JuZvgFQhZtA2bC+5k7Gk0PwHNuRSPQMvgM2OW23T+JM8R7cChuZ/VjNG7 nPtC/Pe+UYppFPqcjDxsLBlQS/3t/+oeIIMtVoojxz2DOZ9+MoAbAOlSjOmaP81d VV5GbigbvHa+H88Ba0eip94io5UxTFJQm3ZMQvzvzitKp+dJigJbnjGMrPCaCF4f iJCMRhAeVlaxNE4wV/2FU9dkMAjQza+8XqtLA11eDToC/+EGHHeNgBY4LWxrRRml YYWfee1ftckZGaUcGOAQeM5mhVFFW/9gx8jTHljuMs02OpvtLsdLvRhote4UZtiR nUC9mZCUH8goDf+iVrfppaXxNHnhsJwoCQwwZg2xFJSjouXmc+uu84hyeZzijXe7 oiRiO38hj4osLdblNQDslEpL07tgbxI2fICF+zG+WKDUdkRZtXvzgvKxOFFvObZq Ph5BXeNR3aDOsnLGNj49YRPm7aT/QoYpfEL3DsMTd6T5w6du+ug= =YRMO -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--