curl -# https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz tar -xf grub-2.06.tar.xz cd grub-2.06 ./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc --disable-efiemu --disable-werror make make DESTDIR="$1" install mv -v $1/etc/bash_completion.d/grub $1/usr/share/bash-completion/completions