Marek Marczykowski-Górecki
7489992ddd
anaconda: check also for message about AMD interrupt remapping
...
Fixes QubesOS/qubes-issues#3208
2017-12-07 00:43:02 +01:00
Marek Marczykowski-Górecki
ca85026ffd
anaconda: update message about unusupported hardware
...
Advise to not continue.
Fixes QubesOS/qubes-issues#3208
2017-12-03 02:23:05 +01:00
Marek Marczykowski-Górecki
c834daa176
anaconda: make sure the latest version is placed as xen.efi
...
os.listdir returns files in filesystem order, not sorted.
QubesOS/qubes-issues#2990
2017-09-21 22:10:04 +02:00
Freddie Rice
e3a4a46958
xen.efi upgraded during each install
2017-09-20 12:59:09 -04:00
Marek Marczykowski-Górecki
63043751a5
anaconda: consider Interrupt Remapping as required feature
...
QubesOS/qubes-issues#2977
2017-09-12 04:20:25 +02:00
Marek Marczykowski-Górecki
6b77cb5ae4
anaconda: don't crash when no target disk is available
...
self.storage.root_device may be None in such case.
Instead, allow proper reporting that no space is available.
2017-09-05 04:18:11 +02:00
Marek Marczykowski-Górecki
b8ceee513f
anaconda: generate proper extlinux.conf
...
Fixes QubesOS/qubes-issues#2902
2017-09-05 04:18:10 +02:00
Marek Marczykowski-Górecki
696bd4ccf3
anaconda: check for virtualization features
...
Warn if the hardware lack features required for proper Qubes OS
operation.
Fixes QubesOS/qubes-issues#2977
2017-09-05 04:18:10 +02:00
Marek Marczykowski-Górecki
e0d30d499f
anaconda: disable iommu for IGFX
...
Many Intel processors (and BIOSes) have invalid IOMMU configuration for
IGFX, which cause multiple problems - from screen glitches, to system
hang.
Since IGFX currently is still in dom0 (isn't isolated from other system
components), disabling IOMMU for it doesn't lower overall security.
When GUI domain will be implemented, we need to re-enable IOMMU here and
hope hardware manufacturers will fix it in the meantime.
Fixes QubesOS/qubes-issues#2836
2017-06-14 05:07:13 +02:00
Marek Marczykowski-Górecki
0d268f7a27
anaconda: switch default partitioning scheme to LVM Thin Provisioning
...
QubesOS/qubes-issues#2412
2017-05-30 00:28:10 +02:00
Marek Marczykowski-Górecki
f1c844098a
Merge remote-tracking branch 'qubesos/pr/13'
...
* qubesos/pr/13:
Remove coreboot detection, add skip_grub parameter
2017-05-05 21:30:49 +02:00
Rusty Bird
62cb1ca1e6
Remove coreboot detection, add skip_grub parameter
...
And unconditionally allow boot encryption and the lvmlv format.
(The user still has to fight the installer to actually set it up.)
Fixes QubesOS/qubes-issues#2553
2017-05-01 11:47:57 +00:00
Marek Marczykowski-Górecki
9109005ff1
anaconda: require user password being set
...
Drop selectable option 'Require a password to use this account'. Make it
required.
QubesOS/qubes-issues#2574
2017-02-14 02:37:52 +01:00
Marek Marczykowski-Górecki
378cfc44dd
anaconda: update Qubes-specific code to upstream base
...
QubesOS/qubes-issues#2574
2017-02-14 02:37:51 +01:00
Marek Marczykowski-Górecki
6bc5671491
anaconda: update to 25.20.9-1
...
Apply:
git diff --full-index --binary anaconda-23.19.10-1..anaconda-25.20.9-1
And resolve conflicts.
QubesOS/qubes-issues#2574
2017-02-14 02:36:20 +01:00
Marek Marczykowski-Górecki
be9f5b2163
Merge remote-tracking branch 'qubesos/pr/5'
...
* qubesos/pr/5:
anaconda: fix encryption passphrase check
2016-07-19 01:38:30 +02:00
Brian C. Lane
cc03f3778d
Deselect all addons correctly ( #1333505 )
...
If depsolve failed with some (or all) addons selected it wasn't cleared
by deselecting all of them because the package and group set were never
cleared.
Add a check to skip this if the addons have not been changed (or never
set, as is the case with kickstart).
(cherry picked from commit 2ad90e9294517770372f82a14792379a49bec6a2 from
anaconda)
Fixes QubesOS/qubes-issues#2105
2016-07-18 23:20:17 +02:00
Wojtek Porczyk
e22de13063
anaconda: fix encryption passphrase check
...
The installer checks if there is password for autopart. It should check
that only if autopart is actually in use.
QubesOS/qubes-issues#2180
2016-07-18 23:07:24 +02:00
Marek Marczykowski-Górecki
147941657f
anaconda: don't force non-encrypted /boot on coreboot systems
...
With grub payload it is possible to have all the partitions encrypted.
Based on patch by @tlaurion
Fixes QubesOS/qubes-issues#2118
2016-07-18 12:28:38 +02:00
Marek Marczykowski-Górecki
703a6edc98
anaconda: skip NTP installation and setup in dom0
...
Dom0 has no direct network access, to this doesn't make sense anyway.
Fixes QubesOS/qubes-issues#2110
2016-07-12 23:22:24 +02:00
Marek Marczykowski-Górecki
a88c7f0b61
anaconda: sync xen options in UEFI mode with legacy one
2016-06-07 06:12:07 +02:00
Marek Marczykowski-Górecki
1c80b74083
anaconda: drop useless on Qubes dependencies on network filesystems
...
Installing Qubes on network drive is not supported, so drop those
dependencies.
2016-06-06 00:58:32 +02:00
Marek Marczykowski-Górecki
7ff84cf133
anaconda: do not have any requirements on /boot in EFI mode
...
EFI boot uses only /boot/efi, so /boot may be even on encrypted volume,
LVM, btrfs or anything else. Instead of allowing just LVM, override the
whole check for /boot.
Fixes QubesOS/qubes-issues#1721
2016-06-05 22:21:03 +02:00
Marek Marczykowski-Górecki
b7d9d54a1e
Revert "anaconda: workaround efibootmgr bug (SIGABRT while removing entries)"
...
This reverts commit bdba0f99d0
.
The workaround is not needed anymore - efibootmgr is new enough.
2016-05-17 14:18:19 +02:00
Marek Marczykowski-Górecki
76e5589adf
anaconda: PasswordSpoke merge fix
...
QubesOS/qubes-issues#1807
2016-04-24 23:41:16 +02:00
Marek Marczykowski-Górecki
d576319578
anaconda: enable only initial-setup.service variant
...
It should take care of choosing the right one.
QubesOS/qubes-issues#1807
2016-04-24 23:40:32 +02:00
M. Vefa Bicakci
29a50e7def
anaconda: Disable the NTP configuration spoke
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
fd37700c14
anaconda: Make sure that a user is created at installation time
...
This way, Qubes OS-specific initial-setup procedures will always have
a user to work with.
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
ed17da5dc6
anaconda: Modify user configuration spoke for Qubes OS
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
763c9b3490
anaconda: Do not rely on new-kernel-pkg
...
Qubes OS does not use grubby, so there is no need to check for the
existence of the new-kernel-pkg executable.
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
38f3e28d77
anaconda: Update to 23.19.10
...
Use the output of
git diff --full-index --binary anaconda-22.20.13-1..anaconda-23.19.10-1
from anaconda's git repository and fix-up merge conflicts.
2016-04-10 00:00:00 -04:00
Marek Marczykowski-Górecki
296d869179
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.
Conflicts:
anaconda/pyanaconda/packaging/__init__.py
2016-03-22 02:27:17 +13:00
Marek Marczykowski-Górecki
701ced5ddb
anaconda: update to 22.20.13-1
...
Apply diff anaconda-21.48.21-1..anaconda-22.20.13-1
2016-03-22 02:27:17 +13:00
Marek Marczykowski-Górecki
8e6a0a7091
anaconda: allow locked root password
2016-03-22 02:27:16 +13:00
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
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
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
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
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
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
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