components/liveinstall: Enable mediacheck for live ISOs
This brings us to full parity with official Fedora ISOs produced by Lorax.
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<preferences profiles="LiveInstall" arch="x86_64">
|
<preferences profiles="LiveInstall" arch="x86_64">
|
||||||
<type image="iso"
|
<type image="iso"
|
||||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||||
primary="true" flags="dmsquash" mediacheck="false"
|
primary="true" flags="dmsquash" mediacheck="true"
|
||||||
firmware="uefi" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
firmware="uefi" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||||
>
|
>
|
||||||
<bootloader name="grub2" grub_template="grub-x86.cfg.iso-template" console="console" timeout="10"/>
|
<bootloader name="grub2" grub_template="grub-x86.cfg.iso-template" console="console" timeout="10"/>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<preferences profiles="LiveInstall" arch="aarch64">
|
<preferences profiles="LiveInstall" arch="aarch64">
|
||||||
<type image="iso"
|
<type image="iso"
|
||||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||||
primary="true" flags="dmsquash" mediacheck="false"
|
primary="true" flags="dmsquash" mediacheck="true"
|
||||||
firmware="uefi" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
firmware="uefi" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||||
>
|
>
|
||||||
<bootloader name="grub2" grub_template="grub-arm.cfg.iso-template" console="console" timeout="10"/>
|
<bootloader name="grub2" grub_template="grub-arm.cfg.iso-template" console="console" timeout="10"/>
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<preferences profiles="LiveInstall" arch="ppc64le">
|
<preferences profiles="LiveInstall" arch="ppc64le">
|
||||||
<type image="iso"
|
<type image="iso"
|
||||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||||
primary="true" flags="dmsquash" mediacheck="false"
|
primary="true" flags="dmsquash" mediacheck="true"
|
||||||
firmware="ofw" kernelcmdline="quiet rhgb"
|
firmware="ofw" kernelcmdline="quiet rhgb"
|
||||||
>
|
>
|
||||||
<bootloader name="grub2" grub_template="grub-ppc.cfg.iso-template" console="console" timeout="10"/>
|
<bootloader name="grub2" grub_template="grub-ppc.cfg.iso-template" console="console" timeout="10"/>
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
<package name="aajohan-comfortaa-fonts"/>
|
<package name="aajohan-comfortaa-fonts"/>
|
||||||
<package name="dracut-live"/>
|
<package name="dracut-live"/>
|
||||||
<package name="glibc-all-langpacks"/>
|
<package name="glibc-all-langpacks"/>
|
||||||
|
<package name="isomd5sum"/>
|
||||||
<package name="kernel"/>
|
<package name="kernel"/>
|
||||||
<package name="kernel-modules"/>
|
<package name="kernel-modules"/>
|
||||||
<package name="kernel-modules-extra"/>
|
<package name="kernel-modules-extra"/>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Inspired by the config used for lorax-built live media
|
# Inspired by the config used for lorax-built live media
|
||||||
|
|
||||||
set default=${default_boot}
|
set default="1"
|
||||||
|
|
||||||
function load_video {
|
function load_video {
|
||||||
insmod efi_gop
|
insmod efi_gop
|
||||||
@@ -29,6 +29,10 @@ menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class
|
|||||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
||||||
initrd ($$root)${bootpath}/${initrd_file}
|
initrd ($$root)${bootpath}/${initrd_file}
|
||||||
}
|
}
|
||||||
|
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||||
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
|
||||||
|
initrd ($$root)${bootpath}/${initrd_file}
|
||||||
|
}
|
||||||
submenu "Troubleshooting -->" {
|
submenu "Troubleshooting -->" {
|
||||||
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
||||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Inspired by the config used for lorax-built live media
|
# Inspired by the config used for lorax-built live media
|
||||||
|
|
||||||
set default=${default_boot}
|
set default="1"
|
||||||
|
|
||||||
insmod gzio
|
insmod gzio
|
||||||
insmod part_gpt
|
insmod part_gpt
|
||||||
@@ -18,6 +18,10 @@ menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class
|
|||||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
||||||
initrd ($$root)${bootpath}/${initrd_file}
|
initrd ($$root)${bootpath}/${initrd_file}
|
||||||
}
|
}
|
||||||
|
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||||
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
|
||||||
|
initrd ($$root)${bootpath}/${initrd_file}
|
||||||
|
}
|
||||||
submenu "Troubleshooting -->" {
|
submenu "Troubleshooting -->" {
|
||||||
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
||||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Inspired by the config used for lorax-built live media
|
# Inspired by the config used for lorax-built live media
|
||||||
|
|
||||||
set default=${default_boot}
|
set default="1"
|
||||||
|
|
||||||
if [ "$$grub_platform" == "efi" ]; then
|
if [ "$$grub_platform" == "efi" ]; then
|
||||||
function load_video {
|
function load_video {
|
||||||
@@ -36,6 +36,10 @@ menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class
|
|||||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options}
|
||||||
initrd ($$root)${bootpath}/${initrd_file}
|
initrd ($$root)${bootpath}/${initrd_file}
|
||||||
}
|
}
|
||||||
|
menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os {
|
||||||
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check
|
||||||
|
initrd ($$root)${bootpath}/${initrd_file}
|
||||||
|
}
|
||||||
submenu "Troubleshooting -->" {
|
submenu "Troubleshooting -->" {
|
||||||
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os {
|
||||||
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}
|
||||||
|
|||||||
Reference in New Issue
Block a user