Commit graph

18979 commits

Author SHA1 Message Date
Bastian Blank
7662d334bf Build modules udeb in main source package
We build modules and image packages separate.  So we can build the
modules in the main package and only the image remains in the signed
package.
2025-12-15 13:58:01 +01:00
Bastian Blank
9379249003 Build image udeb separate
We already use kernel-wedge only for the modules part.  As the image is
now separate, we can split it's build into it's own target.

Also make sure this package is built in the CI build.
2025-12-15 13:58:01 +01:00
Bastian Blank
98e97b0cfd Split modules out of kernel-image udeb
Prepare building the kernel-image udeb separate.  This is done by moving
the modules into a new udeb calles base-modules.  Only the image and the
module support files remain.
2025-12-14 16:35:10 +01:00
Salvatore Bonaccorso
1023df5195 Merge branch 'enable-spi-amd-as-module' into 'debian/latest'
[amd64] drivers/spi: Enable SPI_AMD as module

See merge request kernel-team/linux!1748
2025-12-13 13:54:55 +01:00
Salvatore Bonaccorso
3aef9583aa [amd64] drivers/spi: Enable SPI_AMD as module
Closes: #1122853
2025-12-13 11:20:02 +01:00
Salvatore Bonaccorso
8823079aad Merge branch 'stable-update-leftover-linux_upstream_full' into 'debian/latest'
d/b/stable-update: Use linux_version_full to get current full version

See merge request kernel-team/linux!1745
2025-12-12 22:21:12 +01:00
Salvatore Bonaccorso
7ef5529c81 Merge branch '6.18-stable-updates' into 'debian/latest'
Update to 6.18.1

See merge request kernel-team/linux!1744
2025-12-12 21:03:15 +01:00
Salvatore Bonaccorso
2164dd0aa8 d/b/stable-update: Use linux_version_full to get current full version
Commit 628e147dc2 ("Cleanup remaining version settings") cleaned up
the remaining use of linux_upstream_full switching to linux_version_full
but ommited the debian/bin/stable-update script.

Importing a new stable upstream version raises now

    Traceback (most recent call last):
      File "/path/linux/./debian/bin/stable-update", line 135, in <module>
        main(*sys.argv[1:])
        ~~~~^^^^^^^^^^^^^^^
      File "/path/linux/./debian/bin/stable-update", line 58, in main
        cur_ver = cur_pkg_ver.linux_upstream_full
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'VersionLinux' object has no attribute 'linux_upstream_full'

Replace the last remaining use of linux_upstream_full with
linux_version_full.

Fixes: 628e147dc2 ("Cleanup remaining version settings")
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
2025-12-12 20:47:20 +01:00
Salvatore Bonaccorso
ff6e734f18 Update to 6.18.1 2025-12-12 19:20:40 +01:00
Uwe Kleine-König
eccee94348 Merge branch 'enable-yoga-battery' into 'debian/latest'
[arm64] Enable BATTERY_LENOVO_YOGA_C630 as module

See merge request kernel-team/linux!1638
2025-12-12 11:18:34 +01:00
Shawn Guo
4260f4e695 [arm64] Enable BATTERY_LENOVO_YOGA_C630 as module
Enable BATTERY_LENOVO_YOGA_C630 to get battery support on Lenovo Yoga
C630 laptop.  The Embedded Controller driver EC_LENOVO_YOGA_C630 is
enabled as the dependency of the battery driver.

Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-12-12 09:45:34 +08:00
Salvatore Bonaccorso
24a57a5818 d/config: Update with the help of kconfigeditor2
Place the CONFIG_HID_UNIVERSAL_PIDFF in right order.

Fixes: 12f43585d8 ("drivers/hid: Enable HID_UNIVERSAL_PIDFF as module")
Gbp-Dch: Ignore
2025-12-11 05:09:25 +01:00
Salvatore Bonaccorso
fe1ee6658c Merge branch 'bug1117959-ipv6-ra-flag-bugfix' into 'debian/latest'
ipv6: clear RA flags when adding a static route

See merge request kernel-team/linux!1743
2025-12-11 05:03:08 +01:00
Salvatore Bonaccorso
46b8a58083 Merge branch 'debian/latest' into 'debian/latest'
drivers/hid: Enable HID_UNIVERSAL_PIDFF as module

