Skip to contentSkip to conversation

base-files: remove LSB-specific overrides

PATCH New Ross Burton 1 participant 4 messages Jul 15

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 base-files: remove LSB-specific overrides

The linuxstdbase override was used by the poky-lsb distribution, which aimed to be compatible with the Linux Standard Base specification.

LSB is long-dead and poky-lsb was removed back in 2018 with the thud release[1].

Clarify the recipe by deleting these obsolete and unused assignments.

[1] meta-yocto 00fdefff55 ("poky-altcfg: Replace poky-lsb with poky-altcfg")

---
 .../base-files/base-files_3.0.14.bb             | 17 -----------------
 1 file changed, 17 deletions(-)
meta/recipes-core/base-files/base-files_3.0.14.bb +0 -17
index 99ac19eb58f..0cd6600782f 100644
@@ -47,13 +47,6 @@ dirs755 = "/boot /dev ${base_bindir} ${base_sbindir} ${base_libdir} \
            /home ${prefix}/src ${localstatedir}/local \
            /media"
 
-dirs755-lsb = "${servicedir} \
-               ${prefix}/local ${prefix}/local/bin ${prefix}/local/games \
-               ${prefix}/local/include ${prefix}/local/lib ${prefix}/local/sbin \
-               ${prefix}/local/share ${prefix}/local/src \
-               ${prefix}/lib/locale"
-dirs2775-lsb = "${localstatedir}/mail"
-
 volatiles = "${@bb.utils.contains('FILESYSTEM_PERMS_TABLES', 'files/fs-perms-volatile-log.txt', 'log', '', d)} \
              ${@bb.utils.contains('FILESYSTEM_PERMS_TABLES', 'files/fs-perms-volatile-tmp.txt', 'tmp', '', d)}"
 conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
@@ -145,16 +138,6 @@ do_install_basefilesissue () {
 }
 do_install_basefilesissue[vardepsexclude] += "DATE"
 
-do_install:append:linuxstdbase() {
-	for d in ${dirs755-lsb}; do
-                install -m 0755 -d ${D}$d
-        done
-
-	for d in ${dirs2775-lsb}; do
-                install -m 2775 -d ${D}$d
-        done
-}
-
 SYSROOT_DIRS += "${sysconfdir}/skel"
 
 PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/4 libxml2: remove LSB-specific overrides

The linuxstdbase override was used by the poky-lsb distribution, which aimed to be compatible with the Linux Standard Base specification.

LSB is long-dead and poky-lsb was removed back in 2018 with the thud release[1].

Clarify the recipe by deleting these obsolete and unused assignments.

[1] meta-yocto 00fdefff55 ("poky-altcfg: Replace poky-lsb with poky-altcfg")

---
 meta/recipes-core/libxml/libxml2_2.15.3.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/libxml/libxml2_2.15.3.bb +0 -1
index abf9889b3f3..096a719d1c4 100644
@@ -45,7 +45,6 @@ RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-ebcdic-us \
 EXTRA_OECONF = "--without-debug --without-legacy --with-catalog --with-c14n"
 EXTRA_OECONF:class-native = "--without-legacy --with-c14n --with-zlib"
 EXTRA_OECONF:class-nativesdk = "--without-legacy --with-c14n --with-zlib"
-EXTRA_OECONF:linuxstdbase = "--with-debug --with-legacy --with-c14n --with-zlib"
 
 python populate_packages:prepend () {
     # autonamer would call this libxml2-2, but we don't want that
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/4 gcc: remove LSB-specific overrides

In reply to Ross Burton

The linuxstdbase override was used by the poky-lsb distribution, which aimed to be compatible with the Linux Standard Base specification.

LSB is long-dead and poky-lsb was removed back in 2018 with the thud release[1].

Clarify the recipe by deleting these obsolete and unused assignments.

[1] meta-yocto 00fdefff55 ("poky-altcfg: Replace poky-lsb with poky-altcfg")

---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 1 -
 meta/recipes-devtools/gcc/gcc-target.inc  | 2 --
 2 files changed, 3 deletions(-)
meta/recipes-devtools/gcc/gcc-runtime.inc +0 -1
index e305180c64f..d58cbe9c1a7 100644
@@ -18,7 +18,6 @@ EXTRA_OECONF_PATHS = "\
 TARGET_CC_ARCH += "-fno-link-libatomic"
 SDK_CC_ARCH += "-fno-link-libatomic"
 
-EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu"
 EXTRA_OECONF:append = " --cache-file=${B}/config.cache"
 EXTRA_OECONF:append:libc-newlib = " --with-newlib --with-target-subdir"
 EXTRA_OECONF:append:libc-picolibc = " --with-newlib --with-target-subdir"
meta/recipes-devtools/gcc/gcc-target.inc +0 -2
index 6b47c10413a..40e026f59e6 100644
@@ -6,8 +6,6 @@ EXTRA_OECONF_PATHS = "\
     --with-build-sysroot=${STAGING_DIR_TARGET} \
 "
 
-EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu"
-
 # Configure gcc running on the target to default to an architecture which will
 # be compatible with that of gcc-runtime (which is cross compiled to be target
 # specific). For example, for ARM, ARMv6+ adds atomic instructions that may
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/4 msmtp: remove LSB-specific overrides

In reply to Ross Burton

The linuxstdbase override was used by the poky-lsb distribution, which aimed to be compatible with the Linux Standard Base specification.

LSB is long-dead and poky-lsb was removed back in 2018 with the thud release[1].

Clarify the recipe by removing this obsolete alternative.

[1] meta-yocto 00fdefff55 ("poky-altcfg: Replace poky-lsb with poky-altcfg")

---
 meta/recipes-extended/msmtp/msmtp_1.8.32.bb | 4 ----
 1 file changed, 4 deletions(-)
meta/recipes-extended/msmtp/msmtp_1.8.32.bb +0 -4
index 548c94aaaf6..7f39f66f65a 100644
@@ -18,10 +18,6 @@ inherit gettext autotools update-alternatives pkgconfig
 EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn"
 
 ALTERNATIVE:${PN} = "sendmail"
-# /usr/lib/sendmial is required by LSB core test
-ALTERNATIVE:${PN}:linuxstdbase = "sendmail usr-lib-sendmail"
 ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp"
 ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
-ALTERNATIVE_TARGET[usr-lib-sendmail] = "${bindir}/msmtp"
-ALTERNATIVE_LINK_NAME[usr-lib-sendmail] = "/usr/lib/sendmail"
 ALTERNATIVE_PRIORITY = "100"
Signature · 1 line
2.43.0