linux-hwe-6.17: add linux-hwe-6.17 to ecne
This commit is contained in:
parent
abda6d461c
commit
cd4156e593
338 changed files with 19427 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
Debian doesn't use zstd compression for kernel modules by default, and
|
||||
kernel-wedge does not currently support this compression. It is recommended
|
||||
to continue using XZ compression to maintain compatibility with udeb
|
||||
packages in Trisquel, at least while this changes.
|
||||
|
||||
diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk
|
||||
index d832106b..4afdd290 100644
|
||||
--- a/debian/rules.d/0-common-vars.mk
|
||||
+++ b/debian/rules.d/0-common-vars.mk
|
||||
@@ -154,6 +154,10 @@ do_zstd_ko=true
|
||||
ifeq ($(series),jammy)
|
||||
do_zstd_ko=
|
||||
endif
|
||||
+# Trisquel use udebs, so it disable zstd by default.
|
||||
+ifeq (yes,$(shell dpkg-vendor --is Trisquel && echo yes))
|
||||
+do_zstd_ko=
|
||||
+endif
|
||||
|
||||
# Support parallel=<n> in DEB_BUILD_OPTIONS (see #209008)
|
||||
#
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
diff --git a/debian/scripts/control-create b/debian/scripts/control-create
|
||||
index 887f2863..faacf67f 100644
|
||||
--- a/debian/scripts/control-create
|
||||
+++ b/debian/scripts/control-create
|
||||
@@ -70,23 +70,12 @@ gen_per_flavour () {
|
||||
-e "s/TARGET/${target}/g"
|
||||
)
|
||||
|
||||
- if [ "${#signed_arch[@]}" != 0 ]; then
|
||||
- sed "${sed_common_patterns[@]}" \
|
||||
- -e "s/ARCH/${signed_arch[*]}/g" \
|
||||
- -e "s/=SIGN-ME-PKG=/-unsigned/g" \
|
||||
- -e "s/=SIGN-ME-TXT=/ unsigned/g" \
|
||||
- -e "s/=SIGN-PEER-PKG=//g" \
|
||||
- "${DEBIAN}/control.d/flavour-signed-control.stub"
|
||||
- fi
|
||||
-
|
||||
- if [ "${#unsigned_arch[@]}" != 0 ]; then
|
||||
- sed "${sed_common_patterns[@]}" \
|
||||
- -e "s/ARCH/${unsigned_arch[*]}/g" \
|
||||
- -e "s/=SIGN-ME-PKG=//g" \
|
||||
- -e "s/=SIGN-ME-TXT=//g" \
|
||||
- -e "s/=SIGN-PEER-PKG=/-unsigned/g" \
|
||||
- "${DEBIAN}/control.d/flavour-signed-control.stub"
|
||||
- fi
|
||||
+ sed "${sed_common_patterns[@]}" \
|
||||
+ -e "s/ARCH/${arch}/g" \
|
||||
+ -e "s/=SIGN-ME-PKG=//g" \
|
||||
+ -e "s/=SIGN-ME-TXT=//g" \
|
||||
+ -e "s/=SIGN-PEER-PKG=//g" \
|
||||
+ "${DEBIAN}/control.d/flavour-signed-control.stub"
|
||||
|
||||
sed "${sed_common_patterns[@]}" \
|
||||
-e "s/ARCH/${arch}/g" \
|
||||
120
helpers/DATA/linux-hwe-6.17/udeb/5-udebs.mk
Normal file
120
helpers/DATA/linux-hwe-6.17/udeb/5-udebs.mk
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
# Do udebs if not disabled in the arch-specific makefile
|
||||
binary-udebs: binary-debs
|
||||
@echo Debug: $@
|
||||
ifeq ($(disable_d_i),)
|
||||
@$(MAKE) --no-print-directory -f debian/rules DEBIAN=$(DEBIAN) \
|
||||
do-binary-udebs
|
||||
endif
|
||||
|
||||
# Hook into Ubuntu's architecture build process without modifying their files
|
||||
binary-arch: binary-udebs
|
||||
|
||||
# Prefer DEB_SOURCE when available; fallback to src_pkg_name; otherwise "linux"
|
||||
do-binary-udebs: linux_udeb_name=$(if $(DEB_SOURCE),$(DEB_SOURCE),$(if $(src_pkg_name),$(src_pkg_name),linux))
|
||||
do-binary-udebs: debian/control
|
||||
@echo Debug: $@
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
# unpack the kernels into a temporary directory
|
||||
mkdir -p debian/d-i-${arch}
|
||||
|
||||
outdir="$${DPKG_BUILDPACKAGE_OUTPUT_DIR:-..}" && \
|
||||
imagelist=$$(cat $(CURDIR)/$(DEBIAN)/d-i/kernel-versions | grep ^${arch} | gawk '{print $$3}') && \
|
||||
for flavour in $$imagelist; do \
|
||||
i=$(DEB_VERSION_UPSTREAM)-$(abinum)-$$flavour; \
|
||||
found=0; \
|
||||
for deb in \
|
||||
"$$outdir"/linux-image-$$i\_*_${arch}.deb \
|
||||
"$$outdir"/linux-image-unsigned-$$i\_*_${arch}.deb \
|
||||
"$$outdir"/linux-modules-$$i\_*_${arch}.deb \
|
||||
"$$outdir"/linux-modules-extra-$$i\_*_${arch}.deb; \
|
||||
do \
|
||||
if [ -f "$$deb" ]; then \
|
||||
found=1; \
|
||||
dpkg -x "$$deb" debian/d-i-${arch}; \
|
||||
fi; \
|
||||
done; \
|
||||
if [ "$$found" = 0 ]; then \
|
||||
echo "E: missing .deb for $$i in $$outdir (DPKG_BUILDPACKAGE_OUTPUT_DIR)." >&2; \
|
||||
ls -1 "$$outdir"/linux-image-$$i\_*_${arch}.deb \
|
||||
"$$outdir"/linux-image-unsigned-$$i\_*_${arch}.deb \
|
||||
"$$outdir"/linux-modules-$$i\_*_${arch}.deb \
|
||||
"$$outdir"/linux-modules-extra-$$i\_*_${arch}.deb 2>/dev/null >&2 || true; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
rm -rf debian/d-i-${arch}/DEBIAN; \
|
||||
if [ ! -e debian/d-i-${arch}/lib/modules ] && [ -d debian/d-i-${arch}/usr/lib/modules ]; then \
|
||||
mkdir -p debian/d-i-${arch}/lib; \
|
||||
ln -s ../usr/lib/modules debian/d-i-${arch}/lib/modules; \
|
||||
fi; \
|
||||
if [ ! -d debian/d-i-${arch}/lib/modules/$$i ]; then \
|
||||
echo "E: missing debian/d-i-${arch}/lib/modules/$$i" >&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
/sbin/depmod -b debian/d-i-${arch} -- $$i; \
|
||||
if [ "$(filter true,$(do_dtbs))" ]; then \
|
||||
if [ -d debian/d-i-${arch}/lib/firmware/$$i/device-tree ]; then \
|
||||
echo ">> Trisquel: Extracting dtbs for $$i..."; \
|
||||
mkdir -p $(CURDIR)/$(DEBIAN)/d-i/firmware/${arch}; \
|
||||
( cd debian/d-i-${arch}/lib/firmware/$$i/ && find device-tree -print 2>/dev/null || true ) | \
|
||||
while read dtb_file; do \
|
||||
echo "$$dtb_file ?" >> $(CURDIR)/$(DEBIAN)/d-i/firmware/${arch}/kernel-image; \
|
||||
done; \
|
||||
fi; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
# kernel-wedge will error if no modules unless this is touched
|
||||
touch $(DEBIAN)/d-i/no-modules
|
||||
|
||||
touch $(CURDIR)/$(DEBIAN)/d-i/ignore-dups
|
||||
export KW_DEFCONFIG_DIR=$(CURDIR)/$(DEBIAN)/d-i && \
|
||||
export KW_CONFIG_DIR=$(CURDIR)/$(DEBIAN)/d-i && \
|
||||
export SOURCEDIR=$(CURDIR)/debian/d-i-${arch} && \
|
||||
kernel-wedge install-files $(DEB_VERSION_UPSTREAM)-$(abinum) && \
|
||||
kernel-wedge check
|
||||
|
||||
# Build just the udebs
|
||||
dilist=$$(dh_listpackages -a | grep "\-di$$") && \
|
||||
[ -z "$$dilist" ] || \
|
||||
for i in $$dilist; do \
|
||||
dh_fixperms -p$$i; \
|
||||
$(lockme) dh_gencontrol -p$$i; \
|
||||
dh_builddeb -p$$i; \
|
||||
done
|
||||
|
||||
# Generate the meta-udeb dependancy lists.
|
||||
mkdir -p $(builddir)
|
||||
touch $(builddir)/udeb-meta-packages.list
|
||||
@gawk ' \
|
||||
/^Package:/ { \
|
||||
package=$$2; flavour=""; match_arch=0 } \
|
||||
(/Package-Type: udeb/ && package !~ /^$(linux_udeb_name)-udebs-/) { \
|
||||
match(package, "$(DEB_VERSION_UPSTREAM)-$(abinum)-(.*)-di", bits); \
|
||||
flavour = bits[1]; \
|
||||
} \
|
||||
/^Architecture:/ { \
|
||||
match_arch=0; \
|
||||
for (i=2; i<=NF; i++) if ($$i=="$(arch)") match_arch=1; \
|
||||
} \
|
||||
(flavour != "" && match_arch) { \
|
||||
udebs[flavour] = udebs[flavour] package ", "; \
|
||||
flavour=""; match_arch=0; \
|
||||
} \
|
||||
END { \
|
||||
for (flavour in udebs) { \
|
||||
package="$(linux_udeb_name)-udebs-" flavour; \
|
||||
file="debian/" package ".substvars"; \
|
||||
print("udeb:Depends=" udebs[flavour]) > file; \
|
||||
metas="$(builddir)/udeb-meta-packages.list"; \
|
||||
print(package) >>metas \
|
||||
} \
|
||||
} \
|
||||
' <$(CURDIR)/debian/control
|
||||
@while read i; do \
|
||||
if [ -n "$$i" ]; then \
|
||||
$(lockme) dh_gencontrol -p$$i; \
|
||||
dh_builddeb -p$$i; \
|
||||
fi; \
|
||||
done <$(builddir)/udeb-meta-packages.list
|
||||
4
helpers/DATA/linux-hwe-6.17/udeb/d-i/firmware/README.txt
Normal file
4
helpers/DATA/linux-hwe-6.17/udeb/d-i/firmware/README.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <scsi-modules>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <scsi-modules>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <scsi-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <scsi-modules>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <scsi-modules>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#
|
||||
# Place the names of udeb modules into this directory that require
|
||||
# runtime firmware.
|
||||
#
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <scsi-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
16
helpers/DATA/linux-hwe-6.17/udeb/d-i/kernel-versions
Normal file
16
helpers/DATA/linux-hwe-6.17/udeb/d-i/kernel-versions
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# arch version flavour installedname suffix bdep
|
||||
amd64 - generic - - -
|
||||
|
||||
i386 - generic - - -
|
||||
|
||||
armhf - generic - - -
|
||||
#armhf - generic-lpae - - -
|
||||
|
||||
arm64 - generic - - -
|
||||
|
||||
ppc64el - generic - - -
|
||||
|
||||
s390x - generic - - -
|
||||
|
||||
# Ports
|
||||
# arch version flavour installedname suffix bdep
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <block-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <crc-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <crypto-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fat-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fb-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <floppy-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fs-core-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fs-secondary-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <isofs-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <kernel-image>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <md-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <message-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <mouse-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <multipath-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-shared-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-wireless-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <parport-modules>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#include <scsi-core-modules>
|
||||
|
||||
# Needed by hv_storvsc in hyperv-modules as well as scsi-modules
|
||||
scsi_transport_fc
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
#include <scsi-modules>
|
||||
ipr ?
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <serial-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <storage-core-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <usb-storage-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <virtio-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <vlan-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <block-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <crc-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <crypto-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fat-modules>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#include <fb-modules>
|
||||
|
||||
vesafb ?
|
||||
vga16fb
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <firewire-core-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <floppy-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fs-core-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fs-secondary-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <i2c-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <input-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <ipmi-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <isofs-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <kernel-image>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <md-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <message-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <mouse-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <mtd-core-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <multipath-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nfs-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-pcmcia-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-shared-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-usb-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <nic-wireless-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <parport-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <pata-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <pcmcia-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <pcmcia-storage-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <plip-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <ppp-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <sata-modules>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#include <scsi-core-modules>
|
||||
|
||||
# Needed by hv_storvsc in hyperv-modules as well as scsi-modules
|
||||
scsi_transport_fc
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
#include <scsi-modules>
|
||||
ipr ?
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <serial-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <speakup-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <storage-core-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <usb-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <usb-storage-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <virtio-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <vlan-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <block-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <crc-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <crypto-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fat-modules>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
#include <fb-modules>
|
||||
|
||||
ast
|
||||
tegra-drm
|
||||
rockchipdrm
|
||||
# Temporarily disabled DRM_HISI_HIBMC, FTBFS on 6.14
|
||||
hibmc-drm ?
|
||||
|
||||
# For panel/backlight on some chromeos devices
|
||||
panel-simple
|
||||
pwm_bl
|
||||
pwm-cros-ec
|
||||
|
||||
# For panel/backlight on Pinebook
|
||||
analogix-anx6345
|
||||
pwm-sun4i
|
||||
sun4i-drm
|
||||
sun8i-mixer
|
||||
|
||||
# For panel/backlight on Pinebook Pro
|
||||
pwm-rockchip
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fs-core-modules>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#include <fs-secondary-modules>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#include <i2c-modules>
|
||||
i2c-tegra
|
||||
i2c-rk3x
|
||||
i2c-mv64xxx
|
||||
i2c-imx
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue