OSDN Git Service

Add auto installation function
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 26 Jan 2018 09:19:05 +0000 (17:19 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 26 Jan 2018 09:19:05 +0000 (17:19 +0800)
commit244e03f0d186626a75cfed84574816c15a5f88b9
tree99b574fc93ad65fe90cce6662ae84c6864ff97f1
parente751882e21119b6690cdb9ed4785198a733983b0
Add auto installation function

A new variable AUTO_INSTALL is introduced to kernel cmdline:

* AUTO_INSTALL=n - auto install Android-x86 to the n-th disk or /dev/$n
                   if n is a device node name. If the specified disk
                   doesn't exist, the installer will ask you to select
                   the target disk.

* AUTO_INSTALL=force - auto install Android-x86 to the first disk
                   without any confirmation.

* AUTO_INSTALL=update - auto update Android-x86 to the first partition
                   with label Android-x86, or the first ext4 partition
                   and install boot loader.
boot/isolinux/isolinux.cfg
initrd/init
install/grub2/efi/boot/android.cfg
install/scripts/1-install