[Unstable][PATCH] UBUNTU: [Packaging] linux-lib-rust: Fix incorrect package name
Juerg Haefliger
juerg.haefliger at canonical.com
Thu Dec 5 14:04:26 UTC 2024
This package should be in the same namespace as the other libraries and
headers packages, i.e., it should always be named
linux-lib-rust-<version>-<flavor>
and *not*
linux-unstable-lib-rust-<version>-<flavor> or
linux-aws-lib-rust-<version>-<flavor> or
...
This change only affects derivatives and unstable. The package name
produced by the main linux source remains the same.
While at it, remove the unused variable 'indep_lib_rust_pkg_name'.
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
debian.master/control.d/flavour-control.stub | 2 +-
debian/rules.d/0-common-vars.mk | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian.master/control.d/flavour-control.stub b/debian.master/control.d/flavour-control.stub
index a7ba586e6909..7efa04a6ca7d 100644
--- a/debian.master/control.d/flavour-control.stub
+++ b/debian.master/control.d/flavour-control.stub
@@ -100,7 +100,7 @@ Description: Linux kernel headers for version PKGVER on DESC
This is for sites that want the latest kernel headers. Please read
/usr/share/doc/linux-headers-PKGVER-ABINUM/debian.README.gz for details.
-Package: SRCPKGNAME-lib-rust-PKGVER-ABINUM-FLAVOUR
+Package: linux-lib-rust-PKGVER-ABINUM-FLAVOUR
Build-Profiles: <!stage1>
Architecture: amd64
Multi-Arch: foreign
diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk
index e95b8cf6a018..272f13f39b18 100644
--- a/debian/rules.d/0-common-vars.mk
+++ b/debian/rules.d/0-common-vars.mk
@@ -113,9 +113,8 @@ mods_pkg_name=linux-modules-$(abi_release)
mods_extra_pkg_name=linux-modules-extra-$(abi_release)
bldinfo_pkg_name=linux-buildinfo-$(abi_release)
hdrs_pkg_name=linux-headers-$(abi_release)
-rust_pkg_name=$(DEB_SOURCE)-lib-rust-$(abi_release)
+rust_pkg_name=linux-lib-rust-$(abi_release)
indep_hdrs_pkg_name=$(DEB_SOURCE)-headers-$(abi_release)
-indep_lib_rust_pkg_name=$(DEB_SOURCE)-lib-rust-$(abi_release)
#
# Similarly with the linux-source package, you need not build it as a developer. Its
--
2.43.0
More information about the kernel-team
mailing list