From f5409367a1707be86e1870e3a88e8075da254212 Mon Sep 17 00:00:00 2001 From: puneetse <22071208+puneetse@users.noreply.github.com> Date: Wed, 20 Feb 2019 18:36:52 -0800 Subject: [PATCH] Add changes requested by @miguelinux --- .../guides/maintenance/kernel-development.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source/clear-linux/guides/maintenance/kernel-development.rst b/source/clear-linux/guides/maintenance/kernel-development.rst index f3e5d88e..35d9ee9f 100644 --- a/source/clear-linux/guides/maintenance/kernel-development.rst +++ b/source/clear-linux/guides/maintenance/kernel-development.rst @@ -263,6 +263,24 @@ consider using a patch management tool in addition to Git such as source working directory. +#. Initialize the kernel source directory as a new git repo and commit + all the files to begin tracking changes. + + .. code-block:: bash + + git init + git add -A + git commit -m "Initial commit of Linux kernel source" + + +#. Apply ptches provided by the |CL| kernel package to the kernel source + in the working directory. + + .. code-block:: bash + + git am ../*.patch + + #. Make any desired code changes to the Linux source code files.