Commit Graph

51 Commits

Author SHA1 Message Date
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
Marek Marczykowski
4ea73ad712 spec: pciback.conf no more 2011-10-17 22:19:34 +02:00
Marek Marczykowski
f49edcc48a makefile: place firmware for VM in correct dir 2011-10-17 22:19:34 +02:00
Joanna Rutkowska
dda56b60ca Do not add rdloaddriver=pciback to kernel args
Now this is handled by qubes-pciback dracut module
2011-09-09 16:31:29 +02:00
Marek Marczykowski
90d2b31bbf Add support for build pvops kernel using kernel.spec 2011-09-08 13:08:38 +02:00
Marek Marczykowski
6ea017a8fc prepare files for pvops kernel
Just copy/rename files, no actual modifications.
2011-09-08 13:08:25 +02:00
Joanna Rutkowska
aa747c3d70 Split into two specs: xenlinux and domU 2010-06-20 23:30:51 +02:00
Joanna Rutkowska
69d2e2919b version 2.6.34-3 2010-06-18 15:21:14 +02:00
Joanna Rutkowska
86f16496f3 version 2.6.34-2 2010-06-18 14:29:07 +02:00
Joanna Rutkowska
40bf8407f1 Do not create the failsafe boot entry anymore
I don't think we need it anymore with the new Dom0 kernel --
it was mainly introduced so that people could easily get
around not-working-nouveau driver in the previous Dom0 kernel,
but it seems to work just fine out of the box with this new kernel.

Having this additional boot traget just introduces some mess,
that can confuse users. And users can still boot using original
Fedora kernel if something goes wrong.
2010-06-18 14:27:14 +02:00
Joanna Rutkowska
fb58bbd020 spec: Provides kernel-drm-nouveau = 16, needed by xorg-nouveau 2010-06-16 16:10:28 +02:00