public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: JH <jupiter.hce@gmail.com>
To: Henning Schild <henning.schild@siemens.com>
Cc: "[ext] Jan Kiszka" <jan.kiszka@siemens.com>,
	"Maxim Yu. Osipov" <mosipov@ilbers.de>,
	 isar-users <isar-users@googlegroups.com>
Subject: Re: Can isar Debian armhf image size be controlled?
Date: Tue, 5 Mar 2019 22:26:16 +1100	[thread overview]
Message-ID: <CAA=hcWTF1-+ebHh47Ofsg=CV0Rb+ULPZr+XaxTdRGoRfcwCyGw@mail.gmail.com> (raw)
In-Reply-To: <20190305112946.39a939af@md1za8fc.ad001.siemens.net>

On 3/5/19, Henning Schild <henning.schild@siemens.com> wrote:

> If you have a closer look with i.e "ncdu" you will find that kernel and
> modules might require a lot. One way to safe space is using a custom
> kernel and not use too many modules, also not use an initrd.
>
> Other consumers are locales/zoneinfo/docs. These things can be cleaned
> up i.e. with a postrm script in a transient package. Or a few "rm"s in
> a do_rootfs_append or a custom task.
>
> I just manually removed some files and got down to 65MB (kernel and
> modules not included).

That is an excellent news, I'll remove /locales /docs and other
desktop resources which are  useless in a specific purpose embedded
system.

> Yes you can even remove apt and other "essential" packages, that would
> probably be a last resort and give you another 5-7MB.
> Note that manual removal of files and removing the package manager
> might significantly decrease the value of the rootfs. Depends on
> whether you care about updates and how you plan to ship/install them.

Yes, I am not going to use desktop style apt update and install from
Debian repository, our firmware and software will be downloaded from a
controlled remote server and installed with dependencies locally.
Obviously, it needs be well tested before starting remote software /
firmware update.

>> In general, you have to be in a very high volume market so that the
>> additional engineering and maintenance costs (when using a
>> non-commodity distro) pay off via saved hardware budget.
>
> True! But in this case we are probably talking about an old device that
> should receive new firmware.

Agreed, thanks Henning and all responses.

- jupiter

      reply	other threads:[~2019-03-05 11:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-02 22:55 hh h
2019-03-05  6:32 ` Maxim Yu. Osipov
2019-03-05  6:50   ` Jan Kiszka
2019-03-05 10:29     ` Henning Schild
2019-03-05 11:26       ` JH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA=hcWTF1-+ebHh47Ofsg=CV0Rb+ULPZr+XaxTdRGoRfcwCyGw@mail.gmail.com' \
    --to=jupiter.hce@gmail.com \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    --cc=mosipov@ilbers.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox