• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Revisionc81db3fb5effef1bdb4deed1cf5bb8b78fb42ffc (tree)
Time2020-03-13 12:55:30
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Merge remote-tracking branch 'x86/pie-x86' into q-x86

Conflicts:
initrd/init

Change Summary

Incremental Difference

--- a/Android.mk
+++ b/Android.mk
@@ -14,7 +14,6 @@
1414
1515 ifneq ($(filter x86%,$(TARGET_ARCH)),)
1616 LOCAL_PATH := $(call my-dir)
17-include $(CLEAR_VARS)
1817
1918 include $(CLEAR_VARS)
2019 LOCAL_IS_HOST_MODULE := true
@@ -83,6 +82,7 @@ BUILT_IMG := $(addprefix $(PRODUCT_OUT)/,initrd.img install.img) $(systemimg)
8382 BUILT_IMG += $(if $(TARGET_PREBUILT_KERNEL),$(TARGET_PREBUILT_KERNEL),$(PRODUCT_OUT)/kernel)
8483
8584 ISO_IMAGE := $(PRODUCT_OUT)/$(TARGET_PRODUCT).iso
85+ISOHYBRID := LD_LIBRARY_PATH=$(LOCAL_PATH)/install/lib external/syslinux/bios/utils/isohybrid
8686 $(ISO_IMAGE): $(boot_dir) $(BUILT_IMG)
8787 @echo ----- Making iso image ------
8888 $(hide) sed -i "s|\(Installation CD\)\(.*\)|\1 $(VER)|; s|CMDLINE|$(BOARD_KERNEL_CMDLINE)|" $</isolinux/isolinux.cfg
@@ -93,7 +93,7 @@ $(ISO_IMAGE): $(boot_dir) $(BUILT_IMG)
9393 $$GENISOIMG -vJURT -b isolinux/isolinux.bin -c isolinux/boot.cat \
9494 -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot \
9595 -input-charset utf-8 -V "$(if $(RELEASE_OS_TITLE),$(RELEASE_OS_TITLE),Android-x86) $(VER) ($(TARGET_ARCH))" -o $@ $^
96- $(hide) external/syslinux/bios/utils/isohybrid.pl $@
96+ $(hide) $(ISOHYBRID) --uefi $@
9797 @echo -e "\n\n$@ is built successfully.\n\n"
9898
9999 rpm: $(wildcard $(LOCAL_PATH)/rpm/*) $(BUILT_IMG)
--- a/initrd/init
+++ b/initrd/init
@@ -106,10 +106,10 @@ check_root()
106106 elif [ -e /mnt/$SRC/system.img ]; then
107107 remount_rw
108108 mount -o loop,noatime /mnt/$SRC/system.img android
109- elif [ -d /mnt/$SRC/system ]; then
109+ elif [ -s /mnt/$SRC/system/default.prop ]; then
110110 remount_rw
111111 mount --bind /mnt/$SRC/system android
112- elif [ -z "$SRC" -a -e /mnt/default.prop ]; then
112+ elif [ -z "$SRC" -a -s /mnt/default.prop ]; then
113113 mount --bind /mnt android
114114 else
115115 return 1