Commit Graph

61 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
8cefe84167
rpm: add missing BR: openssl-devel 2016-06-03 00:27:57 +02:00
Jon Griffiths
ef7c5950b5 In fc23 dracut has moved to /usr/bin
Use PATH to find the binary so we continue to work for older versions.
2016-03-22 16:27:12 +13:00
Marek Marczykowski-Górecki
d224d378ab Add missing generated includes to kernel-devel
QubesOS/qubes-issues#1192
2015-09-21 13:23:41 +02:00
Marek Marczykowski-Górecki
907d420275
rpm: restore grub2-mkconfig call
kernel-install fallbacks to new-kernel-pkg when grubby is installed, so
restore a workaround in that case.
2015-08-08 22:43:46 +02:00
Marek Marczykowski-Górecki
bd3ef3b782
rpm: require new enough qubes-core-dom0-linux
Can't use version here since the kernel package will be the same for
both R2 and R3.0. So use virtual package name.
2015-07-12 01:57:16 +02:00
Marek Marczykowski-Górecki
7d9d60eb69
rpm: change post script to not use grubby 2015-07-10 18:02:37 +02:00
Marek Marczykowski-Górecki
e161831c76 Remove support for multiple kernel flavors in the single branch
It isn't used for a long time and only complicated build scripts.

