Patchwork [01/38] *-basic: rename to *-standardlinux

login
register
mail settings
Submitter Paul Eggleton
Date Dec. 28, 2013, 10:28 p.m.
Message ID <adab38ead3101f3c88240606dc40ee629cac6f79.1388269205.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/63777/
State New
Headers show

Comments

Paul Eggleton - Dec. 28, 2013, 10:28 p.m.
This more accurately represents what this image and packagegroup are
intended to provide, and avoids confusion with the similarly named
core-image-base and packagegroup-base.

Part of the fix for [YOCTO #2424].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-extended/images/core-image-lsb.bb     |   2 +-
 ...-image-basic.bb => core-image-standardlinux.bb} |   2 +-
 .../packagegroups/packagegroup-core-basic.bb       | 138 -----------------
 .../packagegroup-core-standardlinux.bb             | 163 +++++++++++++++++++++
 .../recipes-graphics/images/core-image-directfb.bb |   2 +-
 5 files changed, 166 insertions(+), 141 deletions(-)
 rename meta/recipes-extended/images/{core-image-basic.bb => core-image-standardlinux.bb} (87%)
 delete mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
 create mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
Saul Wold - Dec. 29, 2013, 11:46 p.m.
This will need a heads up to Beth to fix the autobuilder since we build 
the -basic target for the -lsb builds, it will need to change also.

Sau!


On 12/28/2013 02:28 PM, Paul Eggleton wrote:
> This more accurately represents what this image and packagegroup are
> intended to provide, and avoids confusion with the similarly named
> core-image-base and packagegroup-base.
>
> Part of the fix for [YOCTO #2424].
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>   meta/recipes-extended/images/core-image-lsb.bb     |   2 +-
>   ...-image-basic.bb => core-image-standardlinux.bb} |   2 +-
>   .../packagegroups/packagegroup-core-basic.bb       | 138 -----------------
>   .../packagegroup-core-standardlinux.bb             | 163 +++++++++++++++++++++
>   .../recipes-graphics/images/core-image-directfb.bb |   2 +-
>   5 files changed, 166 insertions(+), 141 deletions(-)
>   rename meta/recipes-extended/images/{core-image-basic.bb => core-image-standardlinux.bb} (87%)
>   delete mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
>   create mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
>
> diff --git a/meta/recipes-extended/images/core-image-lsb.bb b/meta/recipes-extended/images/core-image-lsb.bb
> index f22d199..713a48e 100644
> --- a/meta/recipes-extended/images/core-image-lsb.bb
> +++ b/meta/recipes-extended/images/core-image-lsb.bb
> @@ -6,7 +6,7 @@ IMAGE_FEATURES += "splash ssh-server-openssh hwcodecs package-management"
>
>   IMAGE_INSTALL = "\
>       ${CORE_IMAGE_BASE_INSTALL} \
> -    packagegroup-core-basic \
> +    packagegroup-core-standardlinux \
>       packagegroup-core-lsb \
>       "
>
> diff --git a/meta/recipes-extended/images/core-image-basic.bb b/meta/recipes-extended/images/core-image-standardlinux.bb
> similarity index 87%
> rename from meta/recipes-extended/images/core-image-basic.bb
> rename to meta/recipes-extended/images/core-image-standardlinux.bb
> index d599e72..19985a9 100644
> --- a/meta/recipes-extended/images/core-image-basic.bb
> +++ b/meta/recipes-extended/images/core-image-standardlinux.bb
> @@ -5,7 +5,7 @@ IMAGE_FEATURES += "splash ssh-server-openssh"
>
>   IMAGE_INSTALL = "\
>       packagegroup-core-boot \
> -    packagegroup-core-basic \
> +    packagegroup-core-standardlinux \
>       ${CORE_IMAGE_EXTRA_INSTALL} \
>       "
>
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
> deleted file mode 100644
> index c89923d..0000000
> --- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
> +++ /dev/null
> @@ -1,138 +0,0 @@
> -#
> -# Copyright (C) 2010 Intel Corporation
> -#
> -
> -DESCRIPTION = "Create Basic Image Tasks"
> -PR = "r6"
> -LICENSE = "MIT"
> -
> -inherit packagegroup
> -
> -PACKAGES = "\
> -    packagegroup-core-basic \
> -    packagegroup-core-basic-libs \
> -    packagegroup-core-basic-utils \
> -    packagegroup-core-basic-extended \
> -    packagegroup-core-dev-utils \
> -    packagegroup-core-multiuser \
> -    packagegroup-core-initscripts \
> -    packagegroup-core-sys-services \
> -    "
> -
> -python __anonymous () {
> -    # For backwards compatibility after rename
> -    packages = d.getVar("PACKAGES", True).split()
> -    for pkg in packages:
> -        d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> -        d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> -        d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> -}
> -
> -
> -RDEPENDS_packagegroup-core-basic = "\
> -    packagegroup-core-basic-libs \
> -    packagegroup-core-basic-utils \
> -    packagegroup-core-basic-extended \
> -    packagegroup-core-dev-utils \
> -    packagegroup-core-multiuser \
> -    packagegroup-core-initscripts \
> -    packagegroup-core-sys-services \
> -    "
> -
> -RDEPENDS_packagegroup-core-basic-libs = "\
> -    glib-2.0 \
> -    "
> -
> -RDEPENDS_packagegroup-core-basic-utils = "\
> -    bash \
> -    acl \
> -    attr \
> -    bc \
> -    coreutils \
> -    cpio \
> -    e2fsprogs \
> -    ed \
> -    file \
> -    findutils \
> -    gawk \
> -    gmp \
> -    grep \
> -    makedevs \
> -    mc \
> -    mc-fish \
> -    mc-helpers \
> -    mc-helpers-perl \
> -    mc-helpers-python \
> -    mktemp \
> -    ncurses \
> -    net-tools \
> -    pax \
> -    popt \
> -    procps \
> -    psmisc \
> -    sed \
> -    tar \
> -    time \
> -    util-linux \
> -    zlib \
> -    "
> -
> -RDEPENDS_packagegroup-core-basic-extended = "\
> -    iproute2 \
> -    iputils \
> -    iptables \
> -    module-init-tools \
> -    openssl \
> -    "
> -
> -RDEPENDS_packagegroup-core-dev-utils = "\
> -    byacc \
> -    diffutils \
> -    m4 \
> -    make \
> -    patch \
> -    "
> -
> -VIRTUAL-RUNTIME_initscripts ?= "initscripts"
> -VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
> -VIRTUAL-RUNTIME_login_manager ?= "busybox"
> -VIRTUAL-RUNTIME_syslog ?= "sysklogd"
> -RDEPENDS_packagegroup-core-initscripts = "\
> -    ${VIRTUAL-RUNTIME_initscripts} \
> -    ${VIRTUAL-RUNTIME_init_manager} \
> -    ethtool \
> -    ${VIRTUAL-RUNTIME_login_manager} \
> -    ${VIRTUAL-RUNTIME_syslog} \
> -    "
> -
> -RDEPENDS_packagegroup-core-multiuser = "\
> -    cracklib \
> -    gzip \
> -    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
> -    shadow \
> -    sudo \
> -    "
> -
> -RDEPENDS_packagegroup-core-sys-services = "\
> -    at \
> -    bzip2 \
> -    cronie \
> -    dbus \
> -    dbus-glib \
> -    python-dbus \
> -    elfutils \
> -    gzip \
> -    less \
> -    libcap \
> -    libevent \
> -    lighttpd \
> -    logrotate \
> -    nfs-utils \
> -    pciutils \
> -    libpcre \
> -    rpcbind \
> -    sysfsutils \
> -    tcp-wrappers \
> -    tzdata \
> -    "
> -
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
> new file mode 100644
> index 0000000..3b04067
> --- /dev/null
> +++ b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
> @@ -0,0 +1,163 @@
> +#
> +# Copyright (C) 2010 Intel Corporation
> +#
> +
> +SUMMARY = "Standard full-featured Linux system"
> +DESCRIPTION = "Package group bringing in packages needed for a more traditional full-featured Linux system"
> +PR = "r6"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +PACKAGES = "\
> +    packagegroup-core-standardlinux \
> +    packagegroup-core-standardlinux-libs \
> +    packagegroup-core-standardlinux-utils \
> +    packagegroup-core-standardlinux-extended \
> +    packagegroup-core-standardlinux-dev-utils \
> +    packagegroup-core-standardlinux-multiuser \
> +    packagegroup-core-standardlinux-initscripts \
> +    packagegroup-core-standardlinux-sys-services \
> +    "
> +
> +python __anonymous () {
> +    # For backwards compatibility after rename
> +    namemap = {}
> +    namemap["packagegroup-core-standardlinux"] = "packagegroup-core-basic"
> +    namemap["packagegroup-core-standardlinux-libs"] = "packagegroup-core-basic-libs"
> +    namemap["packagegroup-core-standardlinux-utils"] = "packagegroup-core-basic-utils"
> +    namemap["packagegroup-core-standardlinux-extended"] = "packagegroup-core-basic-extended"
> +    namemap["packagegroup-core-standardlinux-dev-utils"] = "packagegroup-core-dev-utils"
> +    namemap["packagegroup-core-standardlinux-multiuser"] = "packagegroup-core-multiuser"
> +    namemap["packagegroup-core-standardlinux-initscripts"] = "packagegroup-core-initscripts"
> +    namemap["packagegroup-core-standardlinux-sys-services"] = "packagegroup-core-sys-services"
> +
> +    packages = d.getVar("PACKAGES", True).split()
> +    for pkg in packages:
> +        if pkg.endswith('-dev'):
> +            mapped = namemap.get(pkg[:-4], None)
> +            if mapped:
> +                mapped += '-dev'
> +        elif pkg.endswith('-dbg'):
> +            mapped = namemap.get(pkg[:-4], None)
> +            if mapped:
> +                mapped += '-dbg'
> +        else:
> +            mapped = namemap.get(pkg, None)
> +
> +        if mapped:
> +            oldtaskname = mapped.replace("packagegroup-core", "task-core")
> +            mapstr = " %s %s" % (mapped, oldtaskname)
> +            d.appendVar("RPROVIDES_%s" % pkg, mapstr)
> +            d.appendVar("RREPLACES_%s" % pkg, mapstr)
> +            d.appendVar("RCONFLICTS_%s" % pkg, mapstr)
> +}
> +
> +
> +RDEPENDS_packagegroup-core-standardlinux = "\
> +    packagegroup-core-standardlinux-libs \
> +    packagegroup-core-standardlinux-utils \
> +    packagegroup-core-standardlinux-extended \
> +    packagegroup-core-standardlinux-dev-utils \
> +    packagegroup-core-standardlinux-multiuser \
> +    packagegroup-core-standardlinux-initscripts \
> +    packagegroup-core-standardlinux-sys-services \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-libs = "\
> +    glib-2.0 \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-utils = "\
> +    bash \
> +    acl \
> +    attr \
> +    bc \
> +    coreutils \
> +    cpio \
> +    e2fsprogs \
> +    ed \
> +    file \
> +    findutils \
> +    gawk \
> +    gmp \
> +    grep \
> +    makedevs \
> +    mc \
> +    mc-fish \
> +    mc-helpers \
> +    mc-helpers-perl \
> +    mc-helpers-python \
> +    mktemp \
> +    ncurses \
> +    net-tools \
> +    pax \
> +    popt \
> +    procps \
> +    psmisc \
> +    sed \
> +    tar \
> +    time \
> +    util-linux \
> +    zlib \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-extended = "\
> +    iproute2 \
> +    iputils \
> +    iptables \
> +    module-init-tools \
> +    openssl \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-dev-utils = "\
> +    byacc \
> +    diffutils \
> +    m4 \
> +    make \
> +    patch \
> +    "
> +
> +VIRTUAL-RUNTIME_initscripts ?= "initscripts"
> +VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
> +VIRTUAL-RUNTIME_login_manager ?= "busybox"
> +VIRTUAL-RUNTIME_syslog ?= "sysklogd"
> +RDEPENDS_packagegroup-core-standardlinux-initscripts = "\
> +    ${VIRTUAL-RUNTIME_initscripts} \
> +    ${VIRTUAL-RUNTIME_init_manager} \
> +    ethtool \
> +    ${VIRTUAL-RUNTIME_login_manager} \
> +    ${VIRTUAL-RUNTIME_syslog} \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-multiuser = "\
> +    cracklib \
> +    gzip \
> +    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
> +    shadow \
> +    sudo \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-sys-services = "\
> +    at \
> +    bzip2 \
> +    cronie \
> +    dbus \
> +    dbus-glib \
> +    python-dbus \
> +    elfutils \
> +    gzip \
> +    less \
> +    libcap \
> +    libevent \
> +    lighttpd \
> +    logrotate \
> +    nfs-utils \
> +    pciutils \
> +    libpcre \
> +    rpcbind \
> +    sysfsutils \
> +    tcp-wrappers \
> +    tzdata \
> +    "
> +
> diff --git a/meta/recipes-graphics/images/core-image-directfb.bb b/meta/recipes-graphics/images/core-image-directfb.bb
> index 0c6c882..20588f0 100644
> --- a/meta/recipes-graphics/images/core-image-directfb.bb
> +++ b/meta/recipes-graphics/images/core-image-directfb.bb
> @@ -12,6 +12,6 @@ CONFLICT_DISTRO_FEATURES = "x11"
>
>   IMAGE_INSTALL += "\
>   	${CORE_IMAGE_BASE_INSTALL} \
> -	packagegroup-core-basic \
> +	packagegroup-core-standardlinux \
>   	packagegroup-core-directfb \
>   "
>
Robert Yang - Dec. 30, 2013, 1:35 a.m.
Hi Paul,

