debootstrap exclude file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I read Bug#221907 is reported by Joey, and saw
base-installer.postinst.
postinst checks /cdrom/.disk/base_exclude, but it means this exclusion
only enable on CD install.
How about following patch?
+ EXCLUDE="--exclude=pcmcia-cs(,and other exclude packages...)"
if [ "${EXCLUDES}" ]; then
- - EXCLUDE="--exclude=${EXCLUDES}"
+ EXCLUDE="${EXCLUDE},${EXCLUDES}"
fi
For example, debootstrap --arch i386 --print-debs sarge shows:
base-files base-passwd bash bsdutils coreutils debconf debconf-i18n
liblocale-gettext-perl libtext-wrapi18n-perl libtext-charwidth-perl
debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2
libss2 libuuid1 findutils grep gzip hostname libcap1 libc6
libdb1-compat libdb2 libdb3 libncurses5 libnewt0.51 libpam-modules
libpam-runtime libpam0g libpopt0 login makedev mawk modutils mount
ncurses-base ncurses-bin passwd perl-base procps sed slang1
slang1a-utf8 initscripts sysvinit sysv-rc tar util-linux whiptail
libgcc1 gcc-3.2-base gcc-3.3-base libstdc++5 mbr adduser apt
apt-utils at base-config bsdmainutils console-common console-tools
libconsole console-data cpio cron dhcp-client ed exim4 exim4-base
exim4-config exim4-daemon-light fdutils gettext-base groff-base
ifupdown info klogd libident libgnutls7 libssl0.9.7 libgcrypt1 liblzo1
libopencdk4 libtasn1-0 zlib1g liblockfile1 libpcre3 libsasl2 libwrap0
logrotate mailx man-db libgdbm3 manpages modconf nano net-tools
netbase netkit-inetd iputils-ping nvi ppp pppconfig pppoe pppoeconf
libpcap0.7 sysklogd tasksel libtextwrap1 tcpd telnet
libtext-iconv-perl wget lilo pciutils setserial syslinux psmisc
pcmcia-cs ipchains iptables
IMHO, at least mbr, lilo, pcmcia-cs, and ipchains don't need to
install at base-installer stage.
(Personally, I don't want exim4, nvi... I love postfix and vim :-) )
Thanks,
- --
Kenshi Muto
kmuto@debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAj/jG+sACgkQQKW+7XLQPLGQSQCcD1Kp8j8yEUJ9u46YF/Wlokc2
fcoAniA5qs88Y26AkxM4Zx48/r4IMERA
=vhma
-----END PGP SIGNATURE-----
Reply to: