Commit Graph

1004 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
9593f58731
anaconda 25.20.9-17, qubes-anaconda-addon 4.0.11-1 2020-01-13 19:46:01 +01:00
Marek Marczykowski-Górecki
9c8a8d2fb4
anaconda-addon: run salt into VMs too
If anything (for example post-install script) added states for VMs,
apply them too.
2020-01-13 05:07:14 +01:00
Marek Marczykowski-Górecki
967c9caa7c
Prefer createrepo_c over createrepo 2020-01-09 01:34:18 +01:00
Marek Marczykowski-Górecki
87116a2094
anaconda: allow user setup durign initial-setup phase, if kickstart wishes so 2020-01-08 20:30:21 +01:00
Marek Marczykowski-Górecki
32b3a210e0
Make proper text-based initial setup UI
Re-use the same kickstart code to configure the system in text mode too.
2020-01-08 20:26:42 +01:00
Marek Marczykowski-Górecki
556b584f74
Move applying configuration to kickstart addon
Separate UI from applying configuration by implementing proper
anaconda/kickstart addon. This have multiple benefits:
 - entering settings window twice does not result in configuration being
   applied multiple times
 - all settings can be saved and loaded in kickstart file - this allows
   automating this part of installation too
 - it's much easier to implement other UI (text) for the same mechanism

There is one little catch: initial-setup (contrary to base anaconda)
does not provide graphical indicator for long-running system
configuration, so while configuration is progress, the UI is frozen.
Workaround this by re-using old progress dialog, but from kickstart
addon this time. This means the kickstart needs to know whether it's
running from GUI or not.

Fixes QubesOS/qubes-issues#2433
(backported from R4.1, adjusted for older anaconda)
2020-01-08 20:26:42 +01:00
Marek Marczykowski-Górecki
0ec125b967
anaconda 25.20.9-16, blivet 2.1.11-6 2019-10-31 21:55:35 +01:00
Marek Marczykowski-Górecki
91728177c2
anaconda: fix required disk space reporting in reclaim space dialog
Blivet (storage library) reserve 20% of volume group space if there is
thin pool created. Include it in required space reporting.

QubesOS/qubes-issues#5345
2019-10-25 05:11:38 +02:00
Marek Marczykowski-Górecki
12cc054a74
blivet: do not mount pre-existing partitions and do not detect OS there
This operation may be harmfull in many ways:
 - may unintentionally modify a disk not selected as installation target
   (mounting even read only replays journal for example)
 - if previous system was compromised, it may try to exploit some of the
   parsing code (filesystem driver etc) to survive across
   re-installation

QubesOS/qubes-issues#2835
2019-10-25 05:11:38 +02:00
Marek Marczykowski-Górecki
1abde9cad3
anaconda: do not drop /boot from automatic partitioning
Create /boot even on UEFI systems, to help migrating to R4.1 with
grub2-efi (needing access to unencrypted /boot).

QubesOS/qubes-issues#4902
2019-10-25 05:11:37 +02:00
Marek Marczykowski-Górecki
40a1574500
blivet: Double default LVM thin pool metadata size
The default is too small in Qubes use case.

Fixes QubesOS/qubes-issues#3243
2019-10-25 05:11:07 +02:00
Marek Marczykowski-Górecki
7c2d9b37e3
blivet: update to 2.1.11
Revert few changes to make it compatible with fc25 (libblockdev-0.9,
anaconda-25). And manually backport get_thpool_meta_size function not
present in libblockdev-0.9. Besides that, drop patches already included
in this release.

This update, among other things, limit fsck calls on partitions not
selected for install/resize.

Tarball generated from upstream git checkout of
ee16c10d48724590aac5e0382ebc540195dc712d ("New version 2.1.11") by
calling "make archive".

QubesOS/qubes-issues#2835
2019-10-25 05:11:05 +02:00
Frédéric Pierret (fepitre)
70d4252d91
travis: switch to bionic
QubesOS/qubes-issues#4613

(cherry picked from commit 376ce9ad5c)
2019-10-20 04:00:22 +02:00
Marek Marczykowski-Górecki
a089792060
anaconda 25.20.9-15, lorax-templates-qubes 4.0.6, qubes-anaconda-addon 4.0.10 2019-06-28 15:44:07 +02:00
Marek Marczykowski-Górecki
3541eda275
comps: update debian template description
It should be "Debian 10"

