Skip to content

Commit

Permalink
Merge pull request #1 from Bayroom/fixAddStartupFile
Browse files Browse the repository at this point in the history
fix: add startup file while building
  • Loading branch information
Bayroom authored Apr 7, 2023
2 parents 80e51c3 + e513b53 commit 381c6fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/x86/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ define Build/combined
$(CP) $(KDIR)/$(KERNEL_NAME) $@.boot/boot/vmlinuz
-$(CP) $(STAGING_DIR_ROOT)/boot/. $@.boot/boot/
$(CP) $(STAGING_DIR_IMAGE)/grub2/boot.img $@.boot/boot/grub/
$(CP) ./startup.nsh $(KDIR)/root.grub/
$(CP) $(STAGING_DIR_IMAGE)/grub2/$(if $(filter $(1),efi),gpt,$(GRUB2_VARIANT))-core.img \
$@.boot/boot/grub/core.img
$(if $(filter $(1),efi),
Expand Down

0 comments on commit 381c6fd

Please sign in to comment.