I'm afraid that the standardlinux maybe a little confused with
linuxstdbase, bu I don't have any better idea about it.

// Robert


On 12/29/2013 06:28 AM, Paul Eggleton wrote:
> This more accurately represents what this image and packagegroup are
> intended to provide, and avoids confusion with the similarly named
> core-image-base and packagegroup-base.
>
> Part of the fix for [YOCTO #2424].
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>   meta/recipes-extended/images/core-image-lsb.bb     |   2 +-
>   ...-image-basic.bb => core-image-standardlinux.bb} |   2 +-
>   .../packagegroups/packagegroup-core-basic.bb       | 138 -----------------
>   .../packagegroup-core-standardlinux.bb             | 163 +++++++++++++++++++++
>   .../recipes-graphics/images/core-image-directfb.bb |   2 +-
>   5 files changed, 166 insertions(+), 141 deletions(-)
>   rename meta/recipes-extended/images/{core-image-basic.bb => core-image-standardlinux.bb} (87%)
>   delete mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
>   create mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
>
> diff --git a/meta/recipes-extended/images/core-image-lsb.bb b/meta/recipes-extended/images/core-image-lsb.bb
> index f22d199..713a48e 100644
> --- a/meta/recipes-extended/images/core-image-lsb.bb
> +++ b/meta/recipes-extended/images/core-image-lsb.bb
> @@ -6,7 +6,7 @@ IMAGE_FEATURES += "splash ssh-server-openssh hwcodecs package-management"
>
>   IMAGE_INSTALL = "\
>       ${CORE_IMAGE_BASE_INSTALL} \
> -    packagegroup-core-basic \
> +    packagegroup-core-standardlinux \
>       packagegroup-core-lsb \
>       "
>
> diff --git a/meta/recipes-extended/images/core-image-basic.bb b/meta/recipes-extended/images/core-image-standardlinux.bb
> similarity index 87%
> rename from meta/recipes-extended/images/core-image-basic.bb
> rename to meta/recipes-extended/images/core-image-standardlinux.bb
> index d599e72..19985a9 100644
> --- a/meta/recipes-extended/images/core-image-basic.bb
> +++ b/meta/recipes-extended/images/core-image-standardlinux.bb
> @@ -5,7 +5,7 @@ IMAGE_FEATURES += "splash ssh-server-openssh"
>
>   IMAGE_INSTALL = "\
>       packagegroup-core-boot \
> -    packagegroup-core-basic \
> +    packagegroup-core-standardlinux \
>       ${CORE_IMAGE_EXTRA_INSTALL} \
>       "
>
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
> deleted file mode 100644
> index c89923d..0000000
> --- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
> +++ /dev/null
> @@ -1,138 +0,0 @@
> -#
> -# Copyright (C) 2010 Intel Corporation
> -#
> -
> -DESCRIPTION = "Create Basic Image Tasks"
> -PR = "r6"
> -LICENSE = "MIT"
> -
> -inherit packagegroup
> -
> -PACKAGES = "\
> -    packagegroup-core-basic \
> -    packagegroup-core-basic-libs \
> -    packagegroup-core-basic-utils \
> -    packagegroup-core-basic-extended \
> -    packagegroup-core-dev-utils \
> -    packagegroup-core-multiuser \
> -    packagegroup-core-initscripts \
> -    packagegroup-core-sys-services \
> -    "
> -
> -python __anonymous () {
> -    # For backwards compatibility after rename
> -    packages = d.getVar("PACKAGES", True).split()
> -    for pkg in packages:
> -        d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> -        d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> -        d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> -}
> -
> -
> -RDEPENDS_packagegroup-core-basic = "\
> -    packagegroup-core-basic-libs \
> -    packagegroup-core-basic-utils \
> -    packagegroup-core-basic-extended \
> -    packagegroup-core-dev-utils \
> -    packagegroup-core-multiuser \
> -    packagegroup-core-initscripts \
> -    packagegroup-core-sys-services \
> -    "
> -
> -RDEPENDS_packagegroup-core-basic-libs = "\
> -    glib-2.0 \
> -    "
> -
> -RDEPENDS_packagegroup-core-basic-utils = "\
> -    bash \
> -    acl \
> -    attr \
> -    bc \
> -    coreutils \
> -    cpio \
> -    e2fsprogs \
> -    ed \
> -    file \
> -    findutils \
> -    gawk \
> -    gmp \
> -    grep \
> -    makedevs \
> -    mc \
> -    mc-fish \
> -    mc-helpers \
> -    mc-helpers-perl \
> -    mc-helpers-python \
> -    mktemp \
> -    ncurses \
> -    net-tools \
> -    pax \
> -    popt \
> -    procps \
> -    psmisc \
> -    sed \
> -    tar \
> -    time \
> -    util-linux \
> -    zlib \
> -    "
> -
> -RDEPENDS_packagegroup-core-basic-extended = "\
> -    iproute2 \
> -    iputils \
> -    iptables \
> -    module-init-tools \
> -    openssl \
> -    "
> -
> -RDEPENDS_packagegroup-core-dev-utils = "\
> -    byacc \
> -    diffutils \
> -    m4 \
> -    make \
> -    patch \
> -    "
> -
> -VIRTUAL-RUNTIME_initscripts ?= "initscripts"
> -VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
> -VIRTUAL-RUNTIME_login_manager ?= "busybox"
> -VIRTUAL-RUNTIME_syslog ?= "sysklogd"
> -RDEPENDS_packagegroup-core-initscripts = "\
> -    ${VIRTUAL-RUNTIME_initscripts} \
> -    ${VIRTUAL-RUNTIME_init_manager} \
> -    ethtool \
> -    ${VIRTUAL-RUNTIME_login_manager} \
> -    ${VIRTUAL-RUNTIME_syslog} \
> -    "
> -
> -RDEPENDS_packagegroup-core-multiuser = "\
> -    cracklib \
> -    gzip \
> -    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
> -    shadow \
> -    sudo \
> -    "
> -
> -RDEPENDS_packagegroup-core-sys-services = "\
> -    at \
> -    bzip2 \
> -    cronie \
> -    dbus \
> -    dbus-glib \
> -    python-dbus \
> -    elfutils \
> -    gzip \
> -    less \
> -    libcap \
> -    libevent \
> -    lighttpd \
> -    logrotate \
> -    nfs-utils \
> -    pciutils \
> -    libpcre \
> -    rpcbind \
> -    sysfsutils \
> -    tcp-wrappers \
> -    tzdata \
> -    "
> -
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
> new file mode 100644
> index 0000000..3b04067
> --- /dev/null
> +++ b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
> @@ -0,0 +1,163 @@
> +#
> +# Copyright (C) 2010 Intel Corporation
> +#
> +
> +SUMMARY = "Standard full-featured Linux system"
> +DESCRIPTION = "Package group bringing in packages needed for a more traditional full-featured Linux system"
> +PR = "r6"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +PACKAGES = "\
> +    packagegroup-core-standardlinux \
> +    packagegroup-core-standardlinux-libs \
> +    packagegroup-core-standardlinux-utils \
> +    packagegroup-core-standardlinux-extended \
> +    packagegroup-core-standardlinux-dev-utils \
> +    packagegroup-core-standardlinux-multiuser \
> +    packagegroup-core-standardlinux-initscripts \
> +    packagegroup-core-standardlinux-sys-services \
> +    "
> +
> +python __anonymous () {
> +    # For backwards compatibility after rename
> +    namemap = {}
> +    namemap["packagegroup-core-standardlinux"] = "packagegroup-core-basic"
> +    namemap["packagegroup-core-standardlinux-libs"] = "packagegroup-core-basic-libs"
> +    namemap["packagegroup-core-standardlinux-utils"] = "packagegroup-core-basic-utils"
> +    namemap["packagegroup-core-standardlinux-extended"] = "packagegroup-core-basic-extended"
> +    namemap["packagegroup-core-standardlinux-dev-utils"] = "packagegroup-core-dev-utils"
> +    namemap["packagegroup-core-standardlinux-multiuser"] = "packagegroup-core-multiuser"
> +    namemap["packagegroup-core-standardlinux-initscripts"] = "packagegroup-core-initscripts"
> +    namemap["packagegroup-core-standardlinux-sys-services"] = "packagegroup-core-sys-services"
> +
> +    packages = d.getVar("PACKAGES", True).split()
> +    for pkg in packages:
> +        if pkg.endswith('-dev'):
> +            mapped = namemap.get(pkg[:-4], None)
> +            if mapped:
> +                mapped += '-dev'
> +        elif pkg.endswith('-dbg'):
> +            mapped = namemap.get(pkg[:-4], None)
> +            if mapped:
> +                mapped += '-dbg'
> +        else:
> +            mapped = namemap.get(pkg, None)
> +
> +        if mapped:
> +            oldtaskname = mapped.replace("packagegroup-core", "task-core")
> +            mapstr = " %s %s" % (mapped, oldtaskname)
> +            d.appendVar("RPROVIDES_%s" % pkg, mapstr)
> +            d.appendVar("RREPLACES_%s" % pkg, mapstr)
> +            d.appendVar("RCONFLICTS_%s" % pkg, mapstr)
> +}
> +
> +
> +RDEPENDS_packagegroup-core-standardlinux = "\
> +    packagegroup-core-standardlinux-libs \
> +    packagegroup-core-standardlinux-utils \
> +    packagegroup-core-standardlinux-extended \
> +    packagegroup-core-standardlinux-dev-utils \
> +    packagegroup-core-standardlinux-multiuser \
> +    packagegroup-core-standardlinux-initscripts \
> +    packagegroup-core-standardlinux-sys-services \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-libs = "\
> +    glib-2.0 \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-utils = "\
> +    bash \
> +    acl \
> +    attr \
> +    bc \
> +    coreutils \
> +    cpio \
> +    e2fsprogs \
> +    ed \
> +    file \
> +    findutils \
> +    gawk \
> +    gmp \
> +    grep \
> +    makedevs \
> +    mc \
> +    mc-fish \
> +    mc-helpers \
> +    mc-helpers-perl \
> +    mc-helpers-python \
> +    mktemp \
> +    ncurses \
> +    net-tools \
> +    pax \
> +    popt \
> +    procps \
> +    psmisc \
> +    sed \
> +    tar \
> +    time \
> +    util-linux \
> +    zlib \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-extended = "\
> +    iproute2 \
> +    iputils \
> +    iptables \
> +    module-init-tools \
> +    openssl \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-dev-utils = "\
> +    byacc \
> +    diffutils \
> +    m4 \
> +    make \
> +    patch \
> +    "
> +
> +VIRTUAL-RUNTIME_initscripts ?= "initscripts"
> +VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
> +VIRTUAL-RUNTIME_login_manager ?= "busybox"
> +VIRTUAL-RUNTIME_syslog ?= "sysklogd"
> +RDEPENDS_packagegroup-core-standardlinux-initscripts = "\
> +    ${VIRTUAL-RUNTIME_initscripts} \
> +    ${VIRTUAL-RUNTIME_init_manager} \
> +    ethtool \
> +    ${VIRTUAL-RUNTIME_login_manager} \
> +    ${VIRTUAL-RUNTIME_syslog} \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-multiuser = "\
> +    cracklib \
> +    gzip \
> +    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
> +    shadow \
> +    sudo \
> +    "
> +
> +RDEPENDS_packagegroup-core-standardlinux-sys-services = "\
> +    at \
> +    bzip2 \
> +    cronie \
> +    dbus \
> +    dbus-glib \
> +    python-dbus \
> +    elfutils \
> +    gzip \
> +    less \
> +    libcap \
> +    libevent \
> +    lighttpd \
> +    logrotate \
> +    nfs-utils \
> +    pciutils \
> +    libpcre \
> +    rpcbind \
> +    sysfsutils \
> +    tcp-wrappers \
> +    tzdata \
> +    "
> +
> diff --git a/meta/recipes-graphics/images/core-image-directfb.bb b/meta/recipes-graphics/images/core-image-directfb.bb
> index 0c6c882..20588f0 100644
> --- a/meta/recipes-graphics/images/core-image-directfb.bb
> +++ b/meta/recipes-graphics/images/core-image-directfb.bb
> @@ -12,6 +12,6 @@ CONFLICT_DISTRO_FEATURES = "x11"
>
>   IMAGE_INSTALL += "\
>   	${CORE_IMAGE_BASE_INSTALL} \
> -	packagegroup-core-basic \
> +	packagegroup-core-standardlinux \
>   	packagegroup-core-directfb \
>   "
>
Paul Eggleton - Dec. 30, 2013, 12:59 p.m.
Hi Robert,

