summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/grub/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/grub/Makefile b/package/grub/Makefile
index 1e7a2625f..803511ac1 100644
--- a/package/grub/Makefile
+++ b/package/grub/Makefile
@@ -137,6 +137,7 @@ else
${CP} ${WRKINST}/usr/lib/grub/${GRUB_ARCH} \
$(IDIR_GRUB)/$(GRUB_DIR)
$(CP) ./files/$(GRUB_CFG) $(IDIR_GRUB)/$(GRUB_DIR)/grub.cfg
+ $(SED) "s/@@ROOTDEV@@/$(ADK_TARGET_ROOTDEV)/g" $(IDIR_GRUB)/$(GRUB_DIR)/grub.cfg
endif
$(STAGING_HOST_DIR)/usr/bin/grub-mkimage \
-d $(WRKINST)/usr/lib/grub/$(GRUB_ARCH) \