VMware-Photon-OS/installer
Alexey Makhalov 4ab68a7971 installer: fix remote repo=
Command line --repo-path parameter for isoInstaller.py has
higher priority over kernel cmdline repo= parameter.
/bin/bootphotoninstaller has --repo-path explicitly set to
/mnt/cdrom/RPMS which overwrites any kernel repo= settings.

Remove --repo-path=/mnt/cdrpm/RPMS from bootphotoninstaller
and use default /RPMS from media if nigther of these two
parameters provided.

Extra: rename /mnt/cdrom to /mnt/media to avoid confusion,
when run installer from USB drive.

Change-Id: I4aaa7325b65367ae677dca317b5bf550f1727e4c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/8631
Reviewed-by: Bo Gan <ganb@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>
(cherry picked from commit f3e55f09e2)
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/8658
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
2019-11-25 15:24:11 -08:00
..
EFI_aarch64/BOOT ls1012a image: fix boot hang 2019-01-25 16:45:10 -08:00
EFI_x86_64/BOOT installer: lvm support partition 2019-10-11 01:21:07 -07:00
boot rpm-ostree: Added rpm-ostree and its dependent pkgs 2019-09-11 19:52:25 -07:00
modules installer: fix /etc/machine-id permissions 2019-11-04 14:44:08 -08:00
EFI package builder: host arch agnostic build 2017-10-11 00:24:20 -07:00
EULA.txt Update EULA 2019-10-31 19:10:24 -07:00
README.txt installer: remove shell scripts 2019-10-14 18:13:22 -07:00
__init__.py Initial commit 2015-04-15 11:00:13 -07:00
action.py Additional improvements to image builder 2018-11-14 17:36:26 -08:00
actionresult.py Additional improvements to image builder 2018-11-14 17:36:26 -08:00
commandutils.py installer: add support for user network configuration 2019-10-30 18:59:25 -07:00
confirmwindow.py Additional improvements to image builder 2018-11-14 17:36:26 -08:00
custompartition.py installer: do not abuse install_config 2019-09-30 14:28:35 -07:00
device.py installer: lvm support partition 2019-10-11 01:21:07 -07:00
filedownloader.py installer: add support for user network configuration 2019-10-30 18:59:25 -07:00
input.json installer: make it runnable as an app 2019-09-18 13:36:28 -07:00
installer.py rpi3 image: fix boot problem 2019-11-04 14:45:45 -08:00
isoInstaller.py installer: fix remote repo= 2019-11-25 15:24:11 -08:00
iso_config.py installer: enable network configuration by default 2019-11-05 09:20:21 -08:00
jsonwrapper.py installer: lvm support partition 2019-10-11 01:21:07 -07:00
ks_config.txt installer: fix issue found in SIT 2019-10-31 09:32:55 -07:00
license.py installer: move partitioning to execution stage 2019-09-25 15:10:49 -07:00
linuxselector.py installer: remove shell scripts 2019-10-14 18:13:22 -07:00
logger.py installer: use logging 2019-09-26 20:41:51 -07:00
menu.py installer: move partitioning to execution stage 2019-09-25 15:10:49 -07:00
mk-setup-grub.sh installer, image-builder: set of fixes 2019-10-17 09:11:45 -07:00
netconfig.py installer: enable network configuration by default 2019-11-05 09:20:21 -08:00
networkmanager.py installer: fix issue found in SIT 2019-10-31 09:32:55 -07:00
ostree-release-repo.conf rpm-ostree: Generalise partitioning logic in ostree installer 2019-10-14 06:35:41 -07:00
ostreeinstaller.py installer: fix remote repo= 2019-11-25 15:24:11 -08:00
ostreeserverselector.py installer: refactor UI initialization 2019-10-08 15:16:20 -07:00
ostreewindowstringreader.py ostree: Fixed multiple issues 2019-10-31 09:23:07 -07:00
packages_ostree_host.json rpm-ostree: Added rpm-ostree and its dependent pkgs 2019-09-11 19:52:25 -07:00
packageselector.py minimal-iso: Creating photon minimal-iso 2019-10-28 11:04:07 -07:00
partitionpane.py installer: do not abuse install_config 2019-09-30 14:28:35 -07:00
progressbar.py Additional improvements to image builder 2018-11-14 17:36:26 -08:00
readmultext.py installer: do not abuse install_config 2019-09-30 14:28:35 -07:00
readtext.py Additional improvements to image builder 2018-11-14 17:36:26 -08:00
sample_ks.cfg rpm-ostree: Generalise partitioning logic in ostree installer 2019-10-14 06:35:41 -07:00
sample_ui.cfg installer: enable network configuration by default 2019-11-05 09:20:21 -08:00
selectdisk.py installer: do not abuse install_config 2019-09-30 14:28:35 -07:00
textpane.py installer: do not abuse install_config 2019-09-30 14:28:35 -07:00
ui_config.txt installer: enable network configuration by default 2019-11-05 09:20:21 -08:00
window.py installer: move partitioning to execution stage 2019-09-25 15:10:49 -07:00
windowstringreader.py installer: move partitioning to execution stage 2019-09-25 15:10:49 -07:00

README.txt

This repository contains signed binaries: bootx64.efi and bootaa64.efi

# As a bootx64.efi we use shimx64.efi from shim-12
# # make VENDOR_CERT_FILE=<VMware cert> EFI_PATH=/usr/lib 'DEFAULT_LOADER=\\\\grubx64.efi' shimx64.efi
# # mv shimx64.efi bootx64.efi

# grubx64.efi is generated on Photon OS by using grub2-efi-2.02-12:
# # grub2-mkimage -o grubx64.efi -p /boot/grub2 -O x86_64-efi fat iso9660 part_gpt part_msdos normal boot linux configfile loopback chain efifwsetup efi_gop efi_uga ls search search_label search_fs_uuid search_fs_file gfxterm gfxterm_background gfxterm_menu test all_video loadenv exfat ext2 udf halt gfxmenu png tga lsefi help probe echo lvm

# grubaa64.efi is generated on Photon OS (aarch64) by using grub2-efi >= 2.02-11:
# cat > /tmp/grub-embed-config.cfg << EOF
#search.fs_label rootfs root
#configfile /boot/grub2/grub.cfg
#EOF
#grub2-mkimage -o bootaa64.efi -p /boot/grub2 -O arm64-efi -c /tmp/grub-embed-config.cfg fat iso9660 part_gpt part_msdos  normal boot linux configfile loopback chain efifwsetup efi_gop efinet ls search search_label search_fs_uuid search_fs_file  gfxterm gfxterm_background gfxterm_menu test all_video loadenv  exfat ext2 udf halt gfxmenu png tga lsefi help all_video probe echo

# both bootx64.efi and grubx64.efi are signed with VMware key