Commit Graph

102 Commits

Author SHA1 Message Date
Joe Lawrence
feb5e2b176 README: Add arch porting question
Adding a new architecture pops up time to time, since the answer remains
the same each time, provide the common question/answer in the FAQ.

Answered-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2022-09-01 15:47:43 -04:00
Sumanth Korikkar
48d997f2a3 README: Update s390 as supported and backporting info
* Add s390 as supported.
* Add backporting information for the distros.

Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
2022-05-25 06:20:04 +02:00
Josh Poimboeuf
e6c1c082ce readme: bring README.md into the 21st century
Update a lot of the old cruft and move the boring installation stuff to
a separate file.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
2022-04-22 09:28:55 -07:00
Artem Savkov
4a7dab17c8 Allow OOT modules to be built with non-distro kernels
Previously OOT-module builds used `--sourcedir` to specify oot-module
source directory which was a bit confusing and also denied users ability
to build kpatches agains oot modules built against non-distro kernels.

This patch adds `-p/--oot-module-src` option to specify source dir for
oot module while keeping `--sourcedir` for kernel source directory
specification.

I also tried to disambiguate `SRCDIR` in kpatch-build a bit. Now there
are 3 variables:
 - `KERNEL_SRCDIR` - contains path to kernel source directory
 - `OOT_MODULEL_SRCDIR` - contains path to out-of-tree module source directory
 - `BUILDDIR` - can be set to either of the above and is used for
   patch-related actions

Another attempt at this was done by @omatiusha in #1234

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2021-12-13 18:51:52 +01:00
Josh Poimboeuf
87ca62d8de README.md: Migrate #kpatch IRC channel to libera.chat
Move the #kpatch channel to libera.chat due to the freenode implosion.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
2021-05-26 15:40:26 -05:00
Julien Thierry
ea8c6169e8 README: Recommend using available script to install dependencies
A bash script is available to automatically install necessary
dependencies for building/using kpatch on some distributions.

Update the README sections for those distributions to use that script.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
2020-06-04 17:44:47 +01:00
TheMainOne
886f760e3e Added Supported Architectures category 2020-05-12 11:02:36 -04:00
TheMainOne
f1d7f0ab19
Removed kernel-devel for CentOS 2020-05-11 09:59:51 -04:00
TheMainOne
d8eb0950f8
Removed kernel-devel for RHEL 2020-05-11 09:58:15 -04:00
TheMainOne
9225237453
Removed kernel-devel for Fedora 2020-05-11 09:56:27 -04:00
TheMainOne
2eeed7bde1
Seperated Standard and Developer kernel 2020-05-09 14:42:33 -04:00
TheMainOne
73fe00c91a
Added Table of contents 2020-05-08 12:19:06 -04:00
Artem Savkov
c1d5cc47d7 Fix epel ccache installation
ccache version in epel updates from time to time so instead of
using a direct link install epel repo and install ccache without
specifying the version.

Suggested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Artem Savkov <asavkov@redhat.com>
2020-01-24 10:37:21 +01:00
Joe Lawrence
e4525ce311 kpatch-build: sanity check patched filenames
Run the input patch(es) through lsdiff and then verify that no obviously
unsupported files are directly modified (e.g. assembly .S files).

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2019-08-22 11:44:02 -04:00
Joe Lawrence
9863f5fa9b README.md: fix up out-of-tree module command line switches
For consistency, use the long format command line options in the
description and sample invocation.  Also, use "--oot-module" and not
"--out-of-tree" as per kpatch-build sources.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2019-02-15 10:09:46 -05:00
Joe Lawrence
f3b3e79f03
Merge pull request #923 from pcd1193182/master
Add support for building out-of-tree modules
2018-11-14 11:14:53 -05:00
Paul Dagnelie
51a8fad34f Add support for building out-of-tree modules 2018-11-09 08:22:39 -08:00
Simon Ruderich
ae820f5d19 README.md: mention callbacks/shadow variables in limitations
Signed-off-by: Simon Ruderich <simon@ruderich.org>
2018-10-23 08:37:06 +02:00
Lennert Buytenhek
9ce3e3c090 readme: explicitly include elfutils dependency for Ubuntu
Without this, kpatch-build bombs out because it cannot find eu-readelf.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
2018-07-25 14:59:56 +03:00
Kamalesh Babulal
acf33455a3 readme: Update gcc-plugin-devel dependency
Update gcc-plugin-devel package dependency for livepatch
modules on ppc64le.

Fixes #888.

Suggested-by: Joe Lawrence <jdl1291@gmail.com>
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
2018-06-22 10:07:32 +05:30
Artem Savkov
211c6243f2 readme: fix outdated epel ccache link
Update ccache link to point to current version/location.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2018-04-19 09:34:47 +02:00
Doug Goldstein
ff5c554a40
drop unused rpmdevtools dependency
It appears that since 0dec5136ee nothing
has been used from the rpmdevtools package by kpatch-build.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2018-03-21 15:15:08 -05:00
bmcculley
c3a1d5c762
fixing RHEL and oracle typos as well. 2018-01-10 20:08:06 -05:00
bmcculley
00cdbee63c
dnf to yum
switch dnf to yum command under centos 7 section.
2018-01-10 20:04:14 -05:00
Alice Ferrazzi
4c5049f7e0 Add Gentoo to README 2017-12-03 23:39:28 +09:00
Simon Ruderich
a51f9de534 README.md: use https:// for YouTube links 2017-10-12 17:32:12 +02:00
Simon Ruderich
b58c84fed0 README.md: add instructions for Debian 9 (Stretch) 2017-10-12 17:27:04 +02:00
Simon Ruderich
3507e30781 README.md: add release names to Debian versions
Also remove inconsistent minor version.
2017-10-12 17:27:04 +02:00
Simon Ruderich
c8fbe85d7f README.md: fix minor typo 2017-10-12 17:27:04 +02:00
Joe Lawrence
a970c9eaef readme: add Ubuntu apt-security 404 note
Fixes #710
2017-08-18 19:38:18 -04:00
Vincent Bernat
0f717abf0c kpatch-build: retrieve source package instead of linux-source
On Ubuntu Trusty, HWE kernels don't come with a linux-source
package. Use dget to retrieve the source package instead. This is not
the case anymore with Xenial as the linux-source package is also
provided for the HWE kernels. For Debian, backports always come with the
linux-source package.
2017-05-17 23:24:32 +02:00
Joe Lawrence
596cd45683 readme: update 'oops stack traces' taint reference 2017-04-20 17:11:33 -04:00
Santiago Castro
2b47cf8536 Fix broken Markdown headings 2017-04-18 00:23:37 -03:00
Joe Lawrence
252ba99ea7 readme: update RHEL-based distributions
* remove the Fedora release number
* add part of the $(uname -r) to kernel package specifications
* add patchutils as an optional package to satisfy kpatch-test
* update to the latest ccache rpm URL @ dl.fedoraproject.org
2017-03-10 16:50:08 -05:00
Joe Lawrence
2596ef8f17 readme: add fentry limitation
Make note that patching functions without a fentry call can't be
patched, including lib.a archives.
2017-03-10 14:43:58 -05:00
Joe Lawrence
8722a7ed88 readme: update taint flag info 2017-03-10 13:20:51 -05:00
Terry Wang
580acabdc0 readme: update Fedora support information 2015-12-05 00:07:52 +11:00
Terry Wang
85c5cc224f readme: remove out-dated Fedora 21 2015-12-01 13:58:49 +11:00
Terry Wang
701e5c0a34 readme: add support for Fedora 23 2015-11-26 23:59:55 +11:00
Josh Poimboeuf
85b7a76acc doc: patch author guide, first take
Been wanting to write this forever, have to start somewhere...
2015-11-16 15:23:16 -06:00
Josh Poimboeuf
8e8de4718d kpatch: deprecate the replace command
"kpatch replace" is complex, buggy, and probably unnecessary.  And
upstream livepatch has nothing like it.

Remove it from the kpatch utility, but leave the infrastructure in place
in the patch module and the core module for now.

Fixes: #456
2015-11-16 09:38:44 -06:00
Josh Poimboeuf
99be07a372 readme: remove some obsolete information 2015-06-24 16:29:29 -05:00
Josh Poimboeuf
22d60ad60e readme: patching out-of-tree modules 2015-06-24 16:29:02 -05:00
Josh Poimboeuf
abdaa96c18 readme: update dependencies for f21
Change the supported Fedora version to F21 and add a new dependency.

For some reason, numactl-devel is needed by "rpmbuild -bp kernel", but
isn't detected by "yum-builddep kernel".
2015-04-29 11:50:23 -05:00
Josh Poimboeuf
d50b0b9218 README livepatch update 2015-03-25 17:17:09 -05:00
Seth Jennings
c163bf5c2e Merge pull request #464 from jpoimboe/readme-force-unsafe
update README with some new frequently asked questions
2015-01-05 11:12:52 -06:00
Josh Poimboeuf
f4ee5d2a3a readme: add ncurses-devel to RHEL dependencies 2014-12-18 14:55:16 -06:00
Josh Poimboeuf
0fbb7856e4 update README with some new frequently asked questions 2014-10-31 11:45:48 -05:00
Josh Poimboeuf
bd2b499509 readme: get ccache from EPEL for RHEL 7 2014-09-29 21:32:27 -05:00
Josh Poimboeuf
2203cf5b7d readme: enable RHEL 7 optional repo
needed for pesign, newt-devel, pciutils-devel, asciidoc
2014-09-29 21:21:43 -05:00