Skip to content
Snippets Groups Projects
Commit ec5a33ce authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

multiboot: set label to MultiBoot and delete loop device

parent 0a3b513e
No related branches found
No related tags found
No related merge requests found
......@@ -502,7 +502,8 @@ image : image_content $(GRUB_ASSEMBLE_DIR)/mbr.img
#it can be used to test the image creation process of lipck (it is not
#necessary to remaster an image to test this crucial base part).
multiboot :
$(MAKE) "IMAGE_PART_FILE=$(WORKSPACE)/multiboot.part" image_skel_file
$(MAKE) "IMAGE_PART_FILE=$(WORKSPACE)/multiboot.part" IMAGE_PART_LABEL=MultiBoot \
image_skel_file
mkdir -p "$(WORKSPACE)/multiboot.work"
mount "$(WORKSPACE)/multiboot.part" "$(WORKSPACE)/multiboot.work"
$(MAKE) "IMAGE_DIR=$(WORKSPACE)/multiboot.work" image_grub_install \
......@@ -511,7 +512,7 @@ multiboot :
#default bootloader for 64bit efi systems
mv "$(WORKSPACE)/multiboot.work/efi/boot/"{grubx64-unsigned.efi,bootx64.efi} \
|| (umount "$(WORKSPACE)/multiboot.work" && exit 1)
umount "$(WORKSPACE)/multiboot.work"
umount -d "$(WORKSPACE)/multiboot.work"
$(MAKE) "IMAGE_PART_FILE=$(WORKSPACE)/multiboot.part" IMAGE_FILE=MultiBoot.img \
image_assemble
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment