Marek Marczykowski-Górecki
ad42bdc95b
Update kernel parameters for i915.preliminary_hw_support -> i915.alpha_support
...
This option has been renamed in kernel 4.10.
2018-02-24 03:58:40 +01:00
Marek Marczykowski-Górecki
9b80ceeda6
lorax-templates-qubes: include additional VM kernels on the image
...
HVM suspend is broken in 4.14.13, on some machines. Lets ease using 4.9
for them.
2018-01-30 06:06:41 +01:00
Marek Marczykowski-Górecki
ae8b332ca8
lorax-templates-qubes: boot xen.efi directly, bypass grub
...
Grub cause problems while loading xen.efi on many machines, mostly
because xen.efi support loading dom0 kernel and initramfs only via EFI
services and xen.efi needs to be loaded through them too. But grub in
some cases uses own filesystem handling code instead, leaving xen.efi
without dom0 kernel.
This should improve when xen.efi will get multiboot2 support (Xen 4.10?)
- then grub could load dom0 kernel and initramfs too and pass them to
xen.efi.
For now, bypass grub and launch xen.efi directly. This have unfortunate
effect of not having boot menu, so choose the most universal option:
verbose, with all known workarounds for UEFI applied.
Fixes QubesOS/qubes-issues#3505
2018-01-30 06:06:40 +01:00
Marek Marczykowski-Górecki
9da8bf76e6
lorax-templates-qubes: do not remove libgstallocators needed by yelp
2017-11-21 13:08:17 +01:00
Marek Marczykowski-Górecki
e12094a910
lorax-templates-qubes: remove unneded parts of xen-runtime
2017-09-13 12:26:16 +02:00
Marek Marczykowski-Górecki
8873d4b659
lorax-templates-qubes: sync with upstream
...
Apply 25.17-1..25.19-1.
QubesOS/qubes-issues#2412
2017-05-30 00:27:03 +02:00
Marek Marczykowski-Górecki
f9bb3b2f33
lorax-templates-qubes: make initrd for EFI smaller
...
Skip system-wide dracut config, specifically
/etc/dracut.conf.d/plymouth-missing-fonts.conf, which loads 'label'
plymouth plugin, which in turn pulls a lot of libraries (including
libX11).
QubesOS/qubes-issues#2412
2017-05-29 04:17:18 +02:00
Marek Marczykowski-Górecki
211f3a3638
lorax-templates-qubes: do not limit to qubes kernels only
...
Upstream kernel packages works too. But in any case, it isn't place to
choose it - if one want to have specific kernel version, need to
configure appropriate repositories (including 'exclude' option).
2017-04-09 01:46:14 +02:00
Marek Marczykowski-Górecki
4e725c1506
lorax-templates-qubes: create basic /dev files in installation image
...
`rpm -qa` needs /dev/urandom
2017-04-09 01:05:59 +02:00
Marek Marczykowski-Górecki
d706bb5d31
lorax-templates-qubes: provide dummy /proc/modules for dracut
...
Updated dracut don't like not having /proc/modules - modules
installation routines fails then, producing initramfs without kernel
modules at all. Empty /proc/modules is enough to avoid this.
QubesOS/qubes-issues#2574
2017-02-14 02:37:52 +01:00
Marek Marczykowski-Górecki
2f6d43569e
lorax-templates-qubes: update based on new upstream version
...
QubesOS/qubes-issues#2574
2017-02-14 02:37:51 +01:00
Marek Marczykowski-Górecki
221d6af261
lorax: fix "System Volume Information" directory creation
...
Fixes QubesOS/qubes-issues#2051
2016-07-14 02:36:33 +02:00
Marek Marczykowski-Górecki
4a8eca2c45
Merge branch 'add-sysvolinfo'
...
* add-sysvolinfo:
lorax: add "System Volume Information" to ESP image
2016-06-08 02:31:34 +02:00
Marek Marczykowski-Górecki
2ea4a511ff
lorax: allow '.' in image label
...
Otherwise "R3.2" will end up as "R3-2".
2016-06-08 02:20:57 +02:00
Marek Marczykowski-Górecki
c9a10727cf
lorax: add "System Volume Information" to ESP image
...
When installation image is written on Windows, it automatically (by the
OS) gets mounted and Windows create "System Volume Information" there.
This obviously means the installation media is modified and then fails
verification.
This is really wrong from the Windows side to automatically modify some
files behind users back. But since we can prevent this with really low
cost by just creating those files ourself and reduce a lot of user
confusion, just do it.
Thanks @pbatard for the help.
Fixes QubesOS/qubes-issues#2051
2016-06-07 17:18:58 +02:00
Marek Marczykowski-Górecki
6a8388e111
lorax: make sure qubes-artwork is installed
...
DNF based pungi isn't deterministic and sometimes chooses fedora-logos
(both provide system-logos). Make sure the right one is installed.
QubesOS/qubes-issues#1807
2016-06-06 00:59:38 +02:00
Marek Marczykowski-Górecki
6ce8b815d7
lorax: do not generate upgrade.img
...
QubesOS/qubes-issues#1807
2016-04-21 19:56:26 +02:00
M. Vefa Bicakci
ba30700ef7
lorax: Do not fail if EFI directory already exists
2016-04-21 19:56:23 +02:00
M. Vefa Bicakci
63ed8b9d86
lorax: Do not remove gpg-me libraries
...
Otherwise, lorax outputs the following error:
libgpgme-pthread.so.11, needed by /usr/bin/rpm-ostree, not found
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
c009f956ab
firstboot: Remove given that there is an anaconda/initial-setup add-on
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
34e37e3dc8
lorax: Only use Qubes OS kernels
...
This commit avoids the issue where the UEFI boot uses the Fedora 23
kernel as opposed to the Qubes OS kernel.
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
ae2b86842f
lorax: EFI: Reduce size, add --no-hostonly, force squashfs inclusion and clean up
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
5cf84c9b18
lorax: Make Qubes EFI template compatible with Python 3
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
e877a7dc58
lorax: Rebase templates on those for Fedora 23
2016-04-10 00:00:00 -04:00
Jon Griffiths
3b537db04c
lorax: Create the qubes directory before calling dracut
2016-03-28 13:05:21 +13:00
Jon Griffiths
20df6b00ff
lorax: Don't disable network for efi image creation
...
Doing so prevents livenet from loading and causes dracut to fail.
2016-03-28 13:04:58 +13:00
Marek Marczykowski-Górecki
4a714a3ed8
lorax: install additional files needed by syslinux-6.x
2016-03-22 02:27:17 +13:00
Marek Marczykowski-Górecki
e48b9a9084
lorax: update templates based on lorax-22.11-1.fc22
2016-03-22 02:27:17 +13:00
Jon Griffiths
47a0aea0c6
lorax: remove few more firmware packages
2016-03-22 02:27:16 +13:00
Marek Marczykowski-Górecki
41896c82c4
lorax: keep GTK theme installed, minor cleanup
2016-03-22 02:27:16 +13:00
Marek Marczykowski-Górecki
55337a39dd
lorax: update for Fedora 21 - part 1
2016-03-22 02:20:13 +13:00
Marek Marczykowski-Górecki
59ae363abc
lorax: exclude ivtv-firmware
...
It conflicts with newer linux-firmware package.
QubesOS/qubes-issues#1483
2016-02-12 01:02:30 +01:00
Marek Marczykowski-Górecki
5a3df02a37
lorax: do not exclude HID drivers from installation image
...
Fixes QubesOS/qubes-issues#1516
2016-02-07 02:57:07 +01:00
Marek Marczykowski-Górecki
dee1bfd3cb
lorax: add i915.preliminary_hw_support=1 to kernel parameters
...
Fixes QubesOS/qubes-issues#1668
2016-02-03 17:55:46 +01:00
Marek Marczykowski-Górecki
5f0c9a7565
lorax: add "verbose boot" - Grub2-efi
...
QubesOS/qubes-issues#1598
2016-02-03 17:55:04 +01:00
Marek Marczykowski-Górecki
a40327988c
lorax: add verbose mode in xen.cfg (UEFI)
...
QubesOS/qubes-issues#1598
2016-02-03 17:53:08 +01:00
Marek Marczykowski-Górecki
969e2df914
lorax: drop multi-kernel support - no longer used in R3.1
2016-02-03 17:52:56 +01:00
Marek Marczykowski-Górecki
930fbc776e
lorax: do not install firstboot in installation image
...
It should be installed only in target system. Not having it here, should
also drop the whole SaltStack from installation image and save some
space.
2016-02-03 17:52:10 +01:00
Marek Marczykowski-Górecki
cf7d97a8af
lorax: include USB3.0 drivers in installer initramfs
2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
6438163c8c
lorax: disable debug output from xen and kernel
...
Prepare for production-quality release.
2015-09-28 20:14:27 +02:00
Marek Marczykowski-Górecki
6adfe1e846
lorax: make initrd back to work without ifcfg module
...
Anaconda requires /etc/sysconfig/network-scripts directory (even if
empty). Do not remove it, because if wouldn't be recreated if we omit
ifcfg dracut module.
2015-09-28 20:10:03 +02:00
Marek Marczykowski-Górecki
0570ce7f6d
lorax: efi: improve using ESP for 'root' device
...
Simply do nothing, instead of searching by filesystem label. This should
work even if there are multiple devices with the same label.
2015-09-28 20:09:58 +02:00
Marek Marczykowski-Górecki
229da77d7e
lorax: fix legacy mode boot after EFI initrd tinyfication
2015-09-25 16:25:47 +02:00
Marek Marczykowski-Górecki
4d7e45103d
lorax: Add rescue entry to grub2-efi.cfg
2015-09-25 16:25:47 +02:00
Marek Marczykowski-Górecki
7cf4f825e5
lorax: Provide correct device information to xen.efi
...
xen.efi needs to call EFI services to access kernel and initramfs
images. For that it needs correct device handle. Grub set it to 'root'
device, regardless of which device was really used to load xen.efi.
2015-09-25 16:25:47 +02:00
Marek Marczykowski-Górecki
4868764d81
lorax: drop plymouth label plugin
...
It's not used by installer theme but pulls a lot of libraries into initrd.
2015-09-25 16:25:46 +02:00
Marek Marczykowski-Górecki
4fa5c591f8
lorax: exclude SCSI and misc modules from UEFI initrd
...
One more time - save on efiboot.img size.
2015-09-25 16:25:43 +02:00
Marek Marczykowski-Górecki
7e867fd810
lorax: remove SecureBoot files - save some space in efiboot.img
2015-09-25 16:25:06 +02:00
Marek Marczykowski-Górecki
44dc8e0278
lorax: do not create macboot.img - it will be too big anyway
2015-09-25 16:25:05 +02:00
Marek Marczykowski-Górecki
b024e93e40
lorax: remove network support from UEFI initrd
...
Reduce its size to have efiboot.img under 32MB.
This needs rebuilding initrd and we need kernel version for that - so pass it
down from x86.tmpl.
2015-09-25 16:24:53 +02:00