W dniu 01.11.2018 o 18:03, Philip Prindeville pisze: > Inline > >> On Oct 31, 2018, at 11:02 AM, Tomasz Maciej Nowak <tome...@o2.pl> wrote: >> >> Add files to bootfs image from selected as built-in packages, which want >> to install files to targets boot file system. >> >> Signed-off-by: Tomasz Maciej Nowak <tome...@o2.pl> >> --- >> target/linux/x86/image/Makefile | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/target/linux/x86/image/Makefile >> b/target/linux/x86/image/Makefile >> index b537c40f24..310a143e13 100644 >> --- a/target/linux/x86/image/Makefile >> +++ b/target/linux/x86/image/Makefile >> @@ -85,6 +85,7 @@ ifneq ($(CONFIG_GRUB_IMAGES),) >> -e 's#@ROOT@#$(GRUB_ROOT)#g' \ >> -e 's#@TITLE@#$(GRUB_TITLE)#g' \ >> ./grub.cfg > $(KDIR)/root.grub/boot/grub/grub.cfg >> + -$(CP) $(STAGING_DIR_ROOT)/boot/* $(KDIR)/root.grub/boot/ > > Per below > >> PADDING="$(CONFIG_TARGET_IMAGES_PAD)" SIGNATURE="$(SIGNATURE)" >> PATH="$(TARGET_PATH)" $(SCRIPT_DIR)/gen_image_generic.sh \ >> $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \ >> $(CONFIG_TARGET_KERNEL_PARTSIZE) $(KDIR)/root.grub \ >> @@ -123,6 +124,7 @@ define Image/Build/iso >> -e 's#@TIMEOUT@#$(GRUB_TIMEOUT)#g' \ >> -e 's#@TITLE@#$(GRUB_TITLE)#g' \ >> ./grub-iso.cfg > $(KDIR)/root.grub/boot/grub/grub.cfg >> + -$(CP) $(STAGING_DIR_ROOT)/boot/* $(KDIR)/root.grub/boot/ > > I’d use . instead of * >
Thanks Philip, I'll change that in next version. >> mkisofs -R -b boot/grub/eltorito.img -no-emul-boot -boot-info-table \ >> -o $(KDIR)/root.iso $(KDIR)/root.grub $(TARGET_DIR) >> endef >> -- >> 2.19.1 >> >> >> _______________________________________________ >> openwrt-devel mailing list >> openwrt-devel@lists.openwrt.org >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > -- TMN _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel