[Unstable/Lunar][PATCH 2/3] UBUNTU: [Packaging] debian/rules: Remove debug package install directory earlier
Juerg Haefliger
juerg.haefliger at canonical.com
Fri Jan 13 08:40:32 UTC 2023
Remove the debug package install directory immediately after the
package has been built.
Note: We do this just to prevent potential out-of-disk-space problems
on the builders.
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 6f9e808eb2e7..b42f4d989770 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -669,6 +669,9 @@ ifeq ($(do_dbgsym_package),true)
$(lockme) sed -i '/^$(dbgpkg)_/s/\.deb /.ddeb /' debian/files
# Now, the package wont get into the archive, but it will get put
# into the debug system.
+
+ # Clean out the debugging package source directory.
+ rm -rf $(dbgpkgdir)
endif
ifeq ($(do_linux_tools),true)
@@ -678,11 +681,6 @@ ifeq ($(do_cloud_tools),true)
$(call dh_all,$(pkgcloud))
endif
-ifneq ($(do_full_build),false)
- # Clean out the debugging package source directory.
- rm -rf $(dbgpkgdir)
-endif
-
#
# per-architecture packages
#
--
2.34.1
More information about the kernel-team
mailing list