top | item 20040348

(no title)

tty7 | 6 years ago

huh, what do you chroot to apt-get/dnf ?

discuss

order

tecleandor|6 years ago

I think you can do that bootstrapping, for example, with debootstrap. (I'm talking by memory)

tonyarkles|6 years ago

Absolutely correct. I've got a cross-compile toolchain set up right now that needs Debian (Ubuntu won't do because of different glibc versions in the cross-compile toolchains). I used debootstrap to make a basic Debian Stretch filesystem, chroot into that, and apt-get the remaining pieces and run the build. Works like a charm, no Docker required. And, unlike containers, it's intentionally persistent so future builds go very quickly.

tty7|6 years ago

i think you missed my point :)