misc: update changes from aramo to ecne
This commit is contained in:
parent
88b3f96c45
commit
df6774d1fe
337 changed files with 341 additions and 125 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/debian/rules b/debian/rules
|
diff --git a/debian/rules b/debian/rules
|
||||||
index fe52711..b2d1921 100755
|
index 661286bd..e828a0ac 100755
|
||||||
--- a/debian/rules
|
--- a/debian/rules
|
||||||
+++ b/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_testroot
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
|
|
@ -12,7 +12,7 @@ index fe52711..b2d1921 100755
|
||||||
+ rm -f $(DEBIAN)/d-i/firmware/$(arch)/kernel-image
|
+ rm -f $(DEBIAN)/d-i/firmware/$(arch)/kernel-image
|
||||||
+
|
+
|
||||||
# normal build junk
|
# normal build junk
|
||||||
rm -rf $(DEBIAN)/abi/$(release)-$(revision)
|
rm -rf $(DEBIAN)/abi
|
||||||
rm -rf $(builddir)
|
rm -rf $(builddir)
|
||||||
rm -f $(stampdir)/stamp-*
|
rm -f $(stampdir)/stamp-*
|
||||||
rm -rf debian/linux-*/
|
rm -rf debian/linux-*/
|
||||||
|
|
@ -22,14 +22,15 @@ index fe52711..b2d1921 100755
|
||||||
cp $(DEBIAN)/changelog debian/changelog
|
cp $(DEBIAN)/changelog debian/changelog
|
||||||
|
|
||||||
# Install the copyright information.
|
# Install the copyright information.
|
||||||
@@ -184,7 +191,6 @@ $(DEBIAN)/control.stub: \
|
#removed at 6.5.0-27.28~22.04.1
|
||||||
$(DROOT)/scripts/control-create \
|
#@@ -184,7 +191,6 @@ $(DEBIAN)/control.stub: \
|
||||||
$(control_files) \
|
# $(DROOT)/scripts/control-create \
|
||||||
debian/canonical-revoked-certs.pem \
|
# $(control_files) \
|
||||||
- $(DROOT)/control.d/flavour-module.stub \
|
# debian/canonical-revoked-certs.pem \
|
||||||
$(DEBIAN)/changelog \
|
#- $(DROOT)/control.d/flavour-module.stub \
|
||||||
$(wildcard $(DEBIAN)/control.d/* $(DEBIAN)/sub-flavours/*.vars)
|
# $(DEBIAN)/changelog \
|
||||||
for i in $(control_files); do \
|
# $(wildcard $(DEBIAN)/control.d/* $(DEBIAN)/sub-flavours/*.vars)
|
||||||
|
# for i in $(control_files); do \
|
||||||
@@ -211,7 +217,14 @@ $(DEBIAN)/control.stub: \
|
@@ -211,7 +217,14 @@ $(DEBIAN)/control.stub: \
|
||||||
|
|
||||||
.PHONY: debian/control
|
.PHONY: debian/control
|
||||||
|
|
|
||||||
|
|
@ -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);
|
|
||||||
|
|
@ -6,7 +6,7 @@ ifeq ($(disable_d_i),)
|
||||||
do-binary-udebs
|
do-binary-udebs
|
||||||
endif
|
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
|
do-binary-udebs: debian/control
|
||||||
@echo Debug: $@
|
@echo Debug: $@
|
||||||
dh_testdir
|
dh_testdir
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
--- a/debian/rules 2023-02-10 11:40:38.000000000 -0600
|
diff --git a/debian/rules b/debian/rules
|
||||||
+++ b/debian/rules 2023-02-10 11:53:56.313708852 -0600
|
index 0f238b32..d96c732e 100755
|
||||||
@@ -128,12 +128,19 @@
|
--- a/debian/rules
|
||||||
|
+++ b/debian/rules
|
||||||
|
@@ -122,12 +122,19 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
|
|
@ -10,7 +12,7 @@
|
||||||
+ rm -f $(DEBIAN)/d-i/firmware/$(arch)/kernel-image
|
+ rm -f $(DEBIAN)/d-i/firmware/$(arch)/kernel-image
|
||||||
+
|
+
|
||||||
# normal build junk
|
# normal build junk
|
||||||
rm -rf $(DEBIAN)/abi/$(release)-$(revision)
|
rm -rf $(DEBIAN)/abi
|
||||||
rm -rf $(builddir)
|
rm -rf $(builddir)
|
||||||
rm -f $(stampdir)/stamp-*
|
rm -f $(stampdir)/stamp-*
|
||||||
rm -rf $(DEBIAN)/linux-*
|
rm -rf $(DEBIAN)/linux-*
|
||||||
|
|
@ -37,7 +39,7 @@
|
||||||
+ export KW_DEFCONFIG_DIR=$(DEBIAN)/d-i && \
|
+ export KW_DEFCONFIG_DIR=$(DEBIAN)/d-i && \
|
||||||
+ export KW_CONFIG_DIR=$(DEBIAN)/d-i && \
|
+ export KW_CONFIG_DIR=$(DEBIAN)/d-i && \
|
||||||
+ LANG=C kernel-wedge gen-control $(release)-$(abinum) | \
|
+ 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
|
+ >>$(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)
|
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
Loading…
Add table
Add a link
Reference in a new issue