initial commit

This commit is contained in:
Mikaël Cluseau
2019-02-06 14:34:03 +11:00
commit 169edc5c49
5 changed files with 92 additions and 0 deletions

18
build-chroot Executable file
View File

@ -0,0 +1,18 @@
#! /bin/bash
set -ex
if ! [ -d chroot ]; then
mkdir chroot
debootstrap --arch amd64 testing chroot http://http.debian.net/debian/
fi
if ! [ -e chroot/usr/sbin/grub-mkconfig ]; then
chroot chroot <<EOF
set -ex
apt-get update
yes |apt-get install -y grub2 grub-efi-amd64-bin grub-pc-bin gdisk dosfstools
EOF
fi
rsync -av --delete assets chroot