0022-x86-explicitely-pass-staging-directory-to-grub-mkimage-instead-of-relying-on-build-time-defaults-12821.patch 995 B

123456789101112131415161718192021222324
  1. From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
  2. Date: Thu, 17 Jan 2013 15:46:26 +0000
  3. Subject: x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults (#12821)
  4. diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
  5. index 8f0debd..6e2bd54 100644
  6. --- a/target/linux/x86/image/Makefile
  7. +++ b/target/linux/x86/image/Makefile
  8. @@ -102,6 +102,7 @@ ifneq ($(CONFIG_X86_GRUB_IMAGES),)
  9. $(INSTALL_DIR) $(KDIR)/root.grub/boot/grub $(KDIR)/grub2
  10. $(CP) $(KDIR)/bzImage $(KDIR)/root.grub/boot/vmlinuz
  11. grub-mkimage \
  12. + -d $(STAGING_DIR_HOST)/lib/grub/i386-pc \
  13. -o $(KDIR)/grub2/core.img \
  14. -O i386-pc \
  15. -c ./grub-early.cfg \
  16. @@ -171,6 +172,7 @@ ifdef CONFIG_X86_USE_GRUB2
  17. $(INSTALL_DIR) $(KDIR)/root.grub/boot/grub $(KDIR)/grub2
  18. $(CP) $(KDIR)/bzImage $(KDIR)/root.grub/boot/vmlinuz
  19. grub-mkimage \
  20. + -d $(STAGING_DIR_HOST)/lib/grub/i386-pc \
  21. -o $(KDIR)/grub2/eltorito.img \
  22. -O i386-pc \
  23. -c ./grub-early.cfg \