-
-
Save bbonev/a2737cdb96329edf3e444857920cb327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install a minimal start | |
debootstrap --no-merged-usr --arch=amd64 \ | |
--include=sysvinit-core --variant=minbase \ | |
--exclude=systemd,systemd-sysv,libnss-systemd $RELEASE /mnt | |
# Flesh out everything that would be in a normal debootstrap | |
# XXX NOTE: Do this in a chroot | |
apt-cache dumpavail \ | |
| perl -00 -ne '/^Package: (.*)/m && print "$1\n" | |
if /^Priority: (?:required|important|standard)/m' \ | |
| grep -v systemd | xargs apt --yes install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment