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
mkdir -p $ROOT
mount $ROOTD $ROOT
if [[ "$EFI" = "efi" ]]; then
mkdir -p $ROOT/boot/efi
mount $(getpart $DISK 1) $ROOT/boot/efi
debootstrap stable $ROOT
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