(cherry picked from commit 6c44f5e1ed)
2015-06-21 02:29:18 +02:00
Wojtek Porczyk
0adbe73ad8 spec: BuildRequires: bc
Apparently.
2015-05-07 01:26:44 +02:00
Marek Marczykowski-Górecki
7905b0b2ba Use VM kernel additions from qubes-kernel-vm-support package
This way the same files could be used for building kernel-qubes-vm
package and for building VM kernel files manually
2015-03-22 04:12:45 +01:00
Marek Marczykowski-Górecki
a784eee66f rpm: do not fail when no firmware was built 2014-07-08 02:05:19 +02:00
Wojciech Zygmunt Porczyk
7025371279 kernel.spec: fixed indentation (tabs vs spaces) 2014-06-10 12:48:22 +02:00
Wojciech Zygmunt Porczyk
0f343a09eb kernel.spec: BuildRequires: dracut
/sbin/dracut is invoked from %install
2014-06-09 19:04:17 +02:00
Marek Marczykowski-Górecki
a2dcf29ea2 rpm: drop xen dependency
Kernel itself do not strictly require xen installed. qubes-core-dom0
package requires it and have own dependency.
2014-05-13 00:17:59 +02:00
Marek Marczykowski-Górecki
590e9b48b8 rpm: include kernel directory itself in package (#849)
Otherwise it will not be uninstalled.
2014-05-12 17:41:04 +02:00
Marek Marczykowski-Górecki
2270b57f16 rpm: prevent removal of still used kernel version (#848) 2014-05-12 17:37:54 +02:00
Marek Marczykowski-Górecki
0fe484c606 rpm: fix kernel version in Provides: header 2014-04-27 12:02:45 +02:00
Marek Marczykowski-Górecki
60b0da51cb rpm: do not build empty debuginfo package
The kernel is compiled without debug symbols, so kernel-debuginfo
package was useless. If one want debuginfo package, he/she need to
reenable it *and* compile kernel with debug symbols (which need a lot of
disk space).
2014-04-23 12:49:31 +02:00
Marek Marczykowski-Górecki
a0f9bcf6eb spec: hide non fatal qubes-prefs warning
And explain why it isn't fatal...
2014-04-08 05:04:08 +02:00
Marek Marczykowski-Górecki
b6f30a4734 Fix handling kernel version
Previous regex incorrectly handle 3.13 version.
2014-03-11 03:46:21 +01:00
Marek Marczykowski-Górecki
599a6f01c8 Switch to xz source packages
kernel.org no longer provide bz2 packages.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
2014-03-10 18:36:53 +01:00
Marek Marczykowski-Górecki
4e9aa16f79 Fix debuginfo package - include vmlinux
Based of Fedora kernel.spec
2014-01-27 14:52:05 +01:00
Marek Marczykowski-Górecki
3c68dfe400 Increase size of modules.img to 400MB
Currently its almost full. Also installing custom drivers is rather hard
with no additional space in /lib/modules...
2014-01-23 04:54:28 +01:00
Marek Marczykowski-Górecki
76301e8cc5 Fix kernel-devel package
Include missing includes, do not create empty version.h in old location.
2013-09-29 04:20:42 +02:00
Marek Marczykowski
d509e647c5 Copy Qubes-specific modules from %_sourcedir
When building outside of repository, ensure that all sources will be in
builddir.
2013-03-19 22:45:42 +01:00
Marek Marczykowski
3d2838b750 New builder API 2013-03-19 19:04:32 +01:00
Marek Marczykowski
9d42e64ad3 Use rpm-provided flags for make -jN 2013-03-19 16:41:05 +01:00
Marek Marczykowski
7d50af9122 vm/initramfs: exclude plymouth module
It doesn't make any sense on hvc console, but causes problems.

Problem: plymouth-quit.service is masked in VM, so plymouthd remains
running controlling console.
2013-02-09 01:26:13 +01:00
Marek Marczykowski
9816084ba9 vm/initramfs: include device-mapper
Actually it isn't installed by default in all cases, but required by
qubes cow setup scripts.
2013-02-07 21:54:16 +01:00
Marek Marczykowski
b754a6b36e spec: regenerate grub2 config after install
Apparently new-kernel-pkg does not work for grub2 config with xen
entries (new kernel isn't added to it at all). So regenerate grub2
config using grub2-mkconfig.
2013-02-06 01:59:18 +01:00
Marek Marczykowski
62deb5a445 spec: enhance 'Provides' header 2013-02-06 01:59:17 +01:00
Marek Marczykowski
a955051342 spec: fix 'Requires' header
strip is actually in binutils package
2013-02-06 01:59:17 +01:00
Marek Marczykowski
d3ca20fb86 spec: provide kernel-modules-extra; require strip for dracut
Update for fc18 build
2013-01-28 00:00:08 +01:00
Marek Marczykowski
a58e756d9e Do not use kernel-provided firmware in initramfs
dracut (at least in fc13) can use only one directory with firmware, so use the
standard one (from linux-firmware package) because it contains a lot wider set
of files.
2013-01-27 23:59:59 +01:00
Marek Marczykowski
f9b8bd98ba build-deps: use qubes-core-devel instead of qubes-core-vm-devel 2012-11-18 21:39:50 +01:00
Marek Marczykowski
cd7dc1f7dd spec: fix firmware config syntax 2012-10-04 08:02:52 +02:00
Marek Marczykowski
4f53ec6a3c spec: fix default xen console parameter (#644) 2012-10-04 04:51:08 +02:00
Marek Marczykowski
4e13372d7e spec: include kernel-specific firmware dir in initramfs 2012-10-04 04:46:08 +02:00
Marek Marczykowski
2411f1bba2 spec: add flavor-dependent provides (#581) 2012-07-07 02:09:38 +02:00
Marek Marczykowski
a1eea48862 spec: fix vm-kernel dir name
Use simple x.y.z-r instead of x.y.z-r.pvops.qubes
2012-06-14 02:52:26 +02:00
Marek Marczykowski
02f451a3fc include generated includes in -devel package - only for pvops
Required to compile external modules - there are eg unistd_{32,64}.h.
2012-06-04 20:47:10 +02:00
Marek Marczykowski
ca2b2ba12a spec: allow to install multiple releases of single kernel
Include release in kernel subdir name.
2012-05-27 22:59:09 +02:00
Marek Marczykowski
3c69343cca spec: build scripts_base explicitly
Prevent race when building with -j4.
2012-05-25 23:51:32 +02:00
Marek Marczykowski
dcecd5104c spec: dont check for stale symlinks 2012-05-24 16:19:53 +02:00
Marek Marczykowski
81c2c73ebf include generated includes in -devel package
Required to compile external modules - there are eg unistd_{32,64}.h.
2012-05-24 12:47:54 +02:00
Marek Marczykowski
770e621fae spec: fix version handling of 3.x kernels (in contrary to 3.x.y) 2012-05-24 00:29:08 +02:00
Marek Marczykowski
e36fb668a2 spec: support for per-version config and patches 2012-02-13 00:40:20 +01:00
Marek Marczykowski
6b90204adc spec: use qubes-prefs fix 2012-02-12 16:42:12 +01:00
Marek Marczykowski
065c7c8d5a spec: Add missing BR: qubes-core-vm-devel 2012-02-09 12:28:10 +01:00
Marek Marczykowski
15c89a7969 spec: hide xen messages from VGA console (#434) 2012-02-07 16:16:22 +01:00
Marek Marczykowski
a24e81f8bc spec: use qubes-prefs instead of qvm-set-default-kernel (#421) 2012-02-07 03:13:04 +01:00