Rate This Document
Findability
Accuracy
Completeness
Readability

Downloading Kernel Source Code

  1. Obtain the kernel source package from the link provided in Table 1. You can also run the following commands to download the package, or download the package to your local PC and then upload it to the /usr/src/kernels directory on the server.
    # cd /usr/src/kernels
    # git clone https://gitee.com/openeuler/kernel.git -b 5.10.0-60.18.0
  2. Rename the directory storing the kernel source code.
    # cd /usr/src/kernels
    # mv kernel kernel-5.10.0-60.18.0

    If you download the kernel source package kernel-5.10.0-60.18.0.zip from the official website, decompress the package without renaming it.

  3. Suppress the local version number.
    # cd /usr/src/kernels/kernel-5.10.0-60.18.0
    # touch .scmversion