linux-hwe-5.19: replace script with dctrl-tools
This commit is contained in:
parent
85c184daa4
commit
c1bdd1c40b
3 changed files with 7 additions and 34 deletions
|
|
@ -40,7 +40,7 @@ index fe52711..b2d1921 100755
|
|||
+ 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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue