Gentoo Archives: gentoo-vdr

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-vdr@l.g.o
Subject: [gentoo-vdr] Size reduction...
Date: Sun, 25 Nov 2007 18:51:08
Message-Id: ficer7$4nm$

I'm trying to build a minimal gentoo vdr system using uclibc and
busybox, which boots completely in ram using initramfs of kernel. The
reason behind this is, that I want a system, which boots as fast as
possible. To realize this I want to reduce the size of the rootfs as
small as possible. Now I come to my questions:

1.) I have to use X, since my motherboard (via epia 8000 sp) is only
properly (more or less) supported with X drivers. Fonts for X are taking
up to 12 MB! Does vdr use or need any fonts of X? If not, I could remove

2.) Today I run a test, which packages would be installed on a clean
system for vdr:

(build) hive / # mm_merge_bins -pt vdr

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] media-video/vdr-1.4.6 to /mediamachine/devroot/
USE="-aio -bigpatch -child-protection -cmdsubmenu -debug
-dolby-record-switch -dvbplayer -dxr3-audio-denoise -jumpplay
-lnbsharing -noepg -rotor -setup-plugin -sourcecaps -submenu -subtitles
-vanilla -yaepg"
[nomerge      ]  dev-lang/perl-5.8.8-r4 to /mediamachine/devroot/
USE="-berkdb -build -debug -doc -elibc_FreeBSD -gdbm -ithreads -perlsuid"
[binary  N    ]   perl-core/Test-Harness-2.64 to /mediamachine/devroot/
[binary  N    ]   perl-core/PodParser-1.35 to /mediamachine/devroot/
[binary  N    ]    dev-lang/perl-5.8.8-r4 to /mediamachine/devroot/
USE="-berkdb -build -debug -doc -elibc_FreeBSD -gdbm -ithreads -perlsuid"
[binary  N    ]     app-admin/perl-cleaner-1.04.3 to /mediamachine/devroot/
[binary  N    ]     sys-devel/libperl-5.8.8-r1 to /mediamachine/devroot/
USE="-berkdb -debug -gdbm -ithreads"
[ebuild  N    ]  media-tv/gentoo-vdr-scripts-0.4.0 to
/mediamachine/devroot/ USE="-nvram"
[ebuild  N    ]   app-admin/sudo-1.6.8_p12-r1 to /mediamachine/devroot/
USE="-ldap -offensive -pam (-selinux) -skey"
[binary  N    ]    virtual/editor-0 to /mediamachine/devroot/
[binary  N    ]    mail-mta/ssmtp-2.61-r2 to /mediamachine/devroot/
USE="-ipv6 -mailwrapper -md5sum -ssl"
[binary  N    ]     net-mail/mailbase-1 to /mediamachine/devroot/
[ebuild  N    ]  sys-apps/gawk-3.1.5-r5 to /mediamachine/devroot/
[ebuild  N    ]  media-tv/vdrplugin-rebuild-0.2 to /mediamachine/devroot/
[ebuild  N    ]  media-libs/jpeg-6b-r7 to /mediamachine/devroot/
[ebuild  N    ]  media-tv/linuxtv-dvb-headers-3.1 to /mediamachine/devroot/
[binary  N    ]   sys-kernel/linux-headers-2.6.22-r2 to
[ebuild  N    ]  sys-libs/libcap-1.10-r9 to /mediamachine/devroot/
[ebuild  N    ]  media-tv/linuxtv-dvb-headers-3.1
[ebuild  N    ]  sys-libs/libcap-1.10-r9  USE="-python"
[ebuild  N    ]  media-libs/jpeg-6b-r7
[nomerge      ] app-admin/sudo-1.6.8_p12-r1 to /mediamachine/devroot/
USE="-ldap -offensive -pam (-selinux) -skey"
[binary  N    ]  app-editors/nano-2.0.6 to /mediamachine/devroot/
USE="minimal unicode -debug -justify -ncurses -nls -slang -spell"

As far as I can see perl is pulled in by Test-Harness and PodParser. Can
you tell me what this stuff is needed for? For me perl is a big
dependency, which I would like to get rid of.

Well, that's it for now. Thanks for any help in advance!

gentoo-vdr@g.o mailing list