Commit Graph

785 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
c9a10727cf
lorax: add "System Volume Information" to ESP image
When installation image is written on Windows, it automatically (by the
OS) gets mounted and Windows create "System Volume Information" there.
This obviously means the installation media is modified and then fails
verification.
This is really wrong from the Windows side to automatically modify some
files behind users back. But since we can prevent this with really low
cost by just creating those files ourself and reduce a lot of user
confusion, just do it.

Thanks @pbatard for the help.

Fixes QubesOS/qubes-issues#2051
2016-06-07 17:18:58 +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
6a8388e111
lorax: make sure qubes-artwork is installed
DNF based pungi isn't deterministic and sometimes chooses fedora-logos
(both provide system-logos). Make sure the right one is installed.

QubesOS/qubes-issues#1807
2016-06-06 00:59:38 +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
8b37d08376
qubes-anaconda-addon: adjust mgmt stack usage
Salt-minion config is no longer generated using 'state.sls config', so
remove references to it. Instead make sure all modules are up to date in
cache (saltutil.sync_all).

Also make sure 'salt-minion' service is disabled (it is no longer
handled by config formula).

Additionally dom0 states are no longer in separate environment.

Slightly improve logging.
2016-06-06 00:58:03 +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
12c2fd9720
qubes-release 3.2-0.25, lorax 23.20-3 2016-05-25 14:07:52 +02:00
Marek Marczykowski-Górecki
7875d31a8f
lorax: update package verification for dnf API
QubesOS/qubes-issues#1807
2016-05-25 11:25:54 +02:00
Marek Marczykowski-Górecki
7484fb2bb5
travis: update for R3.2
QubesOS/qubes-issues#1926
2016-05-25 10:39:06 +02:00
Marek Marczykowski-Górecki
194ba37fb5
qubes-release: add symlinks for R3.2 keys
QubesOS/qubes-issues#1807
2016-05-25 10:37:36 +02:00
Marek Marczykowski-Górecki
4288335086
Merge branch 'master' into fedora-23 2016-05-25 03:10:11 +02:00
Marek Marczykowski-Górecki
237aee86c5
travis: check if package verification really works
QubesOS/qubes-issues#1926
2016-05-25 02:03:04 +02:00
Marek Marczykowski-Górecki
798e008f7b
travis: Smaller output log
There is 4MB limit on total log size...

QubesOS/qubes-issues#1926
2016-05-25 01:48:53 +02:00
Marek Marczykowski-Górecki
ff0bb730bb
travis: add basic build test
QubesOS/qubes-issues#1926
2016-05-25 01:13:36 +02:00
Marek Marczykowski-Górecki
68ab062cde
Make build configuration (kickstart) configurable
QubesOS/qubes-issues#1926
2016-05-24 13:40:53 +02:00
Marek Marczykowski-Górecki
78c7484a7c
pungi 4.0.15, set epoch to 1000
QubesOS/qubes-issues#1807
2016-05-24 13:19:24 +02:00
Marek Marczykowski-Górecki
efb772a03a
qubes-release-3.2-0.24
Increase release number to 0.24, because upstream systemd package
conflicts with fedora-release<23-0.12.
Also cleanup transitional upgrade package.

QubesOS/qubes-issues#1807
2016-05-19 00:27:19 +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
7e60c9884b
qubes-release 3.2-0.1 2016-05-18 03:19:17 +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
Marek Marczykowski-Górecki
6ce8b815d7
lorax: do not generate upgrade.img
QubesOS/qubes-issues#1807
2016-04-21 19:56:26 +02:00
Marek Marczykowski-Górecki
f2edc02cac
lorax, pungi: pass gpgkey info from pungi to lorax
Since lorax is running as a separate process, it no longer use
repositories objects setup by pykickstart (which is already patched to
support gpgkey). This means we need somehow pass that info, otherwise
packages will not be verified.

QubesOS/qubes-issues#1807
2016-04-21 19:56:26 +02:00
Marek Marczykowski-Górecki
32a75c4f78
lorax: fix SEGV in librpm during ISO build
https://bugzilla.redhat.com/1208296