On Monday 30 December 2013 09:35:18 Robert Yang wrote:
> I'm afraid that the standardlinux maybe a little confused with
> linuxstdbase, bu I don't have any better idea about it.

You could be right. I've thought for a long time about renaming this and 
haven't been able to come up with anything better. On the other hand, in our 
current configuration we are actually using the basic/standardlinux 
packagegroup as part of our LSB images; although that might not be the right 
thing to continue doing - LSB probably ought to be independent.

FWIW, let's consider this particular patch as RFC, maybe someone else has a 
better idea of what to name it. I am very much convinced that "basic" is not 
the right name though.

Cheers,
Paul
Elizabeth Flanagan - Jan. 2, 2014, 5:04 p.m.
Yes,

This will need a LAYERVERSION_core bump and I'll need to do the
appropriate things for the autobuilder on my end before it goes in.

-b

On Sun, Dec 29, 2013 at 11:46 PM, Saul Wold <sgw@linux.intel.com> wrote:
>
> This will need a heads up to Beth to fix the autobuilder since we build the
> -basic target for the -lsb builds, it will need to change also.
>
> Sau!
>
>
> On 12/28/2013 02:28 PM, Paul Eggleton wrote:
>>
>> This more accurately represents what this image and packagegroup are
>> intended to provide, and avoids confusion with the similarly named
>> core-image-base and packagegroup-base.
>>
>> Part of the fix for [YOCTO #2424].
>>
>> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
>> ---
>>   meta/recipes-extended/images/core-image-lsb.bb     |   2 +-
>>   ...-image-basic.bb => core-image-standardlinux.bb} |   2 +-
>>   .../packagegroups/packagegroup-core-basic.bb       | 138
>> -----------------
>>   .../packagegroup-core-standardlinux.bb             | 163
>> +++++++++++++++++++++
>>   .../recipes-graphics/images/core-image-directfb.bb |   2 +-
>>   5 files changed, 166 insertions(+), 141 deletions(-)
>>   rename meta/recipes-extended/images/{core-image-basic.bb =>
>> core-image-standardlinux.bb} (87%)
>>   delete mode 100644
>> meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
>>   create mode 100644
>> meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
>>
>> diff --git a/meta/recipes-extended/images/core-image-lsb.bb
>> b/meta/recipes-extended/images/core-image-lsb.bb
>> index f22d199..713a48e 100644
>> --- a/meta/recipes-extended/images/core-image-lsb.bb
>> +++ b/meta/recipes-extended/images/core-image-lsb.bb
>> @@ -6,7 +6,7 @@ IMAGE_FEATURES += "splash ssh-server-openssh hwcodecs
>> package-management"
>>
>>   IMAGE_INSTALL = "\
>>       ${CORE_IMAGE_BASE_INSTALL} \
>> -    packagegroup-core-basic \
>> +    packagegroup-core-standardlinux \
>>       packagegroup-core-lsb \
>>       "
>>
>> diff --git a/meta/recipes-extended/images/core-image-basic.bb
>> b/meta/recipes-extended/images/core-image-standardlinux.bb
>> similarity index 87%
>> rename from meta/recipes-extended/images/core-image-basic.bb
>> rename to meta/recipes-extended/images/core-image-standardlinux.bb
>> index d599e72..19985a9 100644
>> --- a/meta/recipes-extended/images/core-image-basic.bb
>> +++ b/meta/recipes-extended/images/core-image-standardlinux.bb
>> @@ -5,7 +5,7 @@ IMAGE_FEATURES += "splash ssh-server-openssh"
>>
>>   IMAGE_INSTALL = "\
>>       packagegroup-core-boot \
>> -    packagegroup-core-basic \
>> +    packagegroup-core-standardlinux \
>>       ${CORE_IMAGE_EXTRA_INSTALL} \
>>       "
>>
>> diff --git
>> a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
>> b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
>> deleted file mode 100644
>> index c89923d..0000000
>> --- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
>> +++ /dev/null
>> @@ -1,138 +0,0 @@
>> -#
>> -# Copyright (C) 2010 Intel Corporation
>> -#
>> -
>> -DESCRIPTION = "Create Basic Image Tasks"
>> -PR = "r6"
>> -LICENSE = "MIT"
>> -
>> -inherit packagegroup
>> -
>> -PACKAGES = "\
>> -    packagegroup-core-basic \
>> -    packagegroup-core-basic-libs \
>> -    packagegroup-core-basic-utils \
>> -    packagegroup-core-basic-extended \
>> -    packagegroup-core-dev-utils \
>> -    packagegroup-core-multiuser \
>> -    packagegroup-core-initscripts \
>> -    packagegroup-core-sys-services \
>> -    "
>> -
>> -python __anonymous () {
>> -    # For backwards compatibility after rename
>> -    packages = d.getVar("PACKAGES", True).split()
>> -    for pkg in packages:
>> -        d.appendVar("RPROVIDES_%s" % pkg,
>> pkg.replace("packagegroup-core", "task-core"))
>> -        d.appendVar("RREPLACES_%s" % pkg,
>> pkg.replace("packagegroup-core", "task-core"))
>> -        d.appendVar("RCONFLICTS_%s" % pkg,
>> pkg.replace("packagegroup-core", "task-core"))
>> -}
>> -
>> -
>> -RDEPENDS_packagegroup-core-basic = "\
>> -    packagegroup-core-basic-libs \
>> -    packagegroup-core-basic-utils \
>> -    packagegroup-core-basic-extended \
>> -    packagegroup-core-dev-utils \
>> -    packagegroup-core-multiuser \
>> -    packagegroup-core-initscripts \
>> -    packagegroup-core-sys-services \
>> -    "
>> -
>> -RDEPENDS_packagegroup-core-basic-libs = "\
>> -    glib-2.0 \
>> -    "
>> -
>> -RDEPENDS_packagegroup-core-basic-utils = "\
>> -    bash \
>> -    acl \
>> -    attr \
>> -    bc \
>> -    coreutils \
>> -    cpio \
>> -    e2fsprogs \
>> -    ed \
>> -    file \
>> -    findutils \
>> -    gawk \
>> -    gmp \
>> -    grep \
>> -    makedevs \
>> -    mc \
>> -    mc-fish \
>> -    mc-helpers \
>> -    mc-helpers-perl \
>> -    mc-helpers-python \
>> -    mktemp \
>> -    ncurses \
>> -    net-tools \
>> -    pax \
>> -    popt \
>> -    procps \
>> -    psmisc \
>> -    sed \
>> -    tar \
>> -    time \
>> -    util-linux \
>> -    zlib \
>> -    "
>> -
>> -RDEPENDS_packagegroup-core-basic-extended = "\
>> -    iproute2 \
>> -    iputils \
>> -    iptables \
>> -    module-init-tools \
>> -    openssl \
>> -    "
>> -
>> -RDEPENDS_packagegroup-core-dev-utils = "\
>> -    byacc \
>> -    diffutils \
>> -    m4 \
>> -    make \
>> -    patch \
>> -    "
>> -
>> -VIRTUAL-RUNTIME_initscripts ?= "initscripts"
>> -VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
>> -VIRTUAL-RUNTIME_login_manager ?= "busybox"
>> -VIRTUAL-RUNTIME_syslog ?= "sysklogd"
>> -RDEPENDS_packagegroup-core-initscripts = "\
>> -    ${VIRTUAL-RUNTIME_initscripts} \
>> -    ${VIRTUAL-RUNTIME_init_manager} \
>> -    ethtool \
>> -    ${VIRTUAL-RUNTIME_login_manager} \
>> -    ${VIRTUAL-RUNTIME_syslog} \
>> -    "
>> -
>> -RDEPENDS_packagegroup-core-multiuser = "\
>> -    cracklib \
>> -    gzip \
>> -    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
>> -    shadow \
>> -    sudo \
>> -    "
>> -
>> -RDEPENDS_packagegroup-core-sys-services = "\
>> -    at \
>> -    bzip2 \
>> -    cronie \
>> -    dbus \
>> -    dbus-glib \
>> -    python-dbus \
>> -    elfutils \
>> -    gzip \
>> -    less \
>> -    libcap \
>> -    libevent \
>> -    lighttpd \
>> -    logrotate \
>> -    nfs-utils \
>> -    pciutils \
>> -    libpcre \
>> -    rpcbind \
>> -    sysfsutils \
>> -    tcp-wrappers \
>> -    tzdata \
>> -    "
>> -
>> diff --git
>> a/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
>> b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
>> new file mode 100644
>> index 0000000..3b04067
>> --- /dev/null
>> +++
>> b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
>> @@ -0,0 +1,163 @@
>> +#
>> +# Copyright (C) 2010 Intel Corporation
>> +#
>> +
>> +SUMMARY = "Standard full-featured Linux system"
>> +DESCRIPTION = "Package group bringing in packages needed for a more
>> traditional full-featured Linux system"
>> +PR = "r6"
>> +LICENSE = "MIT"
>> +
>> +inherit packagegroup
>> +
>> +PACKAGES = "\
>> +    packagegroup-core-standardlinux \
>> +    packagegroup-core-standardlinux-libs \
>> +    packagegroup-core-standardlinux-utils \
>> +    packagegroup-core-standardlinux-extended \
>> +    packagegroup-core-standardlinux-dev-utils \
>> +    packagegroup-core-standardlinux-multiuser \
>> +    packagegroup-core-standardlinux-initscripts \
>> +    packagegroup-core-standardlinux-sys-services \
>> +    "
>> +
>> +python __anonymous () {
>> +    # For backwards compatibility after rename
>> +    namemap = {}
>> +    namemap["packagegroup-core-standardlinux"] =
>> "packagegroup-core-basic"
>> +    namemap["packagegroup-core-standardlinux-libs"] =
>> "packagegroup-core-basic-libs"
>> +    namemap["packagegroup-core-standardlinux-utils"] =
>> "packagegroup-core-basic-utils"
>> +    namemap["packagegroup-core-standardlinux-extended"] =
>> "packagegroup-core-basic-extended"
>> +    namemap["packagegroup-core-standardlinux-dev-utils"] =
>> "packagegroup-core-dev-utils"
>> +    namemap["packagegroup-core-standardlinux-multiuser"] =
>> "packagegroup-core-multiuser"
>> +    namemap["packagegroup-core-standardlinux-initscripts"] =
>> "packagegroup-core-initscripts"
>> +    namemap["packagegroup-core-standardlinux-sys-services"] =
>> "packagegroup-core-sys-services"
>> +
>> +    packages = d.getVar("PACKAGES", True).split()
>> +    for pkg in packages:
>> +        if pkg.endswith('-dev'):
>> +            mapped = namemap.get(pkg[:-4], None)
>> +            if mapped:
>> +                mapped += '-dev'
>> +        elif pkg.endswith('-dbg'):
>> +            mapped = namemap.get(pkg[:-4], None)
>> +            if mapped:
>> +                mapped += '-dbg'
>> +        else:
>> +            mapped = namemap.get(pkg, None)
>> +
>> +        if mapped:
>> +            oldtaskname = mapped.replace("packagegroup-core",
>> "task-core")
>> +            mapstr = " %s %s" % (mapped, oldtaskname)
>> +            d.appendVar("RPROVIDES_%s" % pkg, mapstr)
>> +            d.appendVar("RREPLACES_%s" % pkg, mapstr)
>> +            d.appendVar("RCONFLICTS_%s" % pkg, mapstr)
>> +}
>> +
>> +
>> +RDEPENDS_packagegroup-core-standardlinux = "\
>> +    packagegroup-core-standardlinux-libs \
>> +    packagegroup-core-standardlinux-utils \
>> +    packagegroup-core-standardlinux-extended \
>> +    packagegroup-core-standardlinux-dev-utils \
>> +    packagegroup-core-standardlinux-multiuser \
>> +    packagegroup-core-standardlinux-initscripts \
>> +    packagegroup-core-standardlinux-sys-services \
>> +    "
>> +
>> +RDEPENDS_packagegroup-core-standardlinux-libs = "\
>> +    glib-2.0 \
>> +    "
>> +
>> +RDEPENDS_packagegroup-core-standardlinux-utils = "\
>> +    bash \
>> +    acl \
>> +    attr \
>> +    bc \
>> +    coreutils \
>> +    cpio \
>> +    e2fsprogs \
>> +    ed \
>> +    file \
>> +    findutils \
>> +    gawk \
>> +    gmp \
>> +    grep \
>> +    makedevs \
>> +    mc \
>> +    mc-fish \
>> +    mc-helpers \
>> +    mc-helpers-perl \
>> +    mc-helpers-python \
>> +    mktemp \
>> +    ncurses \
>> +    net-tools \
>> +    pax \
>> +    popt \
>> +    procps \
>> +    psmisc \
>> +    sed \
>> +    tar \
>> +    time \
>> +    util-linux \
>> +    zlib \
>> +    "
>> +
>> +RDEPENDS_packagegroup-core-standardlinux-extended = "\
>> +    iproute2 \
>> +    iputils \
>> +    iptables \
>> +    module-init-tools \
>> +    openssl \
>> +    "
>> +
>> +RDEPENDS_packagegroup-core-standardlinux-dev-utils = "\
>> +    byacc \
>> +    diffutils \
>> +    m4 \
>> +    make \
>> +    patch \
>> +    "
>> +
>> +VIRTUAL-RUNTIME_initscripts ?= "initscripts"
>> +VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
>> +VIRTUAL-RUNTIME_login_manager ?= "busybox"
>> +VIRTUAL-RUNTIME_syslog ?= "sysklogd"
>> +RDEPENDS_packagegroup-core-standardlinux-initscripts = "\
>> +    ${VIRTUAL-RUNTIME_initscripts} \
>> +    ${VIRTUAL-RUNTIME_init_manager} \
>> +    ethtool \
>> +    ${VIRTUAL-RUNTIME_login_manager} \
>> +    ${VIRTUAL-RUNTIME_syslog} \
>> +    "
>> +
>> +RDEPENDS_packagegroup-core-standardlinux-multiuser = "\
>> +    cracklib \
>> +    gzip \
>> +    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
>> +    shadow \
>> +    sudo \
>> +    "
>> +
>> +RDEPENDS_packagegroup-core-standardlinux-sys-services = "\
>> +    at \
>> +    bzip2 \
>> +    cronie \
>> +    dbus \
>> +    dbus-glib \
>> +    python-dbus \
>> +    elfutils \
>> +    gzip \
>> +    less \
>> +    libcap \
>> +    libevent \
>> +    lighttpd \
>> +    logrotate \
>> +    nfs-utils \
>> +    pciutils \
>> +    libpcre \
>> +    rpcbind \
>> +    sysfsutils \
>> +    tcp-wrappers \
>> +    tzdata \
>> +    "
>> +
>> diff --git a/meta/recipes-graphics/images/core-image-directfb.bb
>> b/meta/recipes-graphics/images/core-image-directfb.bb
>> index 0c6c882..20588f0 100644
>> --- a/meta/recipes-graphics/images/core-image-directfb.bb
>> +++ b/meta/recipes-graphics/images/core-image-directfb.bb
>> @@ -12,6 +12,6 @@ CONFLICT_DISTRO_FEATURES = "x11"
>>
>>   IMAGE_INSTALL += "\
>>         ${CORE_IMAGE_BASE_INSTALL} \
>> -       packagegroup-core-basic \
>> +       packagegroup-core-standardlinux \
>>         packagegroup-core-directfb \
>>   "
>>
>
Paul Eggleton - Feb. 24, 2014, 4:38 p.m.
On Monday 30 December 2013 12:59:26 Paul Eggleton wrote:
> On Monday 30 December 2013 09:35:18 Robert Yang wrote:
> > I'm afraid that the standardlinux maybe a little confused with
> > linuxstdbase, bu I don't have any better idea about it.
> 
> You could be right. I've thought for a long time about renaming this and
> haven't been able to come up with anything better. On the other hand, in our
> current configuration we are actually using the basic/standardlinux
> packagegroup as part of our LSB images; although that might not be the
> right thing to continue doing - LSB probably ought to be independent.
> 
> FWIW, let's consider this particular patch as RFC, maybe someone else has a
> better idea of what to name it. I am very much convinced that "basic" is not
> the right name though.

So, has anyone got any better ideas for the name of core-image-basic and 
packagegroup-core-basic?

The idea is that these are meant to contain things that you might have on a 
more traditional or full-featured Linux system. Somehow "-traditionallinux" 
doesn't really work either.

Cheers,
Paul
Richard Purdie - Feb. 24, 2014, 5 p.m.
On Mon, 2014-02-24 at 16:38 +0000, Paul Eggleton wrote:
> On Monday 30 December 2013 12:59:26 Paul Eggleton wrote:
> > On Monday 30 December 2013 09:35:18 Robert Yang wrote:
> > > I'm afraid that the standardlinux maybe a little confused with
> > > linuxstdbase, bu I don't have any better idea about it.
> > 
> > You could be right. I've thought for a long time about renaming this and
> > haven't been able to come up with anything better. On the other hand, in our
> > current configuration we are actually using the basic/standardlinux
> > packagegroup as part of our LSB images; although that might not be the
> > right thing to continue doing - LSB probably ought to be independent.
> > 
> > FWIW, let's consider this particular patch as RFC, maybe someone else has a
> > better idea of what to name it. I am very much convinced that "basic" is not
> > the right name though.
> 
> So, has anyone got any better ideas for the name of core-image-basic and 
> packagegroup-core-basic?
> 
> The idea is that these are meant to contain things that you might have on a 
> more traditional or full-featured Linux system. Somehow "-traditionallinux" 
> doesn't really work either.