See merge request kernel-team/linux!1740
2025-12-11 04:54:32 +01:00
Maxwell Pevner
12f43585d8 drivers/hid: Enable HID_UNIVERSAL_PIDFF as module 2025-12-11 04:54:31 +01:00
Salvatore Bonaccorso
198a2297f7 ipv6: clear RA flags when adding a static route
Closes: #1117959
2025-12-10 22:07:53 +01:00
Salvatore Bonaccorso
f01c70dcdc Merge branch 'enable-amdxdna-as-module' into 'debian/latest'
[amd64] drivers/accel/amdxdna: Enable DRM_ACCEL_AMDXDNA as module

See merge request kernel-team/linux!1737
2025-12-10 22:03:55 +01:00
Salvatore Bonaccorso
43679d0e80 Add Debian bug closer for #1106411 2025-12-07 08:53:13 +01:00
Salvatore Bonaccorso
651f1127f3 Add Debian bug closer for #1118437 2025-12-07 08:36:21 +01:00
Bastian Blank
b1101d617c Merge branch 'cleanup-install-signed' into 'debian/latest'
Use dh_install for signed packages

See merge request kernel-team/linux!1731
2025-12-06 18:28:45 +00:00
Bastian Blank
a379695db5 Merge branch 'libc-dev-cross-symlink' into 'debian/latest'
Convert doc to symlink in linux-libc-dev-*-cross

See merge request kernel-team/linux!1735
2025-12-06 18:17:48 +00:00
Salvatore Bonaccorso
78b620a923 [amd64] drivers/accel/amdxdna: Enable DRM_ACCEL_AMDXDNA as module
While the userland software for the amdxdna driver is completely missing
at this point in Debian, the availability of this driver would lay the
foundation of forwarding the hardware device into podman containers that
would actually be able to make use o the functionality.

Link: https://wiki.debian.org/XDNA
Closes: #1114868
2025-12-06 13:26:00 +01:00
Bastian Blank
8c0100a074 Convert doc to symlink in linux-libc-dev-*-cross 2025-12-05 21:57:01 +01:00
Bastian Blank
6cdf596cf1 Use dh_install for signed packages 2025-12-05 20:58:05 +01:00
Bastian Blank
4b8bc238d4 Merge branch 'fix-dtb-signed' into 'debian/latest'
Fix dtb installation in signed packages

See merge request kernel-team/linux!1732
2025-12-05 19:57:42 +00:00
Bastian Blank
a7242ea0a8 Fix dtb installation in signed packages 2025-12-05 20:38:30 +01:00
Bastian Blank
9628acb1b8 Merge branch 'cleanup-dtb' into 'debian/latest'
Move dtb into modules directory

See merge request kernel-team/linux!1730
2025-12-05 18:36:41 +00:00
Bastian Blank
85b86360b6 Move dtb into modules directory
The modules directory is now used for all files related to one kernel.
Move dtb files into this directory, like Fedora already does.  The old
location is replaced with a compatibility symlink.
2025-12-05 15:45:38 +01:00
Bastian Blank
edf17157af Provide config in templates 2025-12-05 15:45:07 +01:00
Bastian Blank
7aa0b25e85 Make dtb installation configurable 2025-12-05 14:59:27 +01:00
Salvatore Bonaccorso
84e3490125 Add Debian bug closer for #1121937
Gbp-Dch: Ignore
2025-12-05 06:26:49 +01:00
Salvatore Bonaccorso
8ef850794a d/config: Update with the help of kconfigeditor2
Gbp-Dch: Ignore
2025-12-02 17:51:42 +01:00
Bastian Blank
73eb5edfa3 Merge branch 'drop-vdso-config' into 'debian/latest'
Install vdso files if available

See merge request kernel-team/linux!1728
2025-12-01 21:08:11 +00:00
Bastian Blank
19d773eb1f Install vdso files if available
We don't need to know from the config if vdso files might be available.
We can just call the make target and let the build figure out if
something should exist.  This removes one full config entry that needs
to be maintained.
2025-12-01 20:42:20 +01:00
Bastian Blank
4ab29f73b2 Merge branch 'drop-no-depmod' into 'debian/latest'
Don't run depmod at all

