linux-hwe-6.14: restore udebs on 6.14 branch

This commit is contained in:
Luis Guzmán 2026-02-19 18:11:31 -06:00
parent 29b3357597
commit aae253a2b9
7 changed files with 184 additions and 118 deletions

View file

@ -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" \