[PATCH 3/7][RFC][LRM][Unstable] debian: rename rules target nvidia-* to targets-*
You-Sheng Yang
vicamo.yang at canonical.com
Thu Apr 14 21:21:19 UTC 2022
From: "You-Sheng Yang (vicamo)" <vicamo.yang at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1962515
Signed-off-by: You-Sheng Yang (vicamo) <vicamo.yang at canonical.com>
---
debian/rules.in | 2 +-
debian/rules.lrg | 2 +-
debian/rules.lrs | 2 +-
debian/scripts/gen-rules.lrg | 2 +-
debian/scripts/gen-rules.lrm | 2 +-
debian/scripts/gen-rules.lrs | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/rules.in b/debian/rules.in
index d61feca..2301329 100755
--- a/debian/rules.in
+++ b/debian/rules.in
@@ -117,7 +117,7 @@ prepare-dkms:
override_dh_prep: debian/scripts/fix-filenames
dh_prep
-override_dh_auto_install: prepare-dkms nvidia-$(arch)
+override_dh_auto_install: prepare-dkms targets-$(arch)
dh_install
override_dh_gencontrol:
diff --git a/debian/rules.lrg b/debian/rules.lrg
index e431275..7717ef1 100755
--- a/debian/rules.lrg
+++ b/debian/rules.lrg
@@ -27,5 +27,5 @@ custom-upload:
override_dh_prep: debian/scripts/fix-filenames
dh_prep
-override_dh_auto_install: nvidia-$(arch) custom-upload
+override_dh_auto_install: targets-$(arch) custom-upload
dh_install
diff --git a/debian/rules.lrs b/debian/rules.lrs
index 1c22d8e..4bb698d 100755
--- a/debian/rules.lrs
+++ b/debian/rules.lrs
@@ -8,5 +8,5 @@ arch = $(shell dpkg-architecture -qDEB_HOST_ARCH)
override_dh_auto_build:
./download-signed "$(src_genr_package)" "$(src_genr_version)" "$(src_genr_package)"
-override_dh_auto_install: nvidia-$(arch)
+override_dh_auto_install: targets-$(arch)
dh_install
diff --git a/debian/scripts/gen-rules.lrg b/debian/scripts/gen-rules.lrg
index c739a38..0c19b8f 100755
--- a/debian/scripts/gen-rules.lrg
+++ b/debian/scripts/gen-rules.lrg
@@ -121,7 +121,7 @@ do
fi
fi
- targets=$(echo "$pkg_archs" | sed -e 's/\</nvidia-/g')
+ targets=$(echo "$pkg_archs" | sed -e 's/\</targets-/g')
suffix_minus=$(echo "$package" | sed -e 's/nvidia-graphics-drivers-//')
suffix_under=$(echo "$suffix_minus" | sed -e 's/-/_/g')
suffix_short=$(echo "$suffix_minus" | sed -e 's/-server/srv/g')
diff --git a/debian/scripts/gen-rules.lrm b/debian/scripts/gen-rules.lrm
index 42f72ce..536ff33 100755
--- a/debian/scripts/gen-rules.lrm
+++ b/debian/scripts/gen-rules.lrm
@@ -129,7 +129,7 @@ EOL
fi
fi
- targets=$(echo "$pkg_archs" | sed -e 's/\</nvidia-/g')
+ targets=$(echo "$pkg_archs" | sed -e 's/\</targets-/g')
suffix_minus=$(echo "$package" | sed -e 's/nvidia-graphics-drivers-//')
suffix_under=$(echo "$suffix_minus" | sed -e 's/-/_/g')
suffix_short=$(echo "$suffix_minus" | sed -e 's/-server/srv/g')
diff --git a/debian/scripts/gen-rules.lrs b/debian/scripts/gen-rules.lrs
index e2ab3a1..657a745 100755
--- a/debian/scripts/gen-rules.lrs
+++ b/debian/scripts/gen-rules.lrs
@@ -69,7 +69,7 @@ do
esac
validate_unique "archs" "$archs"
- targets=$(echo "$archs" | sed -e 's/\</nvidia-/g')
+ targets=$(echo "$archs" | sed -e 's/\</targets-/g')
echo "II: build linux-signatures-nvidia-${src_abi}-${flavour} for ${archs}"
--
2.34.1
More information about the kernel-team
mailing list