"fulllinux"?

"linuxcmdline"?

Cheers,

Richard
Mark Hatle - Feb. 24, 2014, 5:17 p.m.
On 2/24/14, 11:00 AM, Richard Purdie wrote:
> On Mon, 2014-02-24 at 16:38 +0000, Paul Eggleton wrote:
>> On Monday 30 December 2013 12:59:26 Paul Eggleton wrote:
>>> On Monday 30 December 2013 09:35:18 Robert Yang wrote:
>>>> I'm afraid that the standardlinux maybe a little confused with
>>>> linuxstdbase, bu I don't have any better idea about it.
>>>
>>> You could be right. I've thought for a long time about renaming this and
>>> haven't been able to come up with anything better. On the other hand, in our
>>> current configuration we are actually using the basic/standardlinux
>>> packagegroup as part of our LSB images; although that might not be the
>>> right thing to continue doing - LSB probably ought to be independent.
>>>
>>> FWIW, let's consider this particular patch as RFC, maybe someone else has a
>>> better idea of what to name it. I am very much convinced that "basic" is not
>>> the right name though.
>>
>> So, has anyone got any better ideas for the name of core-image-basic and
>> packagegroup-core-basic?
>>
>> The idea is that these are meant to contain things that you might have on a
>> more traditional or full-featured Linux system. Somehow "-traditionallinux"
>> doesn't really work either.
>
> "fulllinux"?
>
> "linuxcmdline"?

