Commit 4d827776 authored by Tim Gardner's avatar Tim Gardner Committed by Juerg Haefliger

UBUNTU: [Debian] Use src_pkg_name when constructing udeb control files

BugLink: http://bugs.launchpad.net/bugs/1764794Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent eb5af673
...@@ -50,7 +50,7 @@ do-binary-udebs: debian/control ...@@ -50,7 +50,7 @@ do-binary-udebs: debian/control
@gawk ' \ @gawk ' \
/^Package:/ { \ /^Package:/ { \
package=$$2; flavour=""; parch="" } \ package=$$2; flavour=""; parch="" } \
(/Package-Type: udeb/ && package !~ /^linux-udebs-/) { \ (/Package-Type: udeb/ && package !~ /^$(src_pkg_name)-udebs-/) { \
match(package, "'$(release)'-'$(abinum)'-(.*)-di", bits); \ match(package, "'$(release)'-'$(abinum)'-(.*)-di", bits); \
flavour = bits[1]; \ flavour = bits[1]; \
} \ } \
...@@ -63,7 +63,7 @@ do-binary-udebs: debian/control ...@@ -63,7 +63,7 @@ do-binary-udebs: debian/control
} \ } \
END { \ END { \
for (flavour in udebs) { \ for (flavour in udebs) { \
package="linux-udebs-" flavour; \ package="$(src_pkg_name)-udebs-" flavour; \
file="debian/" package ".substvars"; \ file="debian/" package ".substvars"; \
print("udeb:Depends=" udebs[flavour]) > file; \ print("udeb:Depends=" udebs[flavour]) > file; \
metas="'$(builddir)'/udeb-meta-packages"; \ metas="'$(builddir)'/udeb-meta-packages"; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment