Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

bootable-newinstaller: Commit

bootable/newinstaller


Commit MetaInfo

Revisión2796e618bea4b351254e92cd0fc968bd5992389f (tree)
Tiempo2016-02-05 17:58:23
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Android.mk: refine the rules to build iso_img

The original rules may fail at some situations.

Reported-by: Jaroslav Penaska <j.penaska@gmail.com>

Cambiar Resumen

Diferencia incremental

--- a/Android.mk
+++ b/Android.mk
@@ -59,9 +59,10 @@ $(INSTALL_RAMDISK): $(wildcard $(LOCAL_PATH)/install/*/* $(LOCAL_PATH)/install/*
5959 $(MKBOOTFS) $(dir $(dir $(<D))) | gzip -9 > $@
6060
6161 boot_dir := $(PRODUCT_OUT)/boot
62-$(boot_dir): $(shell find $(LOCAL_PATH)/boot -type f | sort -r) $(systemimg) $(GENERIC_X86_CONFIG_MK) | $(ACP)
62+$(boot_dir): $(shell find $(LOCAL_PATH)/boot -type f | sort -r) $(systemimg) $(INSTALL_RAMDISK) $(GENERIC_X86_CONFIG_MK) | $(ACP)
6363 $(hide) rm -rf $@
6464 $(ACP) -pr $(dir $(<D)) $@
65+ $(ACP) -pr $(dir $(<D))../install/grub2/efi $@
6566
6667 BUILT_IMG := $(addprefix $(PRODUCT_OUT)/,ramdisk.img initrd.img install.img) $(systemimg)
6768 BUILT_IMG += $(if $(TARGET_PREBUILT_KERNEL),$(TARGET_PREBUILT_KERNEL),$(PRODUCT_OUT)/kernel)
@@ -71,7 +72,6 @@ $(ISO_IMAGE): $(boot_dir) $(BUILT_IMG)
7172 @echo ----- Making iso image ------
7273 $(hide) sed -i "s|\(Installation CD\)\(.*\)|\1 $(VER)|; s|CMDLINE|$(BOARD_KERNEL_CMDLINE)|" $</isolinux/isolinux.cfg
7374 $(hide) sed -i "s|VER|$(VER)|; s|CMDLINE|$(BOARD_KERNEL_CMDLINE)|" $</boot/grub/grub.cfg
74- $(hide) cp -r $(<D)/../../../../bootable/newinstaller/install/grub2/efi $</efi
7575 genisoimage -vJURT -b isolinux/isolinux.bin -c isolinux/boot.cat \
7676 -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot \
7777 -input-charset utf-8 -V "Android-x86 LiveCD" -o $@ $^
Show on old repository browser