misc: update changes from aramo to ecne

This commit is contained in:
Luis Guzmán 2024-04-30 16:55:41 +00:00
parent 88b3f96c45
commit df6774d1fe
337 changed files with 341 additions and 125 deletions

View file

@ -1,8 +1,8 @@
diff --git a/debian/rules b/debian/rules
index fe52711..b2d1921 100755
index 661286bd..e828a0ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -134,12 +134,19 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
@@ -128,12 +128,19 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
dh_testroot
dh_clean
@ -12,7 +12,7 @@ index fe52711..b2d1921 100755
+ rm -f $(DEBIAN)/d-i/firmware/$(arch)/kernel-image
+
# normal build junk
rm -rf $(DEBIAN)/abi/$(release)-$(revision)
rm -rf $(DEBIAN)/abi
rm -rf $(builddir)
rm -f $(stampdir)/stamp-*
rm -rf debian/linux-*/
@ -22,14 +22,15 @@ index fe52711..b2d1921 100755
cp $(DEBIAN)/changelog debian/changelog
# Install the copyright information.
@@ -184,7 +191,6 @@ $(DEBIAN)/control.stub: \
$(DROOT)/scripts/control-create \
$(control_files) \
debian/canonical-revoked-certs.pem \
- $(DROOT)/control.d/flavour-module.stub \
$(DEBIAN)/changelog \
$(wildcard $(DEBIAN)/control.d/* $(DEBIAN)/sub-flavours/*.vars)
for i in $(control_files); do \
#removed at 6.5.0-27.28~22.04.1
#@@ -184,7 +191,6 @@ $(DEBIAN)/control.stub: \
# $(DROOT)/scripts/control-create \
# $(control_files) \
# debian/canonical-revoked-certs.pem \
#- $(DROOT)/control.d/flavour-module.stub \
# $(DEBIAN)/changelog \
# $(wildcard $(DEBIAN)/control.d/* $(DEBIAN)/sub-flavours/*.vars)
# for i in $(control_files); do \
@@ -211,7 +217,14 @@ $(DEBIAN)/control.stub: \
.PHONY: debian/control

View file

@ -1,26 +0,0 @@
#!/usr/bin/perl
#
# kernel-wedge-arch.pl -- select only specifiers for the supplied arch.
#
use strict;
require Dpkg::Control;
require Dpkg::Deps;
my $fh = \*STDIN;
my @entries;
my $wanted = $ARGV[0];
my $entry;
while (!eof($fh)) {
$entry = Dpkg::Control->new();
$entry->parse($fh, '???');
if ($entry->{'Architecture'} eq $wanted) {
print("\n" . $entry);
}
}
close($fh);

View file

@ -6,7 +6,7 @@ ifeq ($(disable_d_i),)
do-binary-udebs
endif
do-binary-udebs: linux_udeb_name=$(shell if echo $(src_pkg_name)|egrep -q '(linux-lts|linux-hwe)'; then echo $(src_pkg_name); else echo linux; fi)
do-binary-udebs: linux_udeb_name=$(shell if echo $(src_pkg_name)|egrep -q '(linux-lts|linux-hwe|linux-[0-9]+\.[0-9]+)'; then echo $(src_pkg_name); else echo linux; fi)
do-binary-udebs: debian/control
@echo Debug: $@
dh_testdir

View file

@ -1,6 +1,8 @@
--- a/debian/rules 2023-02-10 11:40:38.000000000 -0600
+++ b/debian/rules 2023-02-10 11:53:56.313708852 -0600
@@ -128,12 +128,19 @@
diff --git a/debian/rules b/debian/rules
index 0f238b32..d96c732e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -122,12 +122,19 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
dh_testroot
dh_clean
@ -10,7 +12,7 @@
+ rm -f $(DEBIAN)/d-i/firmware/$(arch)/kernel-image
+
# normal build junk
rm -rf $(DEBIAN)/abi/$(release)-$(revision)
rm -rf $(DEBIAN)/abi
rm -rf $(builddir)
rm -f $(stampdir)/stamp-*
rm -rf $(DEBIAN)/linux-*
@ -37,7 +39,7 @@
+ export KW_DEFCONFIG_DIR=$(DEBIAN)/d-i && \
+ export KW_CONFIG_DIR=$(DEBIAN)/d-i && \
+ LANG=C kernel-wedge gen-control $(release)-$(abinum) | \
+ perl -f $(DROOT)/scripts/misc/kernel-wedge-arch.pl $(arch) \
+ grep-dctrl -FArchitecture $(arch) \
+ >>$(CURDIR)/debian/control
debian/canonical-certs.pem: $(wildcard $(DROOT)/certs/*-all.pem) $(wildcard $(DROOT)/certs/*-$(arch).pem) $(wildcard $(DEBIAN)/certs/*-all.pem) $(wildcard $(DEBIAN)/certs/*-$(arch).pem)

Some files were not shown because too many files have changed in this diff Show more