QubesOS/qubes-issues#5108
2019-06-26 17:13:59 +02:00
Marek Marczykowski-Górecki
533e8e75bd
anaconda: add plymouth.ignore-serial-consoles boot option by default
QubesOS/qubes-issues#3849
2019-06-25 20:02:22 +02:00
Marek Marczykowski-Górecki
f3f7ae7a87
lorax-templates-qubes: add plymouth.ignore-serial-consoles kernel option
to non-verbose boot options. This will avoid automatic plymouth switch
to "details" view - retaining nice graphical progress. And also will be
copied to the target system, with the same effect - nice graphical boot.

QubesOS/qubes-issues#3849
2019-06-25 19:52:55 +02:00
Marek Marczykowski-Górecki
afd1fe2d41
qubes-anaconda-addon: update default template
QubesOS/qubes-issues#5108
2019-06-24 21:17:01 +02:00
Marek Marczykowski-Górecki
60af84f159
comps: update template versions for R4.0.2
- debian-10
- fedora-30
- whonix-{gw,ws}-15

QubesOS/qubes-issues#5108
2019-06-24 18:10:04 +02:00
Marek Marczykowski-Górecki
3c12390129
qubes-release 4.0-8
QubesOS/qubes-issues#
2019-04-13 05:28:29 +02:00
unman
2ce7edc6fe
Add new onion addresses to repo lists 2019-04-13 05:26:53 +02:00
Frédéric Pierret (fepitre)
beb177026c
Add 'kernel-latest' and 'kernel-latest-qubes-vm' as optional packages 2019-04-07 20:58:06 +02:00
Marek Marczykowski-Górecki
c92b713f9f
conf: create separate iso-full-online.ks for release builds
... using online repositories.