QubesOS/qubes-issues#1807
2016-04-21 19:56:26 +02:00
Marek Marczykowski-Górecki
1f45e8b3c5
lorax: plug into qubes-builder
QubesOS/qubes-issues#1807
2016-04-21 19:56:25 +02:00
Marek Marczykowski-Górecki
00b21a2194
lorax: import unmodified package
QubesOS/qubes-issues#1807
2016-04-21 19:56:25 +02:00
M. Vefa Bicakci
2ed9a80de6
comps: Do not install grubby
grubby provides the new-kernel-pkg script, which overrides the behaviour
of the kernel-install script. In addition, grubby causes the following
line

  xen_rm_opts=

to become

  xen_rm_opts

in the GRUB2 configuration file (/boot/grub2/grub.conf) every time
it is invoked, where the trailing equals sign ('=') is removed.
This causes a syntax error to be printed out at every boot.
2016-04-21 19:56:25 +02:00
M. Vefa Bicakci
725c29e2d9
comps: xfce-desktop-qubes: Do not depend on desktop-backgrounds-compat
The desktop-backgrounds-compat package is obsoleted by qubes-artwork,
and without this commit, the installation cannot proceed unless XFCE4 is
chosen to not be installed.
2016-04-21 19:56:24 +02:00
M. Vefa Bicakci
7050af177d
comps: Make sure the salt management stack is included
Without this commit, the "qubesctl" command is not available in the
installed system, and the first boot configuration fails.
2016-04-21 19:56:24 +02:00
M. Vefa Bicakci
d80d42eb78
comps: Remove fonts that are not in repositories 2016-04-21 19:56:24 +02:00
M. Vefa Bicakci
f27cf1a884
pykickstart: Default to Fedora 23 and re-enable tests 2016-04-21 19:56:23 +02:00
M. Vefa Bicakci
ba30700ef7
lorax: Do not fail if EFI directory already exists 2016-04-21 19:56:23 +02:00
Marek Marczykowski-Górecki
19ff42ed5f
Add initial-setup-launcher package
A simple package to workaround bug in initial-setup-0.3.37:
https://fedoraproject.org/wiki/Common_F23_bugs#Initial_setup_sometimes_starts_in_text_mode_instead_of_in_graphics_mode

This is based on work done by M. Vefa Bicakci <m.v.b@runbox.com>.

This package can be removed when initial-setup-0.3.40 will be used.

QubesOS/qubes-issues#1807
2016-04-21 19:56:23 +02:00
M. Vefa Bicakci
40b3ab5ba9
comps: Do not require dhcp-client 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
7843ee391c
comps: Do not require ntp which requires ntp-date 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
d34c15b593
comps: Remove kdeaccessibility
kdeaccessibility depends on/causes installation of the speak-up
service, which fails at start-up.
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
ef60bed5c9
anaconda: Do not depend on chrony 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
63ed8b9d86
lorax: Do not remove gpg-me libraries
Otherwise, lorax outputs the following error:
  libgpgme-pthread.so.11, needed by /usr/bin/rpm-ostree, not found
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
c009f956ab
firstboot: Remove given that there is an anaconda/initial-setup add-on 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
679b6468f8
qubes-anaconda-addon: Disable libvirt-guests service
This service suspends virtual machines at shutdown time and resumes them
at start-up time. This unfortunately breaks virtual machines which have
PCI devices attached.
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
1cda66e1ee
qubes-anaconda-addon: Disable rdisc and kdump at first boot 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
9fdff6c906
qubes-anaconda-addon: Let run_command optionally ignore failures 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
de501a473e
qubes-anaconda-addon: Include in the ISO 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
4069ca6bc6
qubes-anaconda-addon: Include in the build 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
bb7c2caa13
qubes-anaconda-addon: An initial-setup module
This commit introduces an initial-setup module to replace the
firstboot-based initial set-up procedures required by Qubes OS.
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
b47c25d7d6
comps: Add essential packages: qubes-release and xterm 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
9788f32736
comps: Add base KDE packages 2016-04-10 00:00:00 -04:00