I've resolved this naming conundrum in the past by simply having a document that 
explains what the name means.  "basic - basic command line utilities"

I agree basic isn't the most descriptive name, but I'm not sure what is.

--Mark

> Cheers,
>
> Richard
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
Richard Purdie - Feb. 24, 2014, 11:01 p.m.
On Mon, 2014-02-24 at 17:00 +0000, Richard Purdie wrote:
> On Mon, 2014-02-24 at 16:38 +0000, Paul Eggleton wrote:
> > On Monday 30 December 2013 12:59:26 Paul Eggleton wrote:
> > > On Monday 30 December 2013 09:35:18 Robert Yang wrote:
> > > > I'm afraid that the standardlinux maybe a little confused with
> > > > linuxstdbase, bu I don't have any better idea about it.
> > > 
> > > You could be right. I've thought for a long time about renaming this and
> > > haven't been able to come up with anything better. On the other hand, in our
> > > current configuration we are actually using the basic/standardlinux
> > > packagegroup as part of our LSB images; although that might not be the
> > > right thing to continue doing - LSB probably ought to be independent.
> > > 
> > > FWIW, let's consider this particular patch as RFC, maybe someone else has a
> > > better idea of what to name it. I am very much convinced that "basic" is not
> > > the right name though.
> > 
> > So, has anyone got any better ideas for the name of core-image-basic and 
> > packagegroup-core-basic?
> > 
> > The idea is that these are meant to contain things that you might have on a 
> > more traditional or full-featured Linux system. Somehow "-traditionallinux" 
> > doesn't really work either.
> 
> "fulllinux"?
> 
> "linuxcmdline"?

I think I'm starting to lean to simply "cmdline"...

Cheers,

Richard
Paul Barker - Feb. 24, 2014, 11:31 p.m.
On 24 February 2014 23:01, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> I think I'm starting to lean to simply "cmdline"...
>

