Remove LSB support

LSB as a standard isn't current and isn't well suited to embedded
anyway. Its putting artifical constraints on the system and with modern
layer technology, would now be better off as its own layer. As such
its time to split it out.

The only part with some (marginal) usage is lsb_release,
which is split from the lsb package into an own lsb-release
package.

(From OE-Core rev: fb064356af615d67d85b65942103bf943d84d290)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Adrian Bunk
2019-08-25 20:21:15 +03:00
committed by Richard Purdie
parent 1af3e4bea6
commit bac4bc9aa6
28 changed files with 50 additions and 1503 deletions

View File

@@ -1,240 +0,0 @@
#
# Copyright (C) 2010 Intel Corporation
#
SUMMARY = "Linux Standard Base (LSB)"
DESCRIPTION = "Packages required to satisfy the Linux Standard Base (LSB) specification"
PR = "r10"
inherit packagegroup distro_features_check
# The libxt, libxtst and others require x11 in DISTRO_FEATURES
REQUIRED_DISTRO_FEATURES = "x11"
# libglu needs virtual/libgl, which requires opengl in DISTRO_FEATURES
REQUIRED_DISTRO_FEATURES += "opengl"
# libpam, pam-plugin-wheel requires pam in DISTRO_FEATURES
REQUIRED_DISTRO_FEATURES += "pam"
#
# We will skip parsing this packagegeoup for non-glibc systems
#
python __anonymous () {
if d.getVar('TCLIBC') != "glibc":
raise bb.parse.SkipRecipe("incompatible with %s C library" %
d.getVar('TCLIBC'))
}
PACKAGES = "\
packagegroup-core-lsb \
packagegroup-core-sys-extended \
packagegroup-core-db \
packagegroup-core-perl \
packagegroup-core-python \
packagegroup-core-tcl \
packagegroup-core-lsb-misc \
packagegroup-core-lsb-core \
packagegroup-core-lsb-perl \
packagegroup-core-lsb-python \
packagegroup-core-lsb-desktop \
packagegroup-core-lsb-runtime-add \
"
RDEPENDS_packagegroup-core-lsb = "\
packagegroup-core-sys-extended \
packagegroup-core-db \
packagegroup-core-perl \
packagegroup-core-python \
packagegroup-core-tcl \
packagegroup-core-lsb-misc \
packagegroup-core-lsb-core \
packagegroup-core-lsb-perl \
packagegroup-core-lsb-python \
packagegroup-core-lsb-desktop \
packagegroup-core-lsb-runtime-add \
"
RDEPENDS_packagegroup-core-sys-extended = "\
curl \
dhcp-client \
hdparm \
lighttpd \
libaio \
lrzsz \
lzo \
mc \
mc-fish \
mc-helpers \
mc-helpers-perl \
mdadm \
minicom \
parted \
quota \
screen \
setserial \
sysstat \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'udev-extraconf', d)} \
unzip \
watchdog \
wget \
which \
xinetd \
zip \
"
RDEPENDS_packagegroup-core-db = "\
db \
sqlite3 \
"
RDEPENDS_packagegroup-core-perl = "\
gdbm \
perl \
zlib \
"
RDEPENDS_packagegroup-core-python = "\
expat \
gdbm \
gmp \
ncurses \
openssl \
python \
readline \
zip \
"
RDEPENDS_packagegroup-core-tcl = "\
tcl \
"
# Miscellaneous packages required by LSB (or LSB tests)
RDEPENDS_packagegroup-core-lsb-misc = "\
chkconfig \
gettext \
gettext-runtime \
groff \
lsbinitscripts \
lsbtest \
lsof \
strace \
libusb1 \
usbutils \
rpm \
"
SUMMARY_packagegroup-core-lsb-core = "LSB Core"
DESCRIPTION_packagegroup-core-lsb-core = "Packages required to support commands/libraries \
specified in the LSB Core specification"
RDEPENDS_packagegroup-core-lsb-core = "\
at \
bash \
bc \
binutils \
binutils-symlinks \
bzip2 \
coreutils \
cpio \
cronie \
cups \
diffutils \
ed \
glibc-utils \
elfutils \
file \
findutils \
fontconfig-utils \
foomatic-filters \
gawk \
ghostscript \
grep \
gzip \
localedef \
lsb \
m4 \
make \
man \
man-pages \
msmtp \
patch \
procps \
psmisc \
sed \
shadow \
tar \
time \
util-linux \
xdg-utils \
\
glibc \
libgcc \
libpam \
libxml2 \
ncurses \
zlib \
nspr \
nss \
"
SUMMARY_packagegroup-core-lsb-perl = "LSB Runtime Languages (Perl)"
DESCRIPTION_packagegroup-core-lsb-perl = "Packages required to support libraries \
specified in the LSB Runtime languages specification (Perl parts)"
RDEPENDS_packagegroup-core-lsb-perl = "\
perl \
perl-modules \
perl-misc \
perl-pod \
perl-dev \
perl-doc \
"
SUMMARY_packagegroup-core-lsb-python = "LSB Runtime Languages (Python)"
DESCRIPTION_packagegroup-core-lsb-python = "Packages required to support libraries \
specified in the LSB Runtime languages specification (Python parts)"
RDEPENDS_packagegroup-core-lsb-python = "\
python \
python-modules \
python-misc \
"
SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \
specified in the LSB Desktop specification"
RDEPENDS_packagegroup-core-lsb-desktop = "\
libxt \
libxxf86vm \
libdrm \
libglu \
libxi \
libxtst \
libx11-locale \
xorg-minimal-fonts \
gdk-pixbuf-loader-ico \
gdk-pixbuf-loader-bmp \
gdk-pixbuf-loader-ani \
gdk-pixbuf-xlib \
liberation-fonts \
alsa-lib \
"
RDEPENDS_packagegroup-core-lsb-runtime-add = "\
ldd \
pam-plugin-wheel \
e2fsprogs-mke2fs \
mkfontdir \
liburi-perl \
libxml-parser-perl \
libxml-perl \
libxml-sax-perl \
glibc-localedatas \
glibc-gconvs \
glibc-charmaps \
glibc-binaries \
glibc-localedata-posix \
glibc-extra-nss \
glibc-pcprofile \
"