File klp-build.changes of Package klp-build
-------------------------------------------------------------------
Tue Mar 11 05:33:30 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Do not hardcode the Python version for the egg-info directory.
-------------------------------------------------------------------
Wed Jan 15 14:19:42 UTC 2025 - mvetter@suse.com
- Update to version 0~20250108.8e6c7f6:
* ksrc: drop support for SLE15-SP5-RT
* ksrc: rename SLE15-SP5 branch to LTSS
* setup: Always set archs and cve to cs_data
* extractor: Replace '-' for "-" on module name of externalized syms
* ksrc: Skip SLE Micro for now
* Pylint: Solve reports on Setup class and on test files
* setup: Do not reassign archs with archs.sort()
* cmd: use correct archs field
* setup: Move ctor args into a functions
* klpbuild: Fix more pylint warnings
* Fix pylint warnings on extract and templ modules
* templ: Remove the CreateMakefile function
* ksrc: Fix some pylint warnings
* Fix pylint issues on Config class
* codestream: Do not use empty list and dict as default value
* ksrc: Honor --no-check on scan
* extractor: Dump the env vars used by ccp
* config: natsort the codestreams of codestreams.json
* extractor: Check if make invocation fails
* man: Add definiton of the `scan` subcommand
* ksrc: Use atomic transactions with git-fetch
* setup: Always pass conf to scan
* ksrc: Fix IBS constructor
* utils: Remove unneeded variable
* ibs.py: Automatically drop stale codestreams
* config: Fix flush_cs_file regarding list vs dict
* Config: Move check_symbol_archs to Codestream class
* util: Use natsorted on classify_codestreams
* Move filter_cs to utils
* Cleanups
* ksrc: Add --force to git fetch
* config: Remove codestreams_list and use a dict everywhere
* ksrc: Don't download codestreams data with "scan"
* config: Move self.lp_name to the classes that inherit COnfig
* Move lp_out_file and lp_name to Codestream class
* config: Simplify get_tests_path
* Drop conf.json
* Move found commits from conf.json to codestreams.json file
* Move cve data to codestreams.json
* config: Move archs from conf.json to codestreams.json
* config: Move the codestreams into it's own key inside codestreams.json
* klp-build: Remove --data-dir
* config: Remove unused conf.json fields
* Move find_obj_path to Codestream class
* Codestreams: Add get_mod
* Move validate_config to Codestream class
* ksrc: Move get_cs_branch to utils
* ksrc: Clean get_cs_branch function
* Revert "templ.py: Include linux/livepatch.h header for IBT enabled kernels"
* Codestreams: Add lpdir to Codestreams class
* templ: Use SUSE_HEADER only once
* templ: Drop unused methods
* Extractor: Merge CCP class into Extractor
* Codestream.py: Add needs_ibt attribute
* ibs: Use more cs.dir()
* Move lp_path to the Codestream class
* Remove clang-extract usage
* extractor: cs-diff: Assert the correct variable
* ksrc: Add --quiet to git fetch
* pylint: First batch of changes, mostly imports and unused vars
* setup: Remove --codestreams in favor of --filter
* ibs: Speed-up the bulk download of codestreams
* Enable scan --conf to check if we support a livepatch for the CVE
* klp-build: Download missing codestreams on scan
* klpbuild: Remove self.working_cs
* tests: Remove the workers argument from Extractor class
* ccp: Adapt to the new ccp policy scripts
* ibs: Fix typo in log
* templ.py: Include linux/livepatch.h header for IBT enabled kernels
* Fix remaining issues regarding the Codestream class introduction
* config: Add 'workers' setting to config file
* Add 'Settings' section to config file
* doc: Remove support for upstream kernel
* cmd: log: Create Codestream object before calling log
* Move ELF handling to utils
* Move more code out of Config class
* Move more code out of Config class
* Add more code to Codestream class
* Simplify get_boot_file to always use files from /boot/*
* codestream: Add ktype and kname on Codestream class
* Remove support for host and kdir types of LP creation
* cmd: Add scan subcommand
* cmd.py: Remove the --experimental optinal\
* config: rename new_codestreams to codestreams_list
* config: Make verbose=False the default for filter_cs
* Second batch of Codestream class support
* Huge transformation: use Codestream class everywhere
* Use Codestream on IBS class
* Let GitHelper to download and filter the codestreams
* setup: Split the _scan_ part from setup_codestreams
* test: utils: Add check for the new Codestream classify
* Start moving setup phase to use Codestream class
* utils: Change classify to also recognize Codestreams class
* Introduce Codestreams class
* tests: Convert setup tests to use pytest
* tests: Convert templ to use pytest
-------------------------------------------------------------------
Mon Oct 07 12:58:01 UTC 2024 - mvetter@suse.com
- Update to version 0~20241007.06dcc8f:
* README: Fix typos about the configuration
* man: Add "--ignore-errors" definition
* extractor: Do not use compile_commands.json for SLE kernels
* extract: Add --ignore-errors argument
* tests: Fix remove/apply patches log writer handle
* setup: Call validate_config before checking for files
* setup: Check the number of affected codestreams only after filter_cs
* tests: Convert ccp to pytest, and rename the files
* tests: Check classify_codestreams
* test_ksrc: Start using pytest instead of unittest
* setup: Download the missing codestreams before checking for files/mods
* setup: Move file-funcs, repo and info to the check phase
* setup: Mark some functions as static
* ibs: Create a symlink from data/ARCH/lib to data/ARCH/usr/lib
* setup: Show info about the affected architectures
* ksrc: Improve method of detecting patched kernels
* README: Add information about configuration file
* man: Add information about the default files/dirs
* ibs.py: Show information when prepare-tests is called
* ccp: Add one more symbol to the blacklist
* config: Fix missing_codestream check
* Add support to extract code from current running kernel
* config: Introduce self.host to in order to create lp on the running system
* klp-build: Remove the kdir argument
* templ: Fix {mod}_funcs struct nameing for modules that start with numbers
* setup: 15.6-RT uses the SLERT repo
-------------------------------------------------------------------
Wed Sep 04 14:30:27 UTC 2024 - mvetter@suse.com
- Update to version 0~20240902.c95cc9e:
* patches: Update klp-convert patches
* config: Decompress lzma (xz) files
* setup: Remove the -default from uname
* Remove test.sh: clearly tracking it here was a mistake...
* test.sh: Add test for CVE-2024-35817
* Add test for CVE-2024-36921
* ibs: Use osc-tiny API to push files to IBS
* test.sh: Update expected output LoC
* templ: Fix problem with ## macro concatenation macro in C
* Revert "templ: Skip Mako usage for C files"
* patches: Remove compiletime_error kernel patch
* templ: Skip Mako usage for C files
* test.sh: Add CVE-2024-0775
* ksrc: Don't ignore patches without ".patch" suffix
* test.sh: Adjust LoC of bpf_link_free
-------------------------------------------------------------------
Thu Aug 15 04:24:32 UTC 2024 - mvetter@suse.com
- Update to version 0~20240814.5dae2ec:
* setup: More information being logged
* ibs: Optimize extraction of vmlinux and modules
* config.py: Show error code when quilt fails
-------------------------------------------------------------------
Wed Aug 14 06:12:41 UTC 2024 - mvetter@suse.com
- Update to version 0~20240812.ad9f0e0:
* setup: Ignore cs_is_affected if CVE is empty
* Rename and fix user_path config names for kgraft-patches
* ibs: Move kgraft_path to where it's being used
* ibs: Do not remove extracted vmlinux and modules
* config: Support 'kgraft-patches' in config file
* config: Support 'patches-tests' in config file
* klp-ccp: Remove KLP_CCP_PATH env variable
* config: Support 'ccp-pol-scripts' in config file
* config: Support 'kernel-source' in config file
* config: Support per-user configuration file
* config.py: Check for supported attribute on modinfo by using startswith
* setup: Skip codestreams missing backports (not affected)
* ksrc: Add 15.6 RT to get the backports
* config: Skip symbols with empty names
* ibs: Fix typo when validating the livepatch
* ksrc: Check if all branch patches are present to mark as not affected
* ksrc: Simplify getting patched codestreams
* test.sh: Add new test for CVE-2024-40909
* Add zstd support
* Use pyelftools to parse .modinfo
* config: Add support to read gzipped files, like vmlinux
* Replace all invocations of nm binary with pyelftools
* Use PyElfTools in order to read object symbols
* test.sh: Adjust LoC count with recent clang-extract changes
-------------------------------------------------------------------
Thu Aug 01 05:39:12 UTC 2024 - mvetter@suse.com
- Update to version 0~20240731.edfe0bf:
* Add new test for CVE-2021-47402
* test.sh: Simplify call to setup_extract_count
* klpbuild: Copy the .config from the right place
* templ: Add spaces between KLP_RELOC_SYMBOL macro arguments
-------------------------------------------------------------------
Mon Jul 29 07:09:22 UTC 2024 - mvetter@suse.com
- Update to version 0~20240725.cc0513f:
* ksrc.py: Check CVE passed in get-patches
* extractor: lock the same src directory on which architecture the script is running on
* Add support for tests files in directories
* extractor: Add filelocking support for srcdir
-------------------------------------------------------------------
Wed Jul 24 13:13:20 UTC 2024 - mvetter@suse.com
- Update to version 0~20240722.3c379d8:
* tests: Fixed one issue on clang-extract
* tests: Add test.sh to check for known working extraction for CE
* templ: Fix case of IBT + upstream kernel module with dashes on its name
* run-kgr-test.sh: Check in more directories for VMs
* templ.py: Return empty string when IBT and CE
* extractor: Enable upstream extraction to apply patches
* templ.py: Replace dash by underscore when using fname on functions
* ce: Use -DCE_LATE_EXTERNALIZE by default
* ibs.py: Stop downloading kernel-default-extra
* ccp: Drop workarounds for different codestreams
* config: Fix get_sdir to always point to x86_64
* templ: Add IBT support for ccp
* extractor: Propagate needs_ibt to extractor backends
* ccp: Check KLP_CONVERT on fun_exts
* Change get_cs_boot_file to target odir instead of arch/boot dir
* templ: Add 15.6 codestream to fixes header
* extractor: Use IBT for 15.6 onwards
* setup: Remove s390x check since all codestreams are now supported
* setup: Show kernel version when file is not found
* extractor: Do not catch a specific error when running ccp/ce
* ccp: Remove more options that ccp doesn't understand
* extractor: Adapt the regex for SLE 15-SP6 cases
* extractor: Show more info when we can't get the command line
-------------------------------------------------------------------
Tue Jul 02 07:46:00 UTC 2024 - mvetter@suse.com
- Update to version 0~20240701.f72b4a1:
* config: Show kernel version when configuration entries diverge
* Add man page for klp-build
* ksrc: Remove MIME-Version string from upstream commit subject
- Install man page
-------------------------------------------------------------------
Fri Jun 28 05:18:20 UTC 2024 - mvetter@suse.com
- Update to version 0~20240627.48ed241:
* ksrc.py: Add --tags to git fetch
* Adding support to SLE15-SP6
* config.py: Dump kernel version and arch when a module is not supported
* templ.py: Fix Kbuild file generation
-------------------------------------------------------------------
Mon Jun 24 10:13:45 UTC 2024 - mvetter@suse.com
- Update to version 0~20240622.445505a:
* config: Add architecture of the duplicated symbol warning
* config.py: Show kernle version when a duplicate symbol was found
-------------------------------------------------------------------
Mon Jun 24 10:07:21 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Install run-kgr-test.sh to bindir
- Run fdupes
-------------------------------------------------------------------
Thu Jun 20 20:40:30 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Initial package of klp-build git 9aa77a for openSUSE