All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Holger Freyther <holger@freyther.de>
Cc: "poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: Re: rootfs growth from dora to master
Date: Sun, 20 Dec 2015 13:59:16 -0800	[thread overview]
Message-ID: <CAMKF1sqguLafzRoV5bNKEDnNTwqYJCaB_xX4unuvsVKTFV9LPQ@mail.gmail.com> (raw)
In-Reply-To: <570D83C9-C437-43C6-AE0A-F5A0C0794C52@freyther.de>

On Sun, Dec 20, 2015 at 9:13 AM, Holger Freyther <holger@freyther.de> wrote:
>
>> On 20 Dec 2015, at 14:49, Holger Freyther <holger@freyther.de> wrote:
>>
>> Good Afternoon
>>
>> What is the standard approach here? Review PACKAGECONFIG and disable features, manually
>> increase the packagesplit to remove items (e.g. udev PCI id db when there are no PCI ids)?
>
> Using PACKAGECONFIG and removing x11 from DISTROFEATURES I get the image down to 8.2MB
> and by passing some more --disable to systemd itself the image is 7.6MB. This is currently enough to fi
> in our rescue partition but still a significant increase compared to Dora.
>
> Is there interest in maintaining older versions of systemd or having a size requirement that certain images
> need to stay below XYZ MB for a given architecture?

In my view, its better to find more PACKAGECONFIGs and reduce the size
than to stick to older version
I think we can convince systemd upstream on configure options if new
are needed. I have done something like

something like below is what I have with systemd 216 and the size came
down for ipk from ~10M to 5M

EXTRA_OECONF += "--enable-introspection=no \
                 --enable-gtk-doc=no \
                 --enable-gtk-doc-html=no \
                 --enable-gtk-doc-pdf=no \
                 --enable-address-sanitizer=no \
                 --disable-seccomp \
                 --disable-selinux \
                 --disable-apparmor \
                 --disable-xz \
                 --disable-pam \
                 --disable-acl \
                 --disable-smack \
                 --disable-gcrypt \
                 --disable-audit \
                 --disable-libcryptsetup \
                 --disable-qrencode \
                 --disable-microhttpd  \
                 --disable-quotacheck \
                 --disable-vconsole \
                 --disable-logind \
                 --disable-machined \
                 --disable-hostnamed \
                 --disable-timedated \
                 --disable-localed \
                 --disable-polkit \
                 --disable-networkd \
                 --disable-efi \
                 --disable-manpages \
                 --disable-tests  \
                 --disable-backlight \
                 --disable-rfkill \
                 --disable-multi-seat-x \
                 --disable-ima \
                 --disable-xattr \
                 --disable-maintainer-mode \
                 --disable-nls \
                 --disable-binfmt \
                 --disable-gudev \
                 --disable-python-devel \
                 --disable-kmod \
                 --disable-blkid \
                 --disable-chkconfig \
                 --disable-tcpwrap \
                 --disable-readahead \
                 --disable-bootchart \
                 --disable-randomseed \
                 --disable-coredump \
                 --disable-myhostname \
                 --without-python \
                 --disable-dependency-tracking \
                 --enable-silent-rules \
                 --enable-shared \
                 --disable-dbus \
                 --enable-compat-libs=no \
                 --enable-coverage=no \
"

>
> holger
>
> --
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky


      reply	other threads:[~2015-12-20 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-20 13:49 rootfs growth from dora to master Holger Freyther
2015-12-20 17:13 ` Holger Freyther
2015-12-20 21:59   ` Khem Raj [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=CAMKF1sqguLafzRoV5bNKEDnNTwqYJCaB_xX4unuvsVKTFV9LPQ@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=holger@freyther.de \
    --cc=poky@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.