[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Creating a chroot for cross-building lmi
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] Creating a chroot for cross-building lmi |
Date: |
Tue, 19 May 2020 19:46:02 +0200 |
On Tue, 19 May 2020 17:21:58 +0000 Greg Chicares <address@hidden> wrote:
GC> On 2020-05-17 15:40, Greg Chicares wrote:
GC> > On 2020-05-16 22:03, Greg Chicares wrote:
GC> >
GC> > [...debootstrap options]
GC> [...]
GC> >> - I specified '--variant=minbase' because it should be smallest (and
GC> >> who knows, it might be as good for building lmi as the default).
GC> >
GC> > '--variant=minbase' does have some benefit: for example, it
GC> > excludes cron, fdisk, and nano, none of which are really
GC> > needed in a chroot.
GC>
GC> Historical note, just to get this into the archives before I remove
GC> my sid caches...
GC>
GC> These are the files that are downloaded by debootstrap without
GC> '--variant=minbase', and are neither in a "minbase" installation
GC> nor added by lmi's chroot-building scripts (and therefore are not
GC> required to build lmi successfully):
Interesting, normally the difference between minbase and the default is
supposed to be that the former installs only the packages with the priority
of "required", while the latter also additionally installs those with the
priority of "important".
But while the output of "aptitude search '~i~pimportant'" here does look
look similar to yours, it's not at all identical to it. Just in case you're
_very_ curious, here is the diff between your list and mine:
+adduser
+apt
apt-utils
bsdmainutils
cpio
-cron
debconf-i18n
+debian-archive-keyring
dmidecode
fdisk
+gpgv
ifupdown
init
iproute2
@@ -13,29 +16,26 @@
isc-dhcp-client
isc-dhcp-common
kmod
-libdns-export1110
-libestr0
-libfastjson4
-libfdisk1
-libip6tc2
-libisc-export1105
-liblognorm5
-libmnl0
-libnetfilter-conntrack3
-libnewt0.52
-libnfnetlink0
-libnftnl11
-libprocps8
-libtext-charwidth-perl
-libtext-iconv-perl
-libtext-wrapi18n-perl
-libxtables12
-logrotate
+less
+libapt-inst1.7
+libapt-pkg4.16
+libgdbm3
+libgnutls13
+libopencdk10
+libreadline6
+libreadline8
+libssl0.9.8
+libssl1.0.0
+libudev1
nano
-perl-base
+netbase
procps
-rsyslog
+readline-common
+sensible-utils
+systemd
+systemd-sysv
tasksel-data
-tasksel
+udev
+vim-common
vim-tiny
whiptail
Some of "-" are probably just things that I've manually uninstalled
(although I definitely didn't uninstall perl-base, it's just that it's
"required" and not just "important" here), but I don't really understand
why debootstrap doesn't install e.g. "adduser", as "apt-cache show adduser"
does have "Priority: important".
Anyhow, this is probably not important all, but I just wanted to mention
that maybe things are not as simple as debootstrap man page, which says:
The default, with no --variant=X argument, is to create a base
Debian installation with all packages of priority required and
important, including apt.
pretends.
Regards,
VZ
pgp0lSaqLrBjM.pgp
Description: PGP signature