Commit Graph

588 Commits

Author SHA1 Message Date
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
f29979be41 anaconda: use correct root= kernel parameter when creating EFI xen.cfg 2015-09-25 16:25:46 +02:00
Marek Marczykowski-Górecki
bdba0f99d0 anaconda: workaround efibootmgr bug (SIGABRT while removing entries) 2015-09-25 16:25:46 +02:00
Marek Marczykowski-Górecki
447ba8ab42 anaconda: fix dracut module to work with reduced dependencies
Do not fail because of not present url-lib. Also 'loop' module requires manual
loading now.
2015-09-25 16:25:46 +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
Marek Marczykowski-Górecki
c4b965ed88 lorax: select xen.cfg section to enable/disable media check
Apparently all but first parameters are passed to xen.efi, so it is possible to
select which config section should be used. This makes xen.efi copy
unnecessary.
2015-09-21 18:09:34 +02:00
Marek Marczykowski-Górecki
49b3630362 lorax: disable UEFI Secure Boot shim
We don't have signed xen/kernel/initramfs binaries. And more
importantly, we don't have MS-signed key...
2015-09-21 18:09:33 +02:00
Marek Marczykowski-Górecki
67cda610e7
pungi: do not use isohybrid --offset as it isn't compatible with EFI 2015-08-05 02:12:11 +02:00
Marek Marczykowski-Górecki
b3d04825a2
anaconda: generate xen efi configuration 2015-08-05 02:12:11 +02:00
Marek Marczykowski-Górecki
ff30f25718
lorax: preliminary EFI support 2015-08-05 02:12:11 +02:00
Marek Marczykowski-Górecki
5796c78979
anaconda: disable os prober
It tries to mount every existing block device, including VM images.
2015-08-05 02:11:23 +02:00
Marek Marczykowski-Górecki
a0060ff53f
pungi: do not generate upgrade.img
We do not support in-place upgrades this way.
2015-08-05 02:11:11 +02:00
Marek Marczykowski-Górecki
c254186978
qubes-release 3.0-0.4 2015-07-13 15:25:30 +02:00
Marek Marczykowski-Górecki
73748a3519
qubes-release: add security-testing repository definition 2015-07-13 15:24:58 +02:00
Marek Marczykowski-Górecki
40ba343677
lorax-templates-qubes-2.2 2015-07-13 00:12:52 +02:00
Marek Marczykowski-Górecki
9e8a70dfb8
anaconda 20.25.16-9 2015-07-13 00:11:14 +02:00
Marek Marczykowski-Górecki
57887fd90a
lorax: use even shorter file names for kernel/initrd
Apparently initrd-3.19.8-100.fc20.x86_64.img is still too long for
ISO9660.
2015-07-12 16:01:09 +02:00
Marek Marczykowski-Górecki
2726c5a9f5
anaconda: use kernel-install instead of grubby to regenerate initrd/grub.conf
Since we have own hook there, it properly handles Xen. This means we no
longer need post scripts in kickstart for that.
2015-07-12 16:01:02 +02:00
Marek Marczykowski-Górecki
20ec7c3935
lorax: no longer include 3.11 kernel 2015-07-10 16:58:00 +02:00
Marek Marczykowski-Górecki
f7ab7b217c
lorax: include kernels downloaded from Fedora repository
Do it by manually extracting packages from pungi cache instead of
redownloading, because we can't access yum configuration (repositories,
gpg keys etc) here, so it would be even more hacky...

All this is needed because pungi does not support including multiple
versions of a single package.
2015-07-10 16:48:36 +02:00
Marek Marczykowski-Górecki
c792d42b22 comps: remove most of firmware packages
Leave only linux-firmware (containing firmware needed for some GPUs) and
alsa-firmware (as we need sound in dom0).
2015-07-10 02:56:12 +02:00
Marek Marczykowski-Górecki
569b48bcc1 gitignore pkgs 2015-05-14 23:42:11 +02:00
Marek Marczykowski-Górecki
73e8665a2b anaconda: add dom0_mem=min:1024M to default xen cmdline
This will solve #959 for new installations.

Related to qubesos/qubes-issues#959
2015-05-14 21:41:37 +02:00
Marek Marczykowski-Górecki
29fafe803e firstboot 18.6-8 2015-04-15 18:48:15 +02:00
Marek Marczykowski-Górecki
3ce7faca65 Ensure that installer repo is created with proper comps.xml 2015-04-15 14:24:23 +02:00
Marek Marczykowski-Górecki
62c94eb00b firstboot: fix catching error message 2015-04-15 14:21:58 +02:00
Marek Marczykowski-Górecki
73f06661bb firstboot: do not abort configuring other templates if one fails 2015-04-15 14:21:57 +02:00
Marek Marczykowski-Górecki
ed9a728235 rpm_verify: do not try to import key when run as normal user 2015-04-15 14:21:57 +02:00
Marek Marczykowski-Górecki
168e34510d firstboot: make initial setup more defensive
Do not abort the whole process when some part fails. Cleanup *-dvm if
DispVM preparation failed.
2015-04-15 14:21:54 +02:00
Marek Marczykowski-Górecki
3d5bcb5b18 anaconda 20.25.16-8 2015-04-12 03:06:55 +02:00
Marek Marczykowski-Górecki
6ec0a27683 anaconda: regenerate grub.cfg using grub2-mkconfig
Normally anaconda uses grubby to update bootloader configuration. But
unfortunately it breaks grub configuration (removes trailing "=", so
empty variable assignment xen_rm_opts= is broken). Instead of reworking
the whole bootloader support in anaconda, just regenerate grub.cfg at
the end.
2015-04-12 03:04:49 +02:00
Marek Marczykowski-Górecki
332dbb12c4 firstboot 18.6-7 2015-04-07 20:45:16 +02:00
Marek Marczykowski-Górecki
728bdcae27 firstboot: set fedora template as default
As the user can install other templates, it needs to be done explicitly.
2015-04-07 15:06:24 +02:00
Marek Marczykowski-Górecki
8d61956b28 comps: include debian templates on the ISO 2015-04-07 15:04:51 +02:00
Marek Marczykowski-Górecki
a7804fc21c comps: install qvm-* docs by default 2015-04-07 15:04:32 +02:00
Marek Marczykowski-Górecki
5ce5b397de qubes-release-3.0-0.3 2015-04-03 14:38:52 +02:00
Marek Marczykowski-Górecki
0449b43682 qubes-release: do not expose minor version in qsb* rpm macro
Rpm macro name cannot contain a dot.
2015-04-03 11:32:30 +02:00
Marek Marczykowski-Górecki
3bd3f89191 firstboot 18.6-6 2015-04-02 01:02:55 +02:00
Wojtek Porczyk
56a66e8027 rename netvm -> sys-net, firewallvm -> sys-firewall 2015-03-31 20:31:06 +02:00
Wojtek Porczyk
96b7053d35 conf/comps-qubes.xml: add xdotool to qubes-dom0-debug group
xdotool is used in qubes.tests.
2015-03-31 20:29:32 +02:00
Marek Marczykowski-Górecki
7719d9d64f qubes-release-3.0-0.2 2015-03-27 01:26:17 +01:00
Marek Marczykowski-Górecki
b655239798 Enable yum repos 2015-03-27 01:23:24 +01:00
Marek Marczykowski-Górecki
e732107d9f conf: install fedora-21 template by default 2015-03-27 00:29:57 +01:00
Marek Marczykowski-Górecki
162672cde3 qubes-release: Add Fedora 21 key 2015-03-22 04:07:26 +01:00