Commit Graph

120 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
48aa0e06c9 anaconda: lower disk requirements
Base installed system, including one template uses about 8GB. So make it
possible to install the system with root partition about that size. This
is probably bad idea, but the limit here is hard - it isn't possible to
force installation on smaller partition.
2016-03-22 02:27:16 +13:00
Marek Marczykowski-Górecki
63da7da0ec anaconda: update Qubes-specific code for Fedora 21 version 2016-03-22 02:27:16 +13:00
Marek Marczykowski-Górecki
3e63d1dd37 anaconda: update to 21.48.21-1
Apply diff anaconda-20.25.16-1..anaconda-21.48.21-1
2016-03-22 02:27:15 +13:00
Marek Marczykowski-Górecki
2556a42c04
anaconda: EFI: create xen.cfg before registering boot entry
This will help installing, even when efibootmgr fails. Because xen.cfg
will be already populated.

QubesOS/qubes-issues#794
2016-03-18 13:27:48 +01:00
Marek Marczykowski-Górecki
ab1104fa13
anaconda 20.25.16-12, firstboot 18.6-10, lorax-templates-qubes 3.1.2 2016-02-12 04:46:05 +01:00
Marek Marczykowski-Górecki
2838da02cf
anaconda: allow /boot on LVM in UEFI mode
Since all the required files are on ESP (and are loaded by xen.efi), we
don't need /boot accessible at all from there. This will in practice
allow to not have separate /boot at all.

Fixes QubesOS/qubes-issues#1721
2016-02-06 00:23:37 +01:00
Marek Marczykowski-Górecki
763098db0e
anaconda: use installer kernel parameters as default for installed system
This way if any kernel parameter was need to boot Qubes on particular
hardware, it will also be set to installed system

Fixes QubesOS/qubes-issues#1650
2016-02-06 00:23:37 +01:00
Marek Marczykowski-Górecki
a0a616733f
anaconda 20.25.16-11, firstboot 18.6-9, livecd-tools 20.6-3, lorax-templates-qubes 3.1.1 2015-11-29 04:22:59 +01:00
Marek Marczykowski-Górecki
538d80186d
anaconda: disable crashkernel default options
We don't support it.
2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
c83c75b338
anaconda: include default kernel parameters in EFI setup
QubesOS/qubes-issues#794
2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
1d4f49961c
anaconda: limit dom0 maxmem to 4GB to limit its overhead on big systems
Linux kernel have some memory overhead depending on maxmem. Dom0 isn't
meant to use that much memory (most should be assigned to AppVMs), so on
big systems this will be pure waste.