See merge request kernel-team/linux!1727
2025-12-01 17:06:08 +00:00
Bastian Blank
1d45bebca7 Don't run depmod at all
We override depmod with a script that mostly does nothing for a long
time.  The kernel build does not longer do any of those special cased
calls.  So remove the script and never run depmod at all.
2025-12-01 18:04:47 +01:00
Salvatore Bonaccorso
d0f79b412b Merge branch '6.18-stable-updates' into 'debian/latest'
Update to 6.18

See merge request kernel-team/linux!1724
2025-12-01 12:23:13 +01:00
Salvatore Bonaccorso
1986bd82da Update to 6.18 2025-12-01 07:17:32 +01:00
Bastian Blank
8c3f3a1311 Fix changelog, again 2025-11-27 13:46:08 +01:00
Bastian Blank
8822dc182c Merge branch 'rust' into 'debian/latest'
Support for drivers in Rust

See merge request kernel-team/linux!1615
2025-11-27 12:27:54 +00:00
Ben Hutchings
4c0e981c85 drm: Enable panic QR codes
- Enable DRM_PANIC and DRM_PANIC_SCREEN_QR_CODE
- Set DRM_PANIC_SCREEN="qr_code"
- Point DRM_PANIC_SCREEN_QR_CODE_URL at a Debian-hosted decoder
2025-11-27 11:59:14 +01:00
Ben Hutchings
ec826adca1 net/phy: Enable drivers written in Rust
- Change PHYLIB from module to built-in
- Enable RUST_PHYLIB_ABSTRACTIONS
- Eable AMCC_QT2025_PHY as module, and AX88796B_RUST_PHY
2025-11-27 11:59:14 +01:00
Ben Hutchings
e9b592e67e firmware: Enable RUST_FW_LOADER_ABSTRACTIONS
This will be needed by various drivers.
2025-11-27 11:59:13 +01:00
Ben Hutchings
1f1fb8a738 [amd64,arm64,armhf,loong64,riscv64] Enable building Rust drivers and features
- Enable RUST, RUST_OVERFLOW_CHECKS
- Build-Depend on bindgen, rustc, and rust-src (with the minimum
  versions as specified upstream)
2025-11-27 11:59:13 +01:00
Ben Hutchings
8b3c370a09 d/rules.real: Set KRUSTFLAGS and HOSTRUSTFLAGS to make filenames relative
To avoid a regression of build reproducibility, add
--remap-path-prefix to the Rust compiler flags.
2025-11-27 11:59:13 +01:00
Ben Hutchings
58b7300f9f Implement configuration for Rust compiler and other build-dependencies
- Add build.rust_build_depends, and build.enable_rust configuration
  fields.  The enable_rust field is expected to be set
  per-architecture while rust_build_depends can be global.

- Define a pkg.linux.norust build profile which disables use of Rust.

- For architectures where build.enable_rust is set, Build-Depend on
  everything in build.rust_build_depends, with a restriction to
  <!pkg.linux.nokernel !pkg.linux.norust>.

This doesn't support compiling OOT modules written in Rust, which is a
rather harder problem.
2025-11-27 11:59:13 +01:00
Ben Hutchings
531df6658d d/l/p/debian_linux/debian.py: Allow adding restrictions to PackageRelationGroup
PackageRelationGroup already supports adding architecture
qualification to all its entries.  Add support for adding restrictions
(i.e. build profiles) in a similar way.
2025-11-27 11:59:13 +01:00
Ben Hutchings
7bd1d0e7ad module: Disable MODVERSIONS and MODULE_ALLOW_BTF_MISMATCH
MODVERSIONS was useful when we used to build multiple versions with
the same release string and mostly compatible ABI.  Now that we change
the release string with every upload, MODVERSIONS doesn't buy us
anything.

Similarly, MODULE_ALLOW_BTF_MISMATCH was useful then but not when we
change the release string with every upload.

Further, supporting MODVERSIONS together with Rust requires enabling
DEBUG_INFO and GENKDWARFSYMS.  Currently we don't build debug info in
the pkg.linux.quick build profile used for CI, and changing that would
likely slow it down significantly.

So disable both of these.
2025-11-27 11:59:13 +01:00
Ben Hutchings
a1e4fd68cc Add 'c_' prefix to compiler configuration field and variables
In preparation for adding a Rust compiler, qualify the existing
settings for the C compiler.
2025-11-27 11:59:10 +01:00
Salvatore Bonaccorso
57e49bf9a1 Prepare to release linux (6.18~rc7-1~exp1) 2025-11-24 17:51:01 +01:00