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
8d5bab3f4c
anaconda 23.19.10-3, lorax-templates-qubes 3.2.1, qubes-anaconda-addon 3.2.1
2016-06-07 06:27:35 +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
72765538f7
anaconda: reset all services to default state
...
Some preset files may be installed when actual services are already
enabled/disabled. To not worry about package installation order, simply
reset all the services to default state when all the packages are
installed.
Fixes QubesOS/qubes-issues#2049
2016-06-06 02:28:47 +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
13f17526ed
anaconda 23.19.10-2, lorax-templates-qubes 3.2.0, lorax 23.20-2, qubes-anaconda-addon 3.2.0-1
2016-05-18 03:22:57 +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
ef60bed5c9
anaconda: Do not depend on chrony
2016-04-10 00:00:00 -04: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
dfc0db0a09
anaconda: Do not fail during initramfs start-up due to missing url-lib
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
c08e51c65b
anaconda: Update po files
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
b111b02b53
anaconda: Fix a regular expression determining Release
...
Without the start-of-line matcher, other lines are matched as well,
causing invalid PACKAGE_RELEASE variable substitutions within the
Makefiles.
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
f8d607cfff
anaconda: update po files
2016-04-05 14:56:36 +02:00
Jon Griffiths
fa3c28b982
anaconda: Add dracut-live as a dependency
2016-03-28 13:04:34 +13:00
Jon Griffiths
132b411e62
anaconda: Include anaconda-dracut as a dependency
2016-03-22 02:27:18 +13:00
Jon Griffiths
ea1f4a7131
Remove and gitignore checked in generated file
2016-03-22 02:27:18 +13: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
caeea07515
anaconda: remove autogenerated configure scripts
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
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
Marek Marczykowski
1076c760e1
anaconda: start Xorg on tty7
...
To not conflict with logind-reserved tty6 (ReserveVT option in
logind.conf(5))
2013-02-21 03:12:13 +01:00
Marek Marczykowski
62252c5a3c
anaconda: replace installclass with Qubes one
...
Mainly to modify default partitioning layout.
2013-02-14 03:36:31 +01:00
Marek Marczykowski
e345814639
anaconda: display correct root password status
2013-02-14 00:32:10 +01:00
Marek Marczykowski
5e55b430b7
anaconda: add option to lock root account
...
Not only default setting, so one could leave account locked if entered
password setting spoke.
2013-02-13 13:40:28 +01:00
Marek Marczykowski
40aff2cab3
anaconda: lock root account by default
2013-02-12 02:30:33 +01:00
Marek Marczykowski
2c55391588
anaconda: simplify autopart customization (minor)
2013-02-12 02:30:05 +01:00
Marek Marczykowski
1c0f105c44
anaconda: write minimal network configuration
...
Do not skip it completely, only remove network devices setup.
Especially set hostname.
2013-02-08 02:52:34 +01:00
Marek Marczykowski
8ed84973ff
anaconda 18.37.11-2, firstboot 18.6-3, lorax-templates-qubes 1.0-1, qubes-logos 1-4, qubes-release 2-2
2013-01-27 00:16:02 +01:00
Marek Marczykowski
492e2932e7
anaconda: make encrypted partitions by default
2013-01-26 22:29:36 +01:00
Marek Marczykowski
745a36a17d
anaconda: fix grub config setup
...
Remove non-xen options, make the right thing default one
2013-01-26 22:28:55 +01:00
Marek Marczykowski
da044ddca2
anaconda: do not start network during install
2013-01-26 22:26:08 +01:00
Marek Marczykowski
00c5528adc
anaconda: import unmodified 18.37.11 version from fc18
2013-01-24 01:45:53 +01:00
Marek Marczykowski
07fa39350c
anaconda: remove option for setting GRUB password ( #647 )
2012-08-22 03:44:28 +02:00
Marek Marczykowski
22b87b5c9a
anaconda: fix default xen console parameter ( #644 )
2012-07-25 00:00:41 +02:00
Marek Marczykowski
376954e900
anaconda: more general (and working...) detection of qubes kernel
2012-07-19 00:24:05 +02:00
Marek Marczykowski
ad83f834d2
anaconda: treat pvops kernel as qubes kernel
2012-07-18 15:46:56 +02:00
Marek Marczykowski
f7d5658907
anaconda 13.42-4
2012-07-09 15:33:57 +02:00
Marek Marczykowski
c9a92d8e34
anaconda: add missing files to installation image
2012-07-09 15:32:48 +02:00
Marek Marczykowski
cabe94affb
anaconda: do not fallback to text mode install when Xorg failed
...
Text mode provide very limited UI widget set and almost not existing error
reporting, which can result in broken installation.
2012-07-09 15:02:40 +02:00
Marek Marczykowski
73352d6438
anaconda 13.42-3
2012-04-28 02:46:58 +02:00
Marek Marczykowski
0d804af891
anaconda: use packages from already mounted /mnt/stage2 if commanded so ( #440 )
2012-04-28 02:46:10 +02:00
Marek Marczykowski
5fd3c8b151
anaconda: try to use installation disk directly, before searching for ISO images ( #440 )
2012-04-28 02:45:52 +02:00