Speaking as a user of OpenEmbedded for about a year or so now: I've
never looked at core-image-basic, had no idea what it contained. I
assumed wrongly that -basic was smaller than -minimal (possibly due to
confusion with base). If I was looking for "an image with all the
common/basic command line tools" I probably wouldn't have looked at
core-image-basic due to my wrong assumption.

core-image-cmdline would, to me, be a lot clearer. Given no further
info I'd probably interpret that as "something with a usable command
line interface". I'd also probably assume it was larger and had more
features than -minimal. I say probably as having read this discussion
I now know what -cmdline would mean, but I think it would have been
clearer to me.

Hope this helps,
Khem Raj - Feb. 25, 2014, 5:53 a.m.
On Mon, Feb 24, 2014 at 8:38 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> So, has anyone got any better ideas for the name of core-image-basic and
> packagegroup-core-basic?
>

baselinux maybe
Saul Wold - Feb. 25, 2014, 6:15 a.m.
On 02/25/2014 07:53 AM, Khem Raj wrote:
> On Mon, Feb 24, 2014 at 8:38 AM, Paul Eggleton
> <paul.eggleton@linux.intel.com> wrote:
>> So, has anyone got any better ideas for the name of core-image-basic and
>> packagegroup-core-basic?
>>
>
> baselinux maybe
>
Longer, but baselinux-cmdline, not to be confused with lsb.

Sau!
Robert Yang - Feb. 25, 2014, 7:14 a.m.
On 02/25/2014 02:15 PM, Saul Wold wrote:
> On 02/25/2014 07:53 AM, Khem Raj wrote:
>> On Mon, Feb 24, 2014 at 8:38 AM, Paul Eggleton
>> <paul.eggleton@linux.intel.com> wrote:
>>> So, has anyone got any better ideas for the name of core-image-basic and
>>> packagegroup-core-basic?
>>>
>>
>> baselinux maybe
>>
> Longer, but baselinux-cmdline, not to be confused with lsb.
>

The baselinux-cmdline sounds clear enough.

// Robert

> Sau!
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
Koen Kooi - Feb. 25, 2014, 12:13 p.m.
Op 24 feb. 2014, om 17:38 heeft Paul Eggleton <paul.eggleton@linux.intel.com> het volgende geschreven:

> On Monday 30 December 2013 12:59:26 Paul Eggleton wrote:
>> On Monday 30 December 2013 09:35:18 Robert Yang wrote:
>>> I'm afraid that the standardlinux maybe a little confused with
>>> linuxstdbase, bu I don't have any better idea about it.
>> 
>> You could be right. I've thought for a long time about renaming this and
>> haven't been able to come up with anything better. On the other hand, in our
>> current configuration we are actually using the basic/standardlinux
>> packagegroup as part of our LSB images; although that might not be the
>> right thing to continue doing - LSB probably ought to be independent.
>> 
>> FWIW, let's consider this particular patch as RFC, maybe someone else has a
>> better idea of what to name it. I am very much convinced that "basic" is not
>> the right name though.
> 
> So, has anyone got any better ideas for the name of core-image-basic and 
> packagegroup-core-basic?
> 
> The idea is that these are meant to contain things that you might have on a 
> more traditional or full-featured Linux system. Somehow "-traditionallinux" 
> doesn't really work either.

Who does it need to contain 'linux'? OE isn't linux specfic and neither are the package groups.
Paul Eggleton - Feb. 25, 2014, 2:23 p.m.
On Tuesday 25 February 2014 13:13:24 Koen Kooi wrote:
> Op 24 feb. 2014, om 17:38 heeft Paul Eggleton 
<paul.eggleton@linux.intel.com> het volgende geschreven:
> > On Monday 30 December 2013 12:59:26 Paul Eggleton wrote:
> >> On Monday 30 December 2013 09:35:18 Robert Yang wrote:
> >>> I'm afraid that the standardlinux maybe a little confused with
> >>> linuxstdbase, bu I don't have any better idea about it.
> >> 
> >> You could be right. I've thought for a long time about renaming this and
> >> haven't been able to come up with anything better. On the other hand, in
> >> our current configuration we are actually using the basic/standardlinux
> >> packagegroup as part of our LSB images; although that might not be the
> >> right thing to continue doing - LSB probably ought to be independent.
> >> 
> >> FWIW, let's consider this particular patch as RFC, maybe someone else has
> >> a
> >> better idea of what to name it. I am very much convinced that "basic" is
> >> not the right name though.
> > 
> > So, has anyone got any better ideas for the name of core-image-basic and
> > packagegroup-core-basic?
> > 
> > The idea is that these are meant to contain things that you might have on
> > a
> > more traditional or full-featured Linux system. Somehow
> > "-traditionallinux"
> > doesn't really work either.
> 
> Who does it need to contain 'linux'? OE isn't linux specfic and neither are
> the package groups.

I'm fully open to alternatives, that's why I brought this up again...

Cheers,
Paul

Patch

diff --git a/meta/recipes-extended/images/core-image-lsb.bb b/meta/recipes-extended/images/core-image-lsb.bb
index f22d199..713a48e 100644
--- a/meta/recipes-extended/images/core-image-lsb.bb
+++ b/meta/recipes-extended/images/core-image-lsb.bb
@@ -6,7 +6,7 @@  IMAGE_FEATURES += "splash ssh-server-openssh hwcodecs package-management"
 
 IMAGE_INSTALL = "\
     ${CORE_IMAGE_BASE_INSTALL} \
-    packagegroup-core-basic \
+    packagegroup-core-standardlinux \
     packagegroup-core-lsb \
     "
 
