Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

bootable-newinstaller: Commit

bootable/newinstaller


Commit MetaInfo

Revision7383df1fd3cde5f932ebd54a6776f5b5414edf9b (tree)
Zeit2020-03-13 12:44:32
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

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

Conflicts:

Android.mk

Ändern Zusammenfassung

Diff

--- 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
@@ -84,6 +83,7 @@ BUILT_IMG += $(if $(TARGET_PREBUILT_KERNEL),$(TARGET_PREBUILT_KERNEL),$(PRODUCT_
8483
8584 GENISOIMG := $(if $(shell which xorriso 2> /dev/null),xorriso -as mkisofs,genisoimage)
8685 ISO_IMAGE := $(PRODUCT_OUT)/$(TARGET_PRODUCT).iso
86+ISOHYBRID := LD_LIBRARY_PATH=$(LOCAL_PATH)/install/lib external/syslinux/bios/utils/isohybrid
8787 $(ISO_IMAGE): $(boot_dir) $(BUILT_IMG)
8888 @echo ----- Making iso image ------
8989 $(hide) sed -i "s|\(Installation CD\)\(.*\)|\1 $(VER)|; s|CMDLINE|$(BOARD_KERNEL_CMDLINE)|" $</isolinux/isolinux.cfg
@@ -92,7 +92,7 @@ $(ISO_IMAGE): $(boot_dir) $(BUILT_IMG)
9292 $(GENISOIMG) -vJURT -b isolinux/isolinux.bin -c isolinux/boot.cat \
9393 -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot \
9494 -input-charset utf-8 -V "$(if $(RELEASE_OS_TITLE),$(RELEASE_OS_TITLE),Android-x86) $(VER) ($(TARGET_ARCH))" -o $@ $^
95- $(hide) external/syslinux/bios/utils/isohybrid.pl $@
95+ $(hide) $(ISOHYBRID) --uefi $@
9696 @echo -e "\n\n$@ is built successfully.\n\n"
9797
9898 rpm: $(wildcard $(LOCAL_PATH)/rpm/*) $(BUILT_IMG)
--- a/initrd/init
+++ b/initrd/init
@@ -113,10 +113,10 @@ check_root()
113113 elif [ -e /mnt/$SRC/system.img ]; then
114114 remount_rw
115115 mount -o loop,noatime /mnt/$SRC/system.img system
116- elif [ -d /mnt/$SRC/system ]; then
116+ elif [ -s /mnt/$SRC/system/build.prop ]; then
117117 remount_rw
118118 mount --bind /mnt/$SRC/system system
119- elif [ -z "$SRC" -a -e /mnt/build.prop ]; then
119+ elif [ -z "$SRC" -a -s /mnt/build.prop ]; then
120120 mount --bind /mnt system
121121 else
122122 rm -rf *
Show on old repository browser