Skip to contentSkip to conversation

dhcpcd: remove obsolete explicit debug packaging

PATCH New Ross Burton 1 participant 5 messages Apr 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 dhcpcd: remove obsolete explicit debug packaging

The .debug directories are packaged automatically by default, so this is redundant.

---
 meta/recipes-connectivity/dhcpcd/dhcpcd_10.3.0.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-connectivity/dhcpcd/dhcpcd_10.3.0.bb +0 -2
index fca7d8b11d9..44dbb3dba59 100644
@@ -63,5 +63,3 @@ do_install:append () {
     chmod 700 ${D}${DBDIR}
     chown dhcpcd:dhcpcd ${D}${DBDIR}
 }
-
-FILES:${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/5 wpa-supplicant: remove obsolete explicit debug packaging

The .debug directories are packaged automatically by default, so this is redundant.

This recipe packages the plugin debug symbols into their own packages, there's no real advantage to doing this so remove that logic.

---
 .../wpa-supplicant/wpa-supplicant_2.11.bb                  | 7 -------
 1 file changed, 7 deletions(-)
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb +0 -7
index 7c7a8bd9c13..71bfb090a0a 100644
@@ -113,13 +113,11 @@ PACKAGES += "${PN}-plugins"
 ALLOW_EMPTY:${PN}-plugins = "1"
 
 PACKAGES_DYNAMIC += "^${PN}-plugin-.*$"
-NOAUTOPACKAGEDEBUG = "1"
 
 FILES:${PN}-passphrase = "${sbindir}/wpa_passphrase"
 FILES:${PN}-cli = "${sbindir}/wpa_cli"
 FILES:${PN}-lib = "${libdir}/libwpa_client*${SOLIBSDEV}"
 FILES:${PN} += "${datadir}/dbus-1/system-services/* ${systemd_system_unitdir}/*"
-FILES:${PN}-dbg += "${sbindir}/.debug ${libdir}/.debug"
 
 CONFFILES:${PN} += "${sysconfdir}/wpa_supplicant.conf"
 
@@ -130,14 +128,9 @@ SYSTEMD_AUTO_ENABLE = "disable"
 
 python split_wpa_supplicant_libs () {
     libdir = d.expand('${libdir}/wpa_supplicant')
-    dbglibdir = os.path.join(libdir, '.debug')
-
     split_packages = do_split_packages(d, libdir, r'^(.*)\.so', '${PN}-plugin-%s', 'wpa_supplicant %s plugin', prepend=True)
-    split_dbg_packages = do_split_packages(d, dbglibdir, r'^(.*)\.so', '${PN}-plugin-%s-dbg', 'wpa_supplicant %s plugin - Debugging files', prepend=True, extra_depends='${PN}-dbg')
-
     if split_packages:
         pn = d.getVar('PN')
         d.setVar('RRECOMMENDS:' + pn + '-plugins', ' '.join(split_packages))
-        d.appendVar('RRECOMMENDS:' + pn + '-dbg', ' ' + ' '.join(split_dbg_packages))
 }
 PACKAGESPLITFUNCS += "split_wpa_supplicant_libs"
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/5 python3-cryptography: remove obsolete explicit debug packaging

In reply to Ross Burton

The .debug directories are packaged automatically by default, so this is redundant.

---
 meta/recipes-devtools/python/python3-cryptography.bb | 4 ----
 1 file changed, 4 deletions(-)
meta/recipes-devtools/python/python3-cryptography.bb +0 -4
index fc5cb50b029..9387dd725a8 100644
@@ -69,8 +69,4 @@ do_install_ptest() {
     cp -r ${S}/pyproject.toml ${D}${PTEST_PATH}/
 }
 
-FILES:${PN}-dbg += " \
-    ${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/hazmat/bindings/.debug \
-"
-
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/5 gobject-introspection: remove obsolete explicit debug packaging

In reply to Ross Burton

The .debug directories are packaged automatically by default, so this is redundant.

---
 .../gobject-introspection/gobject-introspection_1.86.0.bb        | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb +0 -1
index fbba8fd6ec4..51cae5fff60 100644
@@ -195,7 +195,6 @@ FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/gdump.c \
 FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/tests/*.c \
                            ${datadir}/gobject-introspection-1.0/tests/*.h"
 
-FILES:${PN}-dbg += "${libdir}/gobject-introspection/giscanner/.debug/"
 FILES:${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a"
 
 # glib-2.0 is required for libgirepository
Signature · 1 line
2.43.0
#4 lore raw

PATCH 5/5 kernel-devsrc: remove obsolete explicit debug packaging

In reply to Ross Burton

The .debug directories are packaged automatically by default, so this is redundant.

---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-kernel/linux/kernel-devsrc.bb +0 -1
index 62f5df7a01a..237dec6b128 100644
@@ -429,7 +429,6 @@ do_install() {
 do_install[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
 
 FILES:${PN} = "${KERNEL_BUILD_ROOT} ${KERNEL_SRC_PATH}"
-FILES:${PN}-dbg += "${KERNEL_BUILD_ROOT}*/build/scripts/*/.debug/*"
 
 RDEPENDS:${PN} = "bc python3-core flex bison ${TCLIBC}-utils gawk"
 # 4.15+ needs these next two RDEPENDS
Signature · 1 line
2.43.0