Commit graph

46 commits

Author SHA1 Message Date
Maximilian Luz 6e3ac8ba31
pkg/debian: Disable options that prevent building kernel modules with older GCCs
Disable some options that prevent building external kernel modules with
older GCC versions.
2023-01-16 22:55:57 +01:00
Maximilian Luz 94ae305270
pkg/debian: Enforce XZ compression for meta packages by overriding debian/rules 2022-12-11 15:14:20 +01:00
Maximilian Luz 42d5c4c8d8
Update Debian kernel to v6.0.1 2022-10-14 17:36:01 +02:00
Maximilian Luz c215d7036d
pkg/debian: Update Debian specific patches 2022-09-22 04:13:36 +02:00
Maximilian Luz d2b7164629
pkg/debian: Add patch to fix signature verification check for module loading 2022-08-26 21:45:21 +02:00
Maximilian Luz cc39db5762
Update Debian kernel to v5.19.2 2022-08-19 23:25:41 +02:00
Dorian Stoll ad1c951db9
pkg: Sync debuginfo disabling across all configs 2022-06-20 09:33:44 +02:00
Maximilian Luz 0353ae0d8e
Update Debian kernel to v5.18.1 2022-06-04 18:50:19 +02:00
Maximilian Luz 91ada73c44
pkg/debian: Add required config options for Surface 3 backlight
Debians default config sets CONFIG_I2C_DESIGNWARE_PCI=m, however,
according to Hans de Goede in #336, we need CONFIG_I2C_DESIGNWARE_PCI=y.
Set all required options appropriately.

This should fix #336.
2022-02-24 14:37:44 +01:00
Maximilian Luz c3d8d19999
pkg/debian: Update binder/ashmem patches 2021-12-31 00:32:37 +01:00
Maximilian Luz 2f76018b56
pkg/debian: Disable Intel IOMMU by default
IOMMU breaks ME and thus IPTS on gen5/6 devices. So disable it by
default.
2021-12-08 17:09:09 +01:00
Maximilian Luz d6a55947a7
pkg/debian: Update Debian specific patches 2021-11-20 04:36:23 +01:00
Maximilian Luz 1f9fdf4427
pkg/debian: Disable CONFIG_UBSAN in kernel config
Recent Ubuntu mainline versions have enabled UBSAN. UBSAN has a runtime
cost and should only be enabled for debugging and testing.