(cherry picked from commit 8426e7c1b3)
Modified for R4.0
2019-04-06 22:37:57 +02:00
Frédéric Pierret (fepitre)
cfe1e28266
Create ISO with new name format instead of legacy one
(cherry picked from commit 7458a1ad84)
2019-04-06 00:30:34 +02:00
Frédéric Pierret (fepitre)
e574ea6c3c
Add stamp for latest built iso
(cherry picked from commit e0d309d0cc)
2019-04-06 00:29:40 +02:00
Marek Marczykowski-Górecki
64b26d6cb8
qubes-release 4.0-7 2018-11-21 03:10:14 +01:00
Marek Marczykowski-Górecki
578dc74879
qubes-release: provide system-release(releasever)
dnf do not support distroverpkg option to detect $relasever value.
Instead, it looks for a various packages, starting with
'system-release(releasever)', then 'system-release' and
'redhat-release'.
Until Fedora 29's dnf it took package version for $releasever value, but
starting with Fedora 29 it takes Provides value instead (it looks like
that code was in place before already, but for some reason it didn't worked).
Both 'redhat-release' and 'system-release' are set to base Fedora
version and needs to stay this way to satisfy Fedora's packages
dependencies. This means, $releasever was set to base Fedora version,
not Qubes version, which breaks repository urls.
Add 'system-release(releasever)' (which is checked first) with Qubes
version to solve this problem.

Fixes QubesOS/qubes-issues#4477
2018-11-12 23:33:15 +01:00
Marek Marczykowski-Górecki
2d52be2815
lorax-templates-qubes 4.0.5 2018-11-03 03:06:42 +01:00
Marek Marczykowski-Górecki
9b4483caa7
lorax-templates-qubes: use only explicit kernel-qubes-vm packages
Don't include all kernel-qubes-vm packages from qubes-dom0 repo, only
those explicitly placed in dom0-updates repo.
Also, do not include a copy of the newest one.
2018-11-03 03:06:12 +01:00
Marek Marczykowski-Górecki
55877f867c
anaconda 25.20.9-14, lorax-templates-qubes 4.0.4, qubes-anaconda-addon 4.0.9, qubes-release 4.0-6 2018-11-02 16:13:48 +01:00
Marek Marczykowski-Górecki
9252e8c6c0
qubes-anaconda-addon: set fedora-29 template as default one 2018-11-02 15:53:37 +01:00
Marek Marczykowski-Górecki
ef12e69789
qubes-release: install fedora-29 template by default 2018-11-02 15:53:18 +01:00
Marek Marczykowski-Górecki
a7f17acd13
anaconda: fix partition requirements setup
Removing elements from a list while iterating over it cause some
elements to be missed. Specifically, this caused /boot/efi to be skipped
and left unmodified.

Fix that by iterating over list copy.

Fixes QubesOS/qubes-issues#3224
2018-10-30 04:13:27 +01:00
Marek Marczykowski-Górecki
558bd2612a
Merge remote-tracking branch 'origin/pr/27'
* origin/pr/27:
  anaconda: autoreconf before configure as configure.ac is modified and autogen.sh is not present anymore
  anaconda: update spec with autosetup
  anaconda: switch to source + patches
2018-10-23 03:47:21 +02:00
Frédéric Pierret (fepitre)
1f93381780
anaconda: autoreconf before configure as configure.ac is modified and autogen.sh is not present anymore 2018-10-21 12:54:49 +02:00
Frédéric Pierret (fepitre)
799adbc2f7
anaconda: update spec with autosetup 2018-10-21 12:54:49 +02:00
Frédéric Pierret (fepitre)
ced2bf05a8
anaconda: switch to source + patches 2018-10-21 12:54:49 +02:00
Marek Marczykowski-Górecki
116bbc6a34
lorax-templates-qubes: use qubes kernel during installation
Don't try to install kernel-modules-extra, which force Fedora's kernel.
Qubes kernel package is not split into several packages.
Also, don't install gfs2-utils (not needed in Qubes case) which is said
to pull kernel-debuginfo package.

Fixes QubesOS/qubes-issues#3784
2018-09-30 22:31:04 +02:00
Marek Marczykowski-Górecki
8ed5c0ae4c
lorax-templates-qubes 4.0.3, qubes-anaconda-addon 4.0.8, qubes-release 4.0-5 2018-09-17 15:40:39 +02:00
Marek Marczykowski-Górecki
4b8129a9c2
travis: don't build code-signing only tags 2018-09-16 03:41:10 +02:00
Marek Marczykowski-Górecki
2f3063da20
lorax-templates-qubes: break the build if efiboot.img is too big
Break the build instead of producing broken boot image.
2018-09-16 03:40:12 +02:00
Marek Marczykowski-Górecki
938578c2b2
anaconda: add smt=off xen option during installation
Defaults set during package installation do not apply, as booloader
configuration doesn't exist at that stage yet.

Reported by @rustybird
QubesOS/qubes-issues#4252
2018-09-11 05:15:22 +02:00
Marek Marczykowski-Górecki
b0fa5381c1
qubes-anaconda-addon: fix checking for versioned whonix templates
Use '*' in package name. This require using rpm -qa (instead of rpm -q).
In this case, checking exit code doesn't work, we need to check if any
package was actually listed.
2018-09-11 05:07:38 +02:00
Marek Marczykowski-Górecki
fa2ad03b0b
qubes-release: fix fedora repositories
Don't rely on legacy mirrorlist -> metalink automatic conversion.

Fixes QubesOS/qubes-issues#4090
2018-09-10 15:16:34 +02:00
Marek Marczykowski-Górecki
88e43486b8
qubes-release: drop https from onion urls
Tor already provide encryption and authentication, we don't run https on
onion services.
2018-09-06 19:17:43 +02:00
0brand
53ec55a386
Comments to use qubes onion repository 2018-09-03 23:42:32 +02:00
0brand
f6e0d1e5e8
Comments to use qubes onion repository 2018-09-03 23:42:32 +02:00
Marek Marczykowski-Górecki
dc6f87461c
Update for Whonix 14 templates 2018-08-07 01:28:31 +02:00
Marek Marczykowski-Górecki
cb4a19ffcf
qubes-release 4.0-4, qubes-anaconda-addon 4.0.7 2018-07-15 20:51:58 +02:00
Marek Marczykowski-Górecki
217d223667
qubes-release: use metalinks for qubes repositories
This enables use of different mirrors. Specifify fastestmirror=1
explicitly for templates repository, as it has the biggest impact there.

QubesOS/qubes-issues#3935
2018-07-15 20:47:34 +02:00