QubesOS/qubes-issues#1136
Fixes QubesOS/qubes-issues#1313
2015-10-10 00:33:13 +02:00
Marek Marczykowski-Górecki
e842046273
anaconda 20.25.16-10, livecd-tools 20.6-2, lorax-templates-qubes 3.1-1, pungi 3.03-2
Also set epoch ridiculously high for pungi and livecd-tools to make sure
we use versions with enabled signature checking.
2015-09-30 00:40:53 +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
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
b3d04825a2
anaconda: generate xen efi configuration 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
9e8a70dfb8
anaconda 20.25.16-9 2015-07-13 00:11:14 +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
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
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
b95bd9af8c anaconda: fix compile warnings 2015-03-22 04:05:06 +01:00
Wojciech Zygmunt Porczyk
d460acf065 anaconda: do not fail on nonexistent inital-setup-*
Split `systemctl enable` to fail only on nonexistent units. Qubes does not
currently use initial-setup.
2014-11-10 14:48:31 +01:00
Marek Marczykowski-Górecki
31a39b98c2 Revert "anaconda+lorax: install 3.11 VM kernel in addition to default one (#868)"
This reverts commit 277c6dde71.
DispVM is back working with newer kernels.
2014-06-27 17:25:21 +02:00
Marek Marczykowski-Górecki
277c6dde71 anaconda+lorax: install 3.11 VM kernel in addition to default one (#868)
DispVM have problems on newer kernels (details in ticket description).
2014-06-27 02:58:54 +02:00
Marek Marczykowski-Górecki
c066d85b06 anaconda: lower minimum required disk space
Indeed 50GB is advisable minimum to have usable system, but do not rule
out some corner cases/test installs.
2014-06-27 02:56:05 +02:00
Wojciech Zygmunt Porczyk
d81c64ca41 remove qubes-logos, migrate to qubes-artwork 2014-06-10 18:47:47 +02:00
Marek Marczykowski-Górecki
acb9c103c1 anaconda 20.25.16-7 2014-04-18 04:09:41 +02:00
Marek Marczykowski-Górecki
fe547f8ea9 anaconda: Remove link to software selection from storage dialog
If clicked too early (before metadata got loaded) it causes installer
crash. We don't provide wide software selection so just remove that
link.
2014-04-18 04:07:44 +02:00
Marek Marczykowski-Górecki
7eff70f58a anaconda 20.25.16-6 2014-04-17 01:30:56 +02:00
Marek Marczykowski-Górecki
23a54d7436 anaconda: remove network setup from text interface
We have network disabled.
2014-04-17 01:30:56 +02:00
Marek Marczykowski-Górecki
7991a6f9ab New versions
anaconda 20.25.16-5
firstboot 18.6-5
lorax-templates-qubes 2.1-1
pungi 3.03-1.4
qubes-release 2-7
2014-04-08 22:13:03 +02:00
Marek Marczykowski-Górecki
5a363bf786 anaconda: set default hostname to 'dom0' 2014-04-08 18:26:46 +02:00
Marek Marczykowski-Górecki
3e9ec61613 anaconda: set default grub theme 2014-04-08 18:26:46 +02:00
Marek Marczykowski-Górecki
9d8a1f945b anaconda: disable user creation
For now we will stay with old firstboot for this task.
2014-04-08 05:50:32 +02:00
Marek Marczykowski-Górecki
c583904597 anaconda: indentation fix 2014-04-08 05:50:32 +02:00
Marek Marczykowski-Górecki
c938ccb706 anaconda: fixes for upgraded anaconda (failed conflict resolution) 2014-04-08 05:50:32 +02:00
Marek Marczykowski-Górecki
f73b3741f0 Update anaconda to 20.25.16
Apply result of "git diff anaconda-18.37.11-1..anaconda-20.25.16-1" and
resolve conflicts.
2014-04-08 05:50:31 +02:00
Marek Marczykowski-Górecki
58d9e1f32f anaconda 18.37.11-4 2014-04-05 00:48:25 +02:00
Marek Marczykowski-Górecki
383f9fb3df anaconda: fix build on fc20 2014-04-02 19:33:10 +02:00
Marek Marczykowski-Górecki
90d4fc499e anaconda: set epoch to 1000
Prevent vanilla anaconda package installation.
2014-03-21 13:42:03 +01:00
Marek Marczykowski-Górecki
bd57fa02ec Set grub default to the kernel used during installation (#581) 2013-08-28 11:48:53 +02:00
Marek Marczykowski-Górecki
76f22a0ea0 Install all available kernels by default (#581)
Anaconda/pungi doesn't support multiple versions of the same package at
the time, so place all kernels on installation media in separate
directory and install them in %post script.
2013-08-28 11:48:22 +02:00
Marek Marczykowski
3b444d3d65 anaconda: prevent anaconda.spec from regenerating
The only dynamic field is VERSION, so it isn't worth (but makes some
confusion).
2013-03-26 08:37:43 +01:00
Marek Marczykowski
5bde26c0d8 spec: build packages in-place when %{qubes_builder} defined
This will make building package without taring the sources and untaring
them again.
2013-03-19 04:16:30 +01:00
Marek Marczykowski
5d76b2f7aa anaconda 18.37.11-3, lorax-templates-qubes-1.1, qubes-release-2-3 2013-02-25 06:51:44 +01:00
Marek Marczykowski
8558b595b0 anaconda: fix post-install scripts, regenerate initramfs
InstallClass.postAction isn't called from anywhere, move things to
anaconda post-scripts. Add regenerate of initramfs image to include
qubes-pciback module.
2013-02-25 06:22:25 +01:00
Marek Marczykowski
73e4bd6c22 anaconda: add "console=none" Xen parameter 2013-02-23 03:12:08 +01:00