[poky] rootfs growth from dora to master
Khem Raj
raj.khem at gmail.com
Sun Dec 20 13:59:16 PST 2015
On Sun, Dec 20, 2015 at 9:13 AM, Holger Freyther <holger at freyther.de> wrote:
>
>> On 20 Dec 2015, at 14:49, Holger Freyther <holger at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list