Files
kernel/livepatch/kpatch-prebuilt/debian/deb_folder/copyright
Zhixiong Chi e0bb6f65d7 Debian: kpatch-prebuilt: support kpatch kernel module prebuilt
Now we provide kpatch-prebuilt to support pre-built livepatch kernel
modules, so that the kpatch kernel modules can be integrated into the
iso image.

TestCases:
After adding this package to the iso, we can boot the iso and execute
the following tests for both rt and std:
    ls -al /var/lib/kpatch/prebuilt-modules/prebuilt-test/*.ko
    kpatch install /var/lib/kpatch/prebuilt-modules/prebuilt-test/xxx.ko
    kpatch load xxx.ko
    'grep -i Chunk /proc/meminfo' to check
    kpatch unload xxx.ko
    'grep -i Chunk /proc/meminfo' to check again
    kpatch uninstall xxx.ko

Once the actual CVE source patch for livepatch(eg: kernel/livepatch/
kpatch-prebuilt/source/kpatch_patches/[std|rt]/CVE-xxxx-yyyy/zzz.patch)
is merged, the prebuilt kernel module will be generated at /var/lib/
kpatch/prebuilt-modules/[std|rt]/*.ko in the rootfs.

Story: 2009221
Task: 45911

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: Ia73901daa513f59861604797a5d4e233d59ef4ae
2022-07-29 11:45:07 -04:00

18 lines
732 B
Plaintext

Files: *
Copyright: (c) 2022 Wind River Systems, Inc.
License: Apache-2
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. The ASF licenses this
file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.