On 2021-02-03 14:29-0600 Dale <rdalek1...@gmail.com> wrote: > Grant Taylor wrote: > > This may be a silly question, but I don't know, so I'm going to ask. > > > > What is the minimal world file to be somewhat conceptually similar > > to a debootstrap install of Debian / Ubuntu? > > > > Is the world file that ships with stage3 the smallest it can be? Or > > are there things that can safely be removed? > > If I recall correctly, the world file from a stage3 tarball is empty. > It only has the packages you want installed added there. Are you > thinking about the system packages instead of the world file? If so, > I think it is as small as it can be already. After all, a stage3 > tarball can't even boot as it has no kernel, boot loader mechanism or > anything. It's only enough that you can build from to suite your > needs. > > Dale
You could install Gentoo into a directory without the build tools, but you would have to install packages and update them from a full Gentoo installation outside that directory. I've used that technique in my Docker experiments.[1] emerge --root=/workdir sys-apps/busybox will install busybox and all build-time dependencies into /workdir. Kind regards, tastytea [1] <https://schlomp.space/tastytea/docker-images/src/branch/main/gentoo-base.Dockerfile> -- Get my PGP key with `gpg --locate-keys tasty...@tastytea.de` or at <https://tastytea.de/tastytea.asc>.
pgpvtZsc1q0Dl.pgp
Description: Digitale Signatur von OpenPGP