Skip to content
Snippets Groups Projects

Update from debian/sid for apertis/v2025dev2

Merged Apertis CI robot requested to merge proposed-updates/debian/sid/cd48b1b7 into apertis/v2025dev2
All threads resolved!
836 files
+ 143527
10795
Compare changes
  • Side-by-side
  • Inline
Files
836
+ 87
0
Updating Debian Kernel Metadata
===============================
The Debian metadata used for the Linux kernel is a little more complex than
that provided for most other packages, due to the large number of packages that
are built from the source. As a result of this complexity, updating the
metadata can be more challenging than with other components, whether after
merging upstream changes into our tree or needing to bump the version due to
additional local changes.
Updating the kernel version
---------------------------
When updating the changelog with a new version, there are a host of other
places where the version number also needs to be updated, which again is far
more efficiently achieved by using the tooling provided.
- After updating the changelog as normal, run the following script to
regenerate all the autogenerated files:
debian/apertis/update-metadata
This will automatically regenerate:
- debian/config.defines.dump
- debian/control
- debian/control.md5sum
- debian/rules.gen
- debian/*.bug-presubj
- debian/*.postinst
- debian/*.postrm
- debian/*.preinst
- debian/*.prerm
- debian/*.maintscript
- debian/*.lintian-overrides
- debian/build/version-info
- debian/tests/control
- Commit these changes along with the change to the changelog.
Merging Changes
---------------
When merging changes, the process for the most part follows the guide for
manually updating components from Debian
(https://www.apertis.org/guides/component_guide/), however merging the metadata
is far more efficiently achieved by using the tooling provided by the Debian
kernel team than attempting to do this manually.
- Perform the manual merge steps as normal until `apertis-pkg-merge-updates`,
at which time it is highly likely that you will need to fix some conflicts.
- Before resolving any of the conflicts, run the following steps.
- Run the `dch` command as suggested in the main guide, this will create an
entry with the required version:
DEBEMAIL="User Name <user@example.com>" dch -D apertis --local +apertis --no-auto-nmu ""
*** Do not add the change log to the git index yet. ***
- Run the following script to regenerate all the autogenerated files:
debian/apertis/update-metadata
This will automatically regenerate:
- debian/config.defines.dump
- debian/control
- debian/control.md5sum
- debian/rules.gen
- debian/*.bug-presubj
- debian/*.postinst
- debian/*.postrm
- debian/*.preinst
- debian/*.prerm
- debian/*.maintscript
- debian/*.lintian-overrides
- debian/build/version-info
- debian/tests/control
- Fix other changes and continue merge as normal (without adding the changelog update).
- Continue from committing the change log entry in the main guide.
Loading