Commit Graph

32 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
17b7186716
Make makefile and spec compatible with rc versions
There are a couple of changes needed:
1. Package version cannot contain '-' (5.4-rc5-1.pvops.qubes is an
   invalid rpm version). Follow Fedora upstream idea of moving 'rc' tag
   into package release field, as 0.rcXX.(original rel). This way, such
   package will be 'older' than the final release (with just release
   number there - 1 in most cases). The alternative idea is using
   '~rcXX' in the package version, but ~ couldn't be part of a kernel
   version reported by the kernel itself and also qubes-dom0-update
   refuses ~ in a package filename.
2. Adjust kernel version to match the above - specifically clear
   EXTRAVERSION (-rcXX suffix), as it will be added back as package
   release (CONFIG_LOCALVERSION).
3. rc tarballs are available only as a git-generated .tar.gz (not
   .tar.xz) and there are no matching detached signatures. While it
   would be possible to download a signed tag via git, scripting that
   would be overly complex as for the task rarely used. Leave this
   verification as a manual step and require sha512 checksum to be
   committed into repository.
   To build an archive matching upstream one, out of a signed tag, use
   command like this:
   git archive --prefix=linux-5.4-rc5/ --output=../linux-5.4-rc5.tar.gz v5.4-rc5

While at it, remove obsolete BUILD_FLAVOR variable.
2019-10-30 17:48:44 +01:00
xaki23
383118a889
change WireGuard version from 20190702 to 20190913 2019-09-24 21:58:07 +02:00
Frédéric Pierret (fepitre)
9ec407116a
Update WireGuard to 0.0.20190702 2019-07-27 14:34:03 +02:00
Marek Marczykowski-Górecki
7108c83c5e
Simplify WG_SIG_FILE set
Use native make substitution instead of sed.
2019-05-30 02:56:17 +02:00
xaki23
790685154f
build wireguard module (after gpg check) 2019-05-30 01:19:48 +02:00
Frédéric Pierret (fepitre)
80fa61ed14
get-sources: handle kernel-5.x 2019-03-15 22:28:50 +01:00
Frédéric Pierret (fepitre)
64896e89a4
makefile: get version and release from file 2018-11-18 23:45:41 +01:00
Frédéric Pierret
b24683da20
Support for DISTFILES_MIRROR 2018-04-12 21:25:40 +02:00
Reg Tiangha
16068482ef
Use https 2017-04-18 08:43:39 -06:00
Reg Tiangha
e8fffefad2
Makefile: fix mirror address 2017-04-14 16:21:49 -06:00
Marek Marczykowski-Górecki
708d7daf0d Update makefile to correctly handle 4.x download urls 2015-09-21 13:22:41 +02:00
Marek Marczykowski-Górecki
cec6ee8777 Use "gpgv" to verify kernel archive signature 2015-04-17 17:38:58 +02: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
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
Joanna Rutkowska
dba3f1db89 update-repo-* targets: also copy kernel-qubes-vm packages 2012-12-11 16:15:39 +01:00
Joanna Rutkowska
aa33198b96 Merge branch 'master' of git://git.qubes-os.org/marmarek/kernel 2012-11-14 12:01:43 +01:00
Marek Marczykowski
c6a898d4f8 makefile: generic update-repo-installer target 2012-11-14 11:56:57 +01:00
Marek Marczykowski
bb9fd2fe33 makefile: generic rpms-dom0 and rpms-vm targets 2012-11-14 11:56:57 +01:00
Joanna Rutkowska
48d0052f66 get-sources/verify-sources: reduce verbosity 2012-11-14 11:40:59 +01:00
Marek Marczykowski
65d700f5bb nuke xenlinux kernel files
We've completly migrated to upstream kernel with pvops xen support.
2012-11-08 01:59:04 +01:00
Marek Marczykowski
bc09cf4cf8 makefile: make sure that sign file is downloaded 2012-11-07 18:36:00 +01:00
Bruce A Downs
9e9f2e0fbe kernel: Turn on time-stamping (-N) for wget when getting kernel sources
wget downloads new linux-*.sign files and backs up the
existing files as file.1, file.2, etc. This causes false
positives during 'git status' or 'make check'
i.e.
* linux-2.6.38.3.tar.bz2.sign.1
* linux-3.2.7.tar.sign.1
Adding -N causes wget to smartly overwrite as required.
2012-10-09 01:22:27 +02:00
Marek Marczykowski
05531a8448 makefile: do not require sha1sum when signature available 2012-09-27 03:08:59 +02:00
Joanna Rutkowska
785cbcb166 Update kernel signature verification
1) For newer pvops kernels we can use kernel.org sign files that are signed
with a new (uncompromised, at least not known to be compromised yet) key
2) For older kernel, we need to use hash, as the kernel.org decided not to
release update signature with a new key.
In any case, use hash-based verification additionally, try to minimize trust put
into kernel.org people...
2012-02-24 17:50:43 +01:00
Marek Marczykowski
75bc52065b makefile: use signature of uncompresed file
Kernels >3.0.4 are distributed with only plain tar signed.
2012-02-13 02:04:08 +01:00
Marek Marczykowski
68c2cb59dd makefile: restore usage of ftp.kernel.org
kernel.inode.at seems to be outdated
2012-02-13 00:40:20 +01:00
Marek Marczykowski
be4ed3415c makefile: fix source URL for 3.x kernels 2012-02-13 00:40:20 +01:00
Joanna Rutkowska
b378a866c5 Merge Makefile.common and Makefile 2011-11-09 12:37:55 +01:00
Marek Marczykowski
90d2b31bbf Add support for build pvops kernel using kernel.spec 2011-09-08 13:08:38 +02:00
Joanna Rutkowska
aa747c3d70 Split into two specs: xenlinux and domU 2010-06-20 23:30:51 +02:00
Joanna Rutkowska
68e14237cb Initial version. 2010-06-15 22:49:11 +02:00