Group :: Development/Kernel
RPM: kernel-build-tools
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
22 may 2023 Vitaly Chikunov <vt at altlinux.org> 0.119-alt1
- Fix fgrep warning.
- kernel.req: Detect unmets between kernel modules.
- Install safe-add-changelog (with safe-stamp-spec) tool(s) a safer version of
add_changelog (and stamp_spec) which works with kernel-image.spec.
- Do not install obsoleted scripts: buildkernel, buildmodules, updatemodules,
merge-all-branches. - Slightly improve packaging: add %check, unify install.
- Added -centos kernel to the list of fake providers.
- Updated the list of fake provides related to ovz kernel flavours.
- Dropped old outdated documentation files.
- km-create-tag: added armh to default karch value.
- added finding requires for kernel modules
- km-create-tag: changed km-karch config handling to fall back to default
@karch@ on unmatched flavours.
- rpm-build-kernel: removed P: kernel-headers-modules-std-def on aarch64.
- km-create-tag:
+ added aarch64 and ppc64le to default karch;
+ changed -a/--arches argument handling to accumulate parameters;
+ added support of .gear/km-karch config file to map kernel flavour to
module's @karch@ specsubst variable.
- rpm-build-kernel:
+ removed P: kernel-headers-modules-std-def on ppc64le;
+ added P: kernel-headers-modules-std-debug on excluded architectures.
- rpm-build-kernel: removed P: kernel-headers-modules-un-def on ppc64le.
- Made the test in the packages produced by %update_kernel_modules_checkinstall
not ignore the exit status of update-kernel.
- kernel-macros: added powerpc support to %base_arch macro.
- kernel-macros: made %setup_kernel_module automatically add
the usual {,Build}Requires for kernel-modules-*. - kernel-macros: added for possible use in modules:
+ %kimage & %requires_kimage;
+ %update_kernel_modules_checkinstall
(to produce a specific kind of checkinstall subpkg);
+ %setup_kernel_module_from_globals (split from %setup_kernel_module) for
those who want to set %kversion and %krelease manually, without rpmquery).
- added %e2k support
- km-create-tag: added --force and --arches options.
- kernel-macros:
+ added mips and riscv support to %base_arch macro;
+ dropped buggy karch macro. - rpm-build-kernel: added fake provides for existing kernel flavours.
- kernel-macros: added new arch translation aarch64 -> arm64.
- fix *_kernel_headers macros.
- kernel-macros:
+ deprecated %post_kernel_headers and %postun_kernel_headers.
- 4-component kernel versions in kcode calculation changed
- added support for 4-component kernel versions in kcode calculation
- Added km-create-tag script
- %base_arch macro extended to arm
- Fixed last change.
- Added workaround for std-pae.
- Added %setup_kernel_module.
- kernel-macros:
deprecated %post_kernel_modules and %postun_kernel_modules.
- Relocated kernel macros to /usr/lib/rpm/macros.d.
- kernel-macros:
+ removed %kgcc and %kgcc_package;
+ made %post_kernel_image and %preun_kernel_image obsolete.
- Add -d option (the same as in buildmodules)
- Fetching ftom /gears/k fixed.
- New option --pull for pull from gears/k/module_name
- Run hasher by default in buildmodules
- Add new script for updating modules: updatemodules
- Save tag names into $TOP/out/taglist when --tag option is used
- Use - instead of / when signing modules
- Try to get a value of def_repo from hasher config
- Try to set hsh_workdir from hasher config first
- Fix hasher option parsing
- integrate setarch
- Get right modules.build
- Fix buildmodules to work with new templates
- Add new scripts to the kernel-build-tools package:
+ buildkernel, buildmodules - scripts for build kernel and module packages
from git repositories;
+ merge-all-branches - script for easier merging of multiple fix and feature
branches into the release branch of a kernel package. - Add documentation for new scripts (README.ru.koi8, README.ru.html) and a
sample config file. - Remove obsolete update_module_specs script.
- kernel-macros:
+ %base_arch: Fix problem with athlon and athlon_xp architectures due to
broken regexp (#14300).
- kernel-macros:
%base_arch: Add pentium2, pentium3, athlon_xp architectures. - Split package into separate parts:
+ rpm-build-kernel - files actually required for building kernel-related
packages (this package should replace kernel-build-tools in BuildRequires);
+ kernel-build-tools - scripts and documentation used by kernel package
maintainers (should not be used in BuildRequires anymore). - Updated kernel-policy and spec example for new package split.
- Fixed summary and description (#2730).
- kernel-macros:
+ %get_patch_list: add package versions to the returned list (needed to get
correct BuildRequires for kernel packages);
+ %get_patch_list, %format_patch_list: pass current %_dbpath to rpmquery
to get correct results when using build scripts from kernel CVS.
- kernel-macros: fix by Dmitry V. Levin <ldv@altlinux>:
+ %_src_list: quote % to avoid unneeded macro expansion
- kernel-macros: added macros for per-arch configuration:
+ %set_kernel_arches
+ %get_kernel_config
- kernel-macros: fix %base_arch to support pentium4 and k6 targets (#7055).
- kernel-macros: added macros for installation scripts:
+ %post_kernel_image
+ %preun_kernel_image
+ %post_kernel_headers
+ %preun_kernel_headers
+ %post_kernel_modules
+ %postun_kernel_modules - updated kernel-policy:
+ added description for new macros - updated kernel spec example:
+ use new macros in scripts
- kernel-macros:
- added not_PATCHSET support
- updated kernel-policy
- updated kernel spec example and separated it from policy text
- kernel-macros:
- fixed apply_recursive fix
- allow URLs in %source
- updated kernel-policy
- apply_recursive fix: check for return code in recursive calls
- kernel-macros:
- enhanced %source to take an optional subdirectory for patch file
installation - dropped %source_kver (now this is handled by %source)
- kernel-macros:
- %apply_patches: cleanup; fixed bugs in recursive patch application; allow
00_ prefixes for all special directories - %install_patches, %source: reworked kernel version specific patch
installation
- kernel-policy: Sergey Vlasov added to the kernel committee
- kernel-macros: added ability to apply patches only to the specified kernel version
- fix: set right permissions to upgrade_module_specs
- Change packager to ed@altlinux.ru
- upgrade_module_spec: fixed bug with non-only-digit release increment
- upgrade_module_spec: save spec formatting during replace
- macro 'format_patch_list' corrected
- apply_patches macro: improve support of applying dependent patches
- upgrade_module_spec improved
- kgcc_package added to the kernel-macros
- added upgrade_module_specs script.
- spec typos fixed
- policy naming rules minor changes
- %source and %install_patches macroses added
- Sinchronized with Peter's work, added kernel-policy
- new version of kernel-macros from Ed.
- 1.0 version of kernel-policy.
- %copy_sources macro added
- stop applying patches when patch or apply script return error
- %kernel_src and %kernel_srcdir defines added
- %apply_patches: add ability to don't apply patch for specific kernel version
- %apply_patches: add ability to use 'NN_' prefix for directory patches
- Initial release