diff --git a/meta/recipes-extended/images/core-image-basic.bb b/meta/recipes-extended/images/core-image-standardlinux.bb
similarity index 87%
rename from meta/recipes-extended/images/core-image-basic.bb
rename to meta/recipes-extended/images/core-image-standardlinux.bb
index d599e72..19985a9 100644
--- a/meta/recipes-extended/images/core-image-basic.bb
+++ b/meta/recipes-extended/images/core-image-standardlinux.bb
@@ -5,7 +5,7 @@  IMAGE_FEATURES += "splash ssh-server-openssh"
 
 IMAGE_INSTALL = "\
     packagegroup-core-boot \
-    packagegroup-core-basic \
+    packagegroup-core-standardlinux \
     ${CORE_IMAGE_EXTRA_INSTALL} \
     "
 
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
deleted file mode 100644
index c89923d..0000000
--- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
+++ /dev/null
@@ -1,138 +0,0 @@ 
-#
-# Copyright (C) 2010 Intel Corporation
-#
-
-DESCRIPTION = "Create Basic Image Tasks"
-PR = "r6"
-LICENSE = "MIT"
-
-inherit packagegroup
-
-PACKAGES = "\
-    packagegroup-core-basic \
-    packagegroup-core-basic-libs \
-    packagegroup-core-basic-utils \
-    packagegroup-core-basic-extended \
-    packagegroup-core-dev-utils \
-    packagegroup-core-multiuser \
-    packagegroup-core-initscripts \
-    packagegroup-core-sys-services \
-    "
-
-python __anonymous () {
-    # For backwards compatibility after rename
-    packages = d.getVar("PACKAGES", True).split()
-    for pkg in packages:
-        d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
-        d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
-        d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
-}
-
-
-RDEPENDS_packagegroup-core-basic = "\
-    packagegroup-core-basic-libs \
-    packagegroup-core-basic-utils \
-    packagegroup-core-basic-extended \
-    packagegroup-core-dev-utils \
-    packagegroup-core-multiuser \
-    packagegroup-core-initscripts \
-    packagegroup-core-sys-services \
-    "
-
-RDEPENDS_packagegroup-core-basic-libs = "\
-    glib-2.0 \
-    "
-
-RDEPENDS_packagegroup-core-basic-utils = "\
-    bash \
-    acl \
-    attr \
-    bc \
-    coreutils \
-    cpio \
-    e2fsprogs \
-    ed \
-    file \
-    findutils \
-    gawk \
-    gmp \
-    grep \
-    makedevs \
-    mc \
-    mc-fish \
-    mc-helpers \
-    mc-helpers-perl \
-    mc-helpers-python \
-    mktemp \
-    ncurses \
-    net-tools \
-    pax \
-    popt \
-    procps \
-    psmisc \
-    sed \
-    tar \
-    time \
-    util-linux \
-    zlib \
-    "
-
-RDEPENDS_packagegroup-core-basic-extended = "\
-    iproute2 \
-    iputils \
-    iptables \
-    module-init-tools \
-    openssl \
-    "
-
-RDEPENDS_packagegroup-core-dev-utils = "\
-    byacc \
-    diffutils \
-    m4 \
-    make \
-    patch \
-    "
-
-VIRTUAL-RUNTIME_initscripts ?= "initscripts"
-VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
-VIRTUAL-RUNTIME_login_manager ?= "busybox"
-VIRTUAL-RUNTIME_syslog ?= "sysklogd"
-RDEPENDS_packagegroup-core-initscripts = "\
-    ${VIRTUAL-RUNTIME_initscripts} \
-    ${VIRTUAL-RUNTIME_init_manager} \
-    ethtool \
-    ${VIRTUAL-RUNTIME_login_manager} \
-    ${VIRTUAL-RUNTIME_syslog} \
-    "
-
-RDEPENDS_packagegroup-core-multiuser = "\
-    cracklib \
-    gzip \
-    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
-    shadow \
-    sudo \
-    "
-
-RDEPENDS_packagegroup-core-sys-services = "\
-    at \
-    bzip2 \
-    cronie \
-    dbus \
-    dbus-glib \
-    python-dbus \
-    elfutils \
-    gzip \
-    less \
-    libcap \
-    libevent \
-    lighttpd \
-    logrotate \
-    nfs-utils \
-    pciutils \
-    libpcre \
-    rpcbind \
-    sysfsutils \
-    tcp-wrappers \
-    tzdata \
-    "
-
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
new file mode 100644
index 0000000..3b04067
--- /dev/null
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-standardlinux.bb
@@ -0,0 +1,163 @@ 
+#
+# Copyright (C) 2010 Intel Corporation
+#
+
+SUMMARY = "Standard full-featured Linux system"
+DESCRIPTION = "Package group bringing in packages needed for a more traditional full-featured Linux system"
+PR = "r6"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+    packagegroup-core-standardlinux \
+    packagegroup-core-standardlinux-libs \
+    packagegroup-core-standardlinux-utils \
+    packagegroup-core-standardlinux-extended \
+    packagegroup-core-standardlinux-dev-utils \
+    packagegroup-core-standardlinux-multiuser \
+    packagegroup-core-standardlinux-initscripts \
+    packagegroup-core-standardlinux-sys-services \
+    "
+
+python __anonymous () {
+    # For backwards compatibility after rename
+    namemap = {}
+    namemap["packagegroup-core-standardlinux"] = "packagegroup-core-basic"
+    namemap["packagegroup-core-standardlinux-libs"] = "packagegroup-core-basic-libs"
+    namemap["packagegroup-core-standardlinux-utils"] = "packagegroup-core-basic-utils"
+    namemap["packagegroup-core-standardlinux-extended"] = "packagegroup-core-basic-extended"
+    namemap["packagegroup-core-standardlinux-dev-utils"] = "packagegroup-core-dev-utils"
+    namemap["packagegroup-core-standardlinux-multiuser"] = "packagegroup-core-multiuser"
+    namemap["packagegroup-core-standardlinux-initscripts"] = "packagegroup-core-initscripts"
+    namemap["packagegroup-core-standardlinux-sys-services"] = "packagegroup-core-sys-services"
+
+    packages = d.getVar("PACKAGES", True).split()
+    for pkg in packages:
+        if pkg.endswith('-dev'):
+            mapped = namemap.get(pkg[:-4], None)
+            if mapped:
+                mapped += '-dev'
+        elif pkg.endswith('-dbg'):
+            mapped = namemap.get(pkg[:-4], None)
+            if mapped:
+                mapped += '-dbg'
+        else:
+            mapped = namemap.get(pkg, None)
+
+        if mapped:
+            oldtaskname = mapped.replace("packagegroup-core", "task-core")
+            mapstr = " %s %s" % (mapped, oldtaskname)
+            d.appendVar("RPROVIDES_%s" % pkg, mapstr)
+            d.appendVar("RREPLACES_%s" % pkg, mapstr)
+            d.appendVar("RCONFLICTS_%s" % pkg, mapstr)
+}
+
+
+RDEPENDS_packagegroup-core-standardlinux = "\
+    packagegroup-core-standardlinux-libs \
+    packagegroup-core-standardlinux-utils \
+    packagegroup-core-standardlinux-extended \
+    packagegroup-core-standardlinux-dev-utils \
+    packagegroup-core-standardlinux-multiuser \
+    packagegroup-core-standardlinux-initscripts \
+    packagegroup-core-standardlinux-sys-services \
+    "
+
+RDEPENDS_packagegroup-core-standardlinux-libs = "\
+    glib-2.0 \
+    "
+
+RDEPENDS_packagegroup-core-standardlinux-utils = "\
+    bash \
+    acl \
+    attr \
+    bc \
+    coreutils \
+    cpio \
+    e2fsprogs \
+    ed \
+    file \
+    findutils \
+    gawk \
+    gmp \
+    grep \
+    makedevs \
+    mc \
+    mc-fish \
+    mc-helpers \
+    mc-helpers-perl \
+    mc-helpers-python \
+    mktemp \
+    ncurses \
+    net-tools \
+    pax \
+    popt \
+    procps \
+    psmisc \
+    sed \
+    tar \
+    time \
+    util-linux \
+    zlib \
+    "
+
+RDEPENDS_packagegroup-core-standardlinux-extended = "\
+    iproute2 \
+    iputils \
+    iptables \
+    module-init-tools \
+    openssl \
+    "
+
+RDEPENDS_packagegroup-core-standardlinux-dev-utils = "\
+    byacc \
+    diffutils \
+    m4 \
+    make \
+    patch \
+    "
+
+VIRTUAL-RUNTIME_initscripts ?= "initscripts"
+VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
+VIRTUAL-RUNTIME_login_manager ?= "busybox"
+VIRTUAL-RUNTIME_syslog ?= "sysklogd"
+RDEPENDS_packagegroup-core-standardlinux-initscripts = "\
+    ${VIRTUAL-RUNTIME_initscripts} \
+    ${VIRTUAL-RUNTIME_init_manager} \
+    ethtool \
+    ${VIRTUAL-RUNTIME_login_manager} \
+    ${VIRTUAL-RUNTIME_syslog} \
+    "
+
+RDEPENDS_packagegroup-core-standardlinux-multiuser = "\
+    cracklib \
+    gzip \
+    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
+    shadow \
+    sudo \
+    "
+
+RDEPENDS_packagegroup-core-standardlinux-sys-services = "\
+    at \
+    bzip2 \
+    cronie \
+    dbus \
+    dbus-glib \
+    python-dbus \
+    elfutils \
+    gzip \
+    less \
+    libcap \
+    libevent \
+    lighttpd \
+    logrotate \
+    nfs-utils \
+    pciutils \
+    libpcre \
+    rpcbind \
+    sysfsutils \
+    tcp-wrappers \
+    tzdata \
+    "
+
diff --git a/meta/recipes-graphics/images/core-image-directfb.bb b/meta/recipes-graphics/images/core-image-directfb.bb
index 0c6c882..20588f0 100644
--- a/meta/recipes-graphics/images/core-image-directfb.bb
+++ b/meta/recipes-graphics/images/core-image-directfb.bb
@@ -12,6 +12,6 @@  CONFLICT_DISTRO_FEATURES = "x11"
 
 IMAGE_INSTALL += "\
 	${CORE_IMAGE_BASE_INSTALL} \
-	packagegroup-core-basic \
+	packagegroup-core-standardlinux \
 	packagegroup-core-directfb \
 "