[OE-core] [PATCH] Remove LSB support
The only part with some (marginal) usage is lsb_release, which is split from the lsb package into an own lsb-release package. Signed-off-by: Adrian Bunk --- https://github.com/AdrianBunk/meta-lsb contains a preliminary meta-lsb layer, looking for a maintainer. --- README.LSB| 29 - meta/conf/distro/include/distro_alias.inc | 6 - meta/conf/distro/include/maintainers.inc | 6 +- meta/lib/oeqa/manual/bsp-hw.json | 2 +- meta/lib/oeqa/manual/compliance-test.json | 32 +- .../lib/oeqa/manual/toaster-managed-mode.json | 14 +- .../packagegroups/packagegroup-self-hosted.bb | 2 +- .../bootchart2/bootchart2_0.14.8.bb | 2 +- .../images/core-image-lsb-dev.bb | 7 - .../images/core-image-lsb-sdk.bb | 12 - .../recipes-extended/images/core-image-lsb.bb | 14 - ...e-to-work-with-busybox-head-and-find.patch | 0 meta/recipes-extended/lsb/lsb-release_1.4.bb | 37 ++ meta/recipes-extended/lsb/lsb/init-functions | 44 -- meta/recipes-extended/lsb/lsb/lsb_killproc| 6 - meta/recipes-extended/lsb/lsb/lsb_log_message | 27 - meta/recipes-extended/lsb/lsb/lsb_pidofproc | 6 - .../recipes-extended/lsb/lsb/lsb_start_daemon | 45 -- meta/recipes-extended/lsb/lsb_5.0.bb | 136 - ...exit-1-which-causes-init-scripts-to-.patch | 21 - .../lsb/lsbinitscripts/functions.patch| 33 -- .../lsb/lsbinitscripts_9.79.bb| 31 -- meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 525 -- .../lsb/lsbtest/packages_list | 49 -- meta/recipes-extended/lsb/lsbtest/session | 176 -- meta/recipes-extended/lsb/lsbtest_1.0.bb | 49 -- .../packagegroups/packagegroup-core-lsb.bb| 240 meta/recipes.txt | 2 +- 28 files changed, 50 insertions(+), 1503 deletions(-) delete mode 100644 README.LSB delete mode 100644 meta/recipes-extended/images/core-image-lsb-dev.bb delete mode 100644 meta/recipes-extended/images/core-image-lsb-sdk.bb delete mode 100644 meta/recipes-extended/images/core-image-lsb.bb rename meta/recipes-extended/lsb/{lsb => lsb-release}/0001-fix-lsb_release-to-work-with-busybox-head-and-find.patch (100%) create mode 100644 meta/recipes-extended/lsb/lsb-release_1.4.bb delete mode 100755 meta/recipes-extended/lsb/lsb/init-functions delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_killproc delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_log_message delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_pidofproc delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_start_daemon delete mode 100644 meta/recipes-extended/lsb/lsb_5.0.bb delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts/functions.patch delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts_9.79.bb delete mode 100644 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh delete mode 100644 meta/recipes-extended/lsb/lsbtest/packages_list delete mode 100644 meta/recipes-extended/lsb/lsbtest/session delete mode 100644 meta/recipes-extended/lsb/lsbtest_1.0.bb delete mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb diff --git a/README.LSB b/README.LSB deleted file mode 100644 index fecbe548b7..00 --- a/README.LSB +++ /dev/null @@ -1,29 +0,0 @@ -OE-Core aims to be able to provide basic LSB compatible images. There -are some challenges for OE as LSB isn't always 100% relevant to its -target embedded and IoT audiences. - -One challenge is that the LSB spec is no longer being actively -developed [https://github.com/LinuxStandardBase/lsb] and has -components which are end of life or significantly dated. OE -therefore provides compatibility with the following caveats: - -* Qt4 is provided by the separate meta-qt4 layer. Its noted that Qt4 - is end of life and this isn't something the core project regularly - tests any longer. Users are recommended to group together to support - maintenance of that layer. [http://git.yoctoproject.org/cgit/cgit.cgi/meta-qt4/] - -* GTK+ 2 is provided by meta-oe. It is noted that GTK+ 2 is end of life - and use of GTK+ 2 isn't recommended. - -* mailx has been dropped since its no longer being developed upstream - and there are better, more modern replacements such as s-nail - (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/). - -* A few perl modules that were required by LSB 4.x aren't provided: - libclass-isa, libenv, libdumpvalue, libfile-checktree, - libi18n-collate, libpod-plainer. - -* libpng 1.2 isn't provided; oe-core includes the latest release of libpng - instead. - -* pax (POSIX standard archive) tool is not provided. diff --git a/meta/conf/distro/include/distro_alias.inc b/meta/conf/distro/include/distro_alias.inc index ab6ebdb899..7ab3b12cd5 100644 --- a/meta/conf/distro/i
[OE-core] [PATCH] Remove LSB support bits
Signed-off-by: Adrian Bunk --- .../distro/include/poky-distro-alt-test-config.inc | 2 +- meta-poky/conf/distro/poky-lsb.conf | 13 - meta-poky/conf/distro/poky-tiny.conf| 3 --- meta-poky/conf/local.conf.sample.extended | 2 +- 4 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 meta-poky/conf/distro/poky-lsb.conf diff --git a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc index 081584f397..dff5804530 100644 --- a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc +++ b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc @@ -1,2 +1,2 @@ DISTRO_FEATURES_append = " pam" -PREFERRED_VERSION_linux-yocto_linuxstdbase ?= "4.19%" +PREFERRED_VERSION_linux-yocto ?= "4.19%" diff --git a/meta-poky/conf/distro/poky-lsb.conf b/meta-poky/conf/distro/poky-lsb.conf deleted file mode 100644 index 9b36c87c48..00 --- a/meta-poky/conf/distro/poky-lsb.conf +++ /dev/null @@ -1,13 +0,0 @@ - -require conf/distro/poky.conf - -DISTRO = "poky-lsb" -DISTROOVERRIDES = "poky:linuxstdbase" - -DISTRO_FEATURES_append = " pam" - -# Ensure the kernel nfs server is enabled -KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" - -# Use the LTSI Kernel for LSB Testing -PREFERRED_VERSION_linux-yocto_linuxstdbase ?= "4.19%" diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf index 1f8b6e8ff3..8236b6f273 100644 --- a/meta-poky/conf/distro/poky-tiny.conf +++ b/meta-poky/conf/distro/poky-tiny.conf @@ -117,9 +117,6 @@ PNBLACKLIST[build-appliance-image] = "not buildable with poky-tiny" PNBLACKLIST[core-image-base] = "not buildable with poky-tiny" PNBLACKLIST[core-image-clutter] = "not buildable with poky-tiny" PNBLACKLIST[core-image-full-cmdline] = "not buildable with poky-tiny" -PNBLACKLIST[core-image-lsb] = "not buildable with poky-tiny" -PNBLACKLIST[core-image-lsb-dev] = "not buildable with poky-tiny" -PNBLACKLIST[core-image-lsb-sdk] = "not buildable with poky-tiny" PNBLACKLIST[core-image-rt] = "not buildable with poky-tiny" PNBLACKLIST[core-image-rt-sdk] = "not buildable with poky-tiny" PNBLACKLIST[core-image-sato] = "not buildable with poky-tiny" diff --git a/meta-poky/conf/local.conf.sample.extended b/meta-poky/conf/local.conf.sample.extended index 77e8be26fa..dc92a16f6c 100644 --- a/meta-poky/conf/local.conf.sample.extended +++ b/meta-poky/conf/local.conf.sample.extended @@ -270,7 +270,7 @@ DISTRO_FEATURES_remove = "x11" # # By including the security_flags include file you enable flags # to the compiler and linker that cause them to generate more secure -# code, this is enabled by default in the poky-lsb distro. +# code. # This does affect compile speed slightly. # # Use the following line to enable the security compiler and linker flags to your build -- 2.17.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] Remove LSB support
On 8/25/19 10:21 AM, Adrian Bunk wrote: > The only part with some (marginal) usage is lsb_release, > which is split from the lsb package into an own lsb-release > package. Thank you for doing this work. There was talk about creating a layer for those folks needing lsb support. This helps identify what is currently there. - armin > > Signed-off-by: Adrian Bunk > --- > https://github.com/AdrianBunk/meta-lsb contains a preliminary > meta-lsb layer, looking for a maintainer. > --- > README.LSB| 29 - > meta/conf/distro/include/distro_alias.inc | 6 - > meta/conf/distro/include/maintainers.inc | 6 +- > meta/lib/oeqa/manual/bsp-hw.json | 2 +- > meta/lib/oeqa/manual/compliance-test.json | 32 +- > .../lib/oeqa/manual/toaster-managed-mode.json | 14 +- > .../packagegroups/packagegroup-self-hosted.bb | 2 +- > .../bootchart2/bootchart2_0.14.8.bb | 2 +- > .../images/core-image-lsb-dev.bb | 7 - > .../images/core-image-lsb-sdk.bb | 12 - > .../recipes-extended/images/core-image-lsb.bb | 14 - > ...e-to-work-with-busybox-head-and-find.patch | 0 > meta/recipes-extended/lsb/lsb-release_1.4.bb | 37 ++ > meta/recipes-extended/lsb/lsb/init-functions | 44 -- > meta/recipes-extended/lsb/lsb/lsb_killproc| 6 - > meta/recipes-extended/lsb/lsb/lsb_log_message | 27 - > meta/recipes-extended/lsb/lsb/lsb_pidofproc | 6 - > .../recipes-extended/lsb/lsb/lsb_start_daemon | 45 -- > meta/recipes-extended/lsb/lsb_5.0.bb | 136 - > ...exit-1-which-causes-init-scripts-to-.patch | 21 - > .../lsb/lsbinitscripts/functions.patch| 33 -- > .../lsb/lsbinitscripts_9.79.bb| 31 -- > meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 525 -- > .../lsb/lsbtest/packages_list | 49 -- > meta/recipes-extended/lsb/lsbtest/session | 176 -- > meta/recipes-extended/lsb/lsbtest_1.0.bb | 49 -- > .../packagegroups/packagegroup-core-lsb.bb| 240 > meta/recipes.txt | 2 +- > 28 files changed, 50 insertions(+), 1503 deletions(-) > delete mode 100644 README.LSB > delete mode 100644 meta/recipes-extended/images/core-image-lsb-dev.bb > delete mode 100644 meta/recipes-extended/images/core-image-lsb-sdk.bb > delete mode 100644 meta/recipes-extended/images/core-image-lsb.bb > rename meta/recipes-extended/lsb/{lsb => > lsb-release}/0001-fix-lsb_release-to-work-with-busybox-head-and-find.patch > (100%) > create mode 100644 meta/recipes-extended/lsb/lsb-release_1.4.bb > delete mode 100755 meta/recipes-extended/lsb/lsb/init-functions > delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_killproc > delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_log_message > delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_pidofproc > delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_start_daemon > delete mode 100644 meta/recipes-extended/lsb/lsb_5.0.bb > delete mode 100644 > meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch > delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts/functions.patch > delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts_9.79.bb > delete mode 100644 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh > delete mode 100644 meta/recipes-extended/lsb/lsbtest/packages_list > delete mode 100644 meta/recipes-extended/lsb/lsbtest/session > delete mode 100644 meta/recipes-extended/lsb/lsbtest_1.0.bb > delete mode 100644 > meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb > > diff --git a/README.LSB b/README.LSB > deleted file mode 100644 > index fecbe548b7..00 > --- a/README.LSB > +++ /dev/null > @@ -1,29 +0,0 @@ > -OE-Core aims to be able to provide basic LSB compatible images. There > -are some challenges for OE as LSB isn't always 100% relevant to its > -target embedded and IoT audiences. > - > -One challenge is that the LSB spec is no longer being actively > -developed [https://github.com/LinuxStandardBase/lsb] and has > -components which are end of life or significantly dated. OE > -therefore provides compatibility with the following caveats: > - > -* Qt4 is provided by the separate meta-qt4 layer. Its noted that Qt4 > - is end of life and this isn't something the core project regularly > - tests any longer. Users are recommended to group together to support > - maintenance of that layer. > [http://git.yoctoproject.org/cgit/cgit.cgi/meta-qt4/] > - > -* GTK+ 2 is provided by meta-oe. It is noted that GTK+ 2 is end of life > - and use of GTK+ 2 isn't recommended. > - > -* mailx has been dropped since its no longer being developed upstream > - and there are better, more modern replacements such as s-nail > - (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/). > - > -* A few perl modules that were required by LSB 4.x aren't provided: > - libcla
Re: [OE-core] [PATCH] Remove LSB support
On Sun, Aug 25, 2019 at 10:37:16AM -0700, akuster808 wrote: > On 8/25/19 10:21 AM, Adrian Bunk wrote: > > The only part with some (marginal) usage is lsb_release, > > which is split from the lsb package into an own lsb-release > > package. > > Thank you for doing this work. > > There was talk about creating a layer for those folks needing lsb > support. This helps identify what is currently there. > > > - armin > > > > Signed-off-by: Adrian Bunk > > --- > > https://github.com/AdrianBunk/meta-lsb contains a preliminary > > meta-lsb layer, looking for a maintainer. >... This is a preliminary version of such a layer. The current state should be enough to avoid regressions compared to having LSB support in OE-core, but further improvements should be done by people needing LSB support. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] Remove LSB support
Hi Adrian, On 8/26/19 1:21 AM, Adrian Bunk wrote: The only part with some (marginal) usage is lsb_release, which is split from the lsb package into an own lsb-release package. Signed-off-by: Adrian Bunk --- https://github.com/AdrianBunk/meta-lsb contains a preliminary Do you have a plan to move it to git.yoctoproject.org or git.openembedded.org, please? // Robert meta-lsb layer, looking for a maintainer. --- README.LSB| 29 - meta/conf/distro/include/distro_alias.inc | 6 - meta/conf/distro/include/maintainers.inc | 6 +- meta/lib/oeqa/manual/bsp-hw.json | 2 +- meta/lib/oeqa/manual/compliance-test.json | 32 +- .../lib/oeqa/manual/toaster-managed-mode.json | 14 +- .../packagegroups/packagegroup-self-hosted.bb | 2 +- .../bootchart2/bootchart2_0.14.8.bb | 2 +- .../images/core-image-lsb-dev.bb | 7 - .../images/core-image-lsb-sdk.bb | 12 - .../recipes-extended/images/core-image-lsb.bb | 14 - ...e-to-work-with-busybox-head-and-find.patch | 0 meta/recipes-extended/lsb/lsb-release_1.4.bb | 37 ++ meta/recipes-extended/lsb/lsb/init-functions | 44 -- meta/recipes-extended/lsb/lsb/lsb_killproc| 6 - meta/recipes-extended/lsb/lsb/lsb_log_message | 27 - meta/recipes-extended/lsb/lsb/lsb_pidofproc | 6 - .../recipes-extended/lsb/lsb/lsb_start_daemon | 45 -- meta/recipes-extended/lsb/lsb_5.0.bb | 136 - ...exit-1-which-causes-init-scripts-to-.patch | 21 - .../lsb/lsbinitscripts/functions.patch| 33 -- .../lsb/lsbinitscripts_9.79.bb| 31 -- meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 525 -- .../lsb/lsbtest/packages_list | 49 -- meta/recipes-extended/lsb/lsbtest/session | 176 -- meta/recipes-extended/lsb/lsbtest_1.0.bb | 49 -- .../packagegroups/packagegroup-core-lsb.bb| 240 meta/recipes.txt | 2 +- 28 files changed, 50 insertions(+), 1503 deletions(-) delete mode 100644 README.LSB delete mode 100644 meta/recipes-extended/images/core-image-lsb-dev.bb delete mode 100644 meta/recipes-extended/images/core-image-lsb-sdk.bb delete mode 100644 meta/recipes-extended/images/core-image-lsb.bb rename meta/recipes-extended/lsb/{lsb => lsb-release}/0001-fix-lsb_release-to-work-with-busybox-head-and-find.patch (100%) create mode 100644 meta/recipes-extended/lsb/lsb-release_1.4.bb delete mode 100755 meta/recipes-extended/lsb/lsb/init-functions delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_killproc delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_log_message delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_pidofproc delete mode 100755 meta/recipes-extended/lsb/lsb/lsb_start_daemon delete mode 100644 meta/recipes-extended/lsb/lsb_5.0.bb delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts/0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts/functions.patch delete mode 100644 meta/recipes-extended/lsb/lsbinitscripts_9.79.bb delete mode 100644 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh delete mode 100644 meta/recipes-extended/lsb/lsbtest/packages_list delete mode 100644 meta/recipes-extended/lsb/lsbtest/session delete mode 100644 meta/recipes-extended/lsb/lsbtest_1.0.bb delete mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb diff --git a/README.LSB b/README.LSB deleted file mode 100644 index fecbe548b7..00 --- a/README.LSB +++ /dev/null @@ -1,29 +0,0 @@ -OE-Core aims to be able to provide basic LSB compatible images. There -are some challenges for OE as LSB isn't always 100% relevant to its -target embedded and IoT audiences. - -One challenge is that the LSB spec is no longer being actively -developed [https://github.com/LinuxStandardBase/lsb] and has -components which are end of life or significantly dated. OE -therefore provides compatibility with the following caveats: - -* Qt4 is provided by the separate meta-qt4 layer. Its noted that Qt4 - is end of life and this isn't something the core project regularly - tests any longer. Users are recommended to group together to support - maintenance of that layer. [http://git.yoctoproject.org/cgit/cgit.cgi/meta-qt4/] - -* GTK+ 2 is provided by meta-oe. It is noted that GTK+ 2 is end of life - and use of GTK+ 2 isn't recommended. - -* mailx has been dropped since its no longer being developed upstream - and there are better, more modern replacements such as s-nail - (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/). - -* A few perl modules that were required by LSB 4.x aren't provided: - libclass-isa, libenv, libdumpvalue, libfile-checktree, - libi18n-collate, libpod-plainer. - -* libpng 1.2 isn't provided; oe-core includes the latest release of libpng - instead. - -* pax (POSIX s
Re: [OE-core] [PATCH] Remove LSB support
On Fri, Aug 30, 2019 at 11:04:52AM +0800, Robert Yang wrote: > Hi Adrian, Hi Robert, > On 8/26/19 1:21 AM, Adrian Bunk wrote: > > The only part with some (marginal) usage is lsb_release, > > which is split from the lsb package into an own lsb-release > > package. > > > > Signed-off-by: Adrian Bunk > > --- > > https://github.com/AdrianBunk/meta-lsb contains a preliminary > > Do you have a plan to move it to git.yoctoproject.org or > git.openembedded.org, please? > > // Robert > > > meta-lsb layer, looking for a maintainer. >... I am hoping that someone who has an actual interest in LSB will adopt it, and then it's not up to me where it will be hosted. If you are interested, feel free to adopt it and host it wherever you want. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] Remove LSB support
On Fri, 2019-08-30 at 11:04 +0800, Robert Yang wrote: > Hi Adrian, > > On 8/26/19 1:21 AM, Adrian Bunk wrote: > > The only part with some (marginal) usage is lsb_release, > > which is split from the lsb package into an own lsb-release > > package. > > > > Signed-off-by: Adrian Bunk > > --- > > https://github.com/AdrianBunk/meta-lsb contains a preliminary > > Do you have a plan to move it to git.yoctoproject.org or > git.openembedded.org, > please? I'm happy to have it on git.yoctoproject.org but we need a maintainer... Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] Remove LSB support bits
Please ignore this patch, wrong list. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core