Furthermore, UBSAN actively causes problems on the Surface Pro 4 and
Surface Book 1, preventing them from waking from suspend in some
instances. Disabling UBSAN should work around issue #585.
2021-10-09 13:16:28 +02:00
Maximilian Luz 0d1b0e0057
pkg/debian: Disable CONFIG_DEBUG_MISC in kernel config
This should only be used for debugging.
2021-10-09 13:15:36 +02:00
Maximilian Luz 4130746c31
pkd/debian: Update extra patches for LTS kernel 2021-08-01 16:59:58 +02:00
Maximilian Luz 5a1fa49465
pkd/debian: Update binder patches 2021-07-21 04:09:14 +02:00
Maximilian Luz 18a7379aa4
pkg/debian: Drop decompress_unlz4 patch
This patch is now upstream.
2021-07-21 03:07:53 +02:00
Maximilian Luz ecb8fa798c
pkg: ubuntu: Clear system revocation list 2021-07-02 16:48:53 +02:00
Maximilian Luz 5a23881656
pkg/ubuntu: Disable atomisp
While the atomisp driver might be used for Surface 3 and Surface Pro 3
cameras in the future, it currently resides in staging and doesn't seem
to work (at least according to its TODO file). It furthermore causes
a notice to be printed, warning about the use of trace_printk(). So
disable it for now to shut up that warning.
2021-06-13 21:28:53 +02:00
Maximilian Luz 63dc33713f
pkg/ubuntu: Fix formatting in distro-config file 2021-06-13 21:28:26 +02:00
Maximilian Luz fe6a54695b
Disable more stuff for Ubuntu/Debian
Currently, the kernel emits a notice at boot, warning about the usage of
trace_printk(). Disabling samples in efaa3edaaa ("Do not build samples
for Debian/Ubuntu") apparently wasn't enough to get rid of that. So
disable more sample and testing stuff that might call this function.
2021-06-01 00:29:38 +02:00
Maximilian Luz efaa3edaaa
Do not build samples for Debian/Ubuntu 2021-05-27 16:53:59 +02:00
Maximilian Luz 0333a171a8
Add LZ4 initram fix for Debian kernel 2021-04-28 13:25:04 +02:00
Maximilian Luz 4d4125cbd2
Disable evbug for Debian/Ubuntu 2021-03-29 16:47:59 +02:00
Maximilian Luz 12594c5a1f
fixup! Update additional Debian patches for v5.11 2021-03-04 18:07:57 +01:00
Maximilian Luz b672e7faf2
Update additional Debian patches for v5.11 2021-03-04 16:12:32 +01:00
Maximilian Luz bdfcdaebd8
Fix Debian config for v5.11 builds
Clear out trusted key list as we don't have access to the ones expected
by the Ubuntu base config.
2021-03-03 22:20:33 +01:00
Maximilian Luz 629849060e
Disable atomisp ov5693 for Arch and Debian builds 2020-09-30 21:07:49 +02:00
Dorian Stoll 5e8e6cf726
Add weak dependency on iptsd
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-09-29 22:11:37 +02:00
Maximilian Luz c45e120249
Explicitly set ACPI_I2C_OPREGION=y for Debian
The Debian LTS kernel does not have CONFIG_ACPI_I2C_OPREGION set. This
is likely due to its dependency on CONFIG_I2C=y. Thus explicitly set
those two options.
2020-08-12 12:26:08 +02:00
Maximilian Luz 3458d3e1cb
Add Ubuntu/Debian patches required for ashmem 2020-07-22 22:41:07 +02:00
Maximilian Luz 1bea97789b
Fix debian meta package name 2020-07-05 13:22:16 +02:00
Maximilian Luz 81a9574e70
Use meta-packages for debian kernels 2020-07-04 19:38:44 +02:00
Maximilian Luz 393b6b129e
Include Kconfig files for Debian kernel package
This commit reverts upstream commit

  9945722afdc3443eab826b2da1122509a13a50a5 (builddeb: make headers package thinner)

which drops some files from the linux-headers package. These files seem
to be required by some out-of-tree modules (see #170).
2020-05-03 16:57:09 +02:00
Maximilian Luz 1d42263e98
Add extra Debian kernel options
These options are in upstream Debian and Ubuntu configs, but not in the
Ubuntu PPA. Add them.
2020-04-20 18:16:36 +02:00
Maximilian Luz 1bfc9e1a26
fixup! Update Debian kernel to 5.6 2020-04-03 01:26:53 +02:00
Maximilian Luz 64e19db665
Allow version specific config files 2020-02-24 00:50:13 +01:00
Maximilian Luz 4d9be41081
Add Provides, Conflicts, Replaces fields to debian metadata
Fixes #58.
2020-01-23 20:03:46 +01:00
Maximilian Luz eb7e66c10d
Automatically fetch original Ubuntu config 2020-01-21 14:09:15 +01:00
Maximilian Luz 864343392f
Remove duplicated files 2020-01-20 23:20:39 +01:00
Maximilian Luz 2e84160e65
Set-up secure-boot signing for Debian 2020-01-20 23:05:14 +01:00
Maximilian Luz 5b353b9a3e
Add commit message explaining debian version patch 2020-01-20 14:39:58 +01:00
Maximilian Luz 6dedd310b2
Disable debug info in config for debian 2020-01-20 00:21:21 +01:00
Maximilian Luz b6a8f377c4
Use in-kernel debian package target 2020-01-19 23:57:45 +01:00
Blaž Hrastnik 2214179709 pkg: move surface.config to toplevel. 2020-01-15 17:53:29 +09:00
Blaž Hrastnik 89fa1125a9 wip: Debian kernel build 2020-01-13 17:45:55 +09:00