Commit f09837d5 authored by Vladimír Štill's avatar Vladimír Štill

debootstrap: Boot EFI dir in EFI mode

parent 27710d7e
......@@ -66,6 +66,10 @@ mkfs.xfs -m reflink=1 $ROOTD
ROOT=/mnt/root
mkdir -p $ROOT
mount $ROOTD $ROOT
if [[ "$EFI" = "efi" ]]; then
mkdir -p $ROOT/boot/efi
mount $(getpart $DISK 1) $ROOT/boot/efi
fi
debootstrap stable $ROOT http://ftp.cz.debian.org/debian/
cp debootstrap-stage2 $ROOT/root/
genfstab $ROOT > $ROOT/etc/fstab
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment