meta-lsb: Add basic infrastructure to create lsb image

Move tar and at to meta-lsb

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
This commit is contained in:
Saul Wold 2010-07-21 19:20:52 -07:00 committed by Richard Purdie
parent 18b33a2ce5
commit 6da4a6688c
7 changed files with 367 additions and 0 deletions

10
meta-lsb/conf/layer.conf Normal file
View File

@ -0,0 +1,10 @@
# We have a conf and classes directory, add to BBPATH
BBPATH := "${BBPATH}:${LAYERDIR}"
# We have a packages directory, add to BBFILES
BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb"
BBFILE_COLLECTIONS += "lsb"
BBFILE_PATTERN_lsb := "^${LAYERDIR}/"
BBFILE_PRIORITY_lsb = "5"

View File

@ -0,0 +1,23 @@
IMAGE_FEATURES += "apps-console-core "
IMAGE_INSTALL = "\
${POKY_BASE_INSTALL} \
task-poky-small \
task-poky-basic-libs \
task-poky-basic-libs-dbg \
task-poky-basic-libs-dev \
task-poky-basic-utils \
task-poky-basic-utils-dbg \
task-poky-basic-utils-dev \
task-poky-minimal-extras \
task-poky-minimal-extras-dbg \
task-poky-minimal-extras-dev \
task-poky-pkg-managment-opkg \
task-poky-pkg-managment-opkg-dbg \
task-poky-pkg-managment-opkg-dev \
task-poky-network-services \
task-poky-network-services-dbg \
task-poky-network-services-dev \
"
inherit poky-image

View File

@ -0,0 +1,13 @@
IMAGE_FEATURES += "apps-console-core "
IMAGE_INSTALL = "\
${POKY_BASE_INSTALL} \
task-poky-small-utils \
task-poky-basic-libs \
task-poky-basic-utils \
task-poky-extended-libs \
task-poky-extended-utils \
task-poky-network-services \
"
inherit poky-image

View File

@ -0,0 +1,7 @@
IMAGE_FEATURES += "apps-console-core "
IMAGE_INSTALL = "\
${POKY_BASE_INSTALL} \
task-poky-small-utils"
inherit poky-image

View File

@ -0,0 +1,149 @@
#
# Copyright (C) 2010 Intel Corporation
#
DESCRIPTION = "Create Small Image Tasks"
PR = "r0"
PACKAGES = "\
task-poky-small \
task-poky-basic-libs \
task-poky-basic-libs-dbg \
task-poky-basic-libs-dev \
task-poky-basic-utils \
task-poky-basic-utils-dbg \
task-poky-basic-utils-dev \
task-poky-minimal-extras \
task-poky-minimal-extras-dbg \
task-poky-minimal-extras-dev \
task-poky-pkg-managment-opkg \
task-poky-pkg-managment-opkg-dbg \
task-poky-pkg-managment-opkg-dev \
task-poky-network-services \
task-poky-network-services-dbg \
task-poky-network-services-dev \
"
ALLOW_EMPTY = "1"
RDEPENDS_task-poky-minimal-extras = "\
makedevs \
ncurses \
zlib \
udev \
udev-extraconf \
expat \
"
RDEPENDS_task-poky-pkg-managment-opkg = "\
curl \
gnutls \
gpgme \
libgcrypt \
libgpg-error \
lzo \
opkg-config-base \
opkg-collateral \
opkg \
pth \
"
RDEPENDS_task-poky-network-services = "\
# iproute \
# iputils \
# iptables \
nfs-utils \
"
RDEPENDS_task-poky-shells = "\
bash \
mktemp \
RDEPENDS_task-poky-misc = "\
strace \
lsof \
elfutils \
usbutils \
zlib \
libusb \
libstdcxx \
bluez4 \
"
RDEPENDS_task-poky-basic-libs = "\
# libssh2 \
dbus-glib \
# nfs-utils-lib \
"
RDEPENDS_task-poky-basic-utils = "\
# openssh \
openssl \
pam \
sudo \
beecrypt \
curl \
elfutils \
neon \
# mktemp \
rpm \
bzip2 \
# crontabs \
dbus \
python-dbus \
e2fsprogs \
gdbm \
hal \
less \
popt \
portmap \
readline \
# cron \
# yaffs2 \
"
RDEPENDS_task-poky-extended-libs = "\
# cracklib \
glib-2.0 \
libcap \
libevent \
"
RDEPENDS_task-poky-extended-utils = "\
# acl \
# at \
attr \
# bc \
binutils \
# cpio \
# cracklib \
# logrotate \
# pax \
# shadow \
sqlite3 \
# syslog \
# ed \
# lsb \
# mailx \
# man \
# sendmail \
tcl \
"
RDEPENDS_task-poky-python = "\
gdbm \
perl \
zlib \
"
RDEPENDS_task-poky-python = "\
expat \
gdbm \
gmp \
ncurses \
openssl \
python \
readline \
zlib \
"

View File

@ -0,0 +1,127 @@
#
# Copyright (C) 2010 Intel Corporation
#
DESCRIPTION = "Create Small Image Tasks"
PR = "r0"
PACKAGES = "\
task-poky-small \
task-poky-basic-libs \
task-poky-basic-libs-dbg \
task-poky-basic-libs-dev \
task-poky-basic-utils \
task-poky-basic-utils-dbg \
task-poky-basic-utils-dev \
task-poky-extended-libs \
task-poky-extended-libs-dbg \
task-poky-extended-libs-dev \
task-poky-extended-utils \
task-poky-extended-utils-dbg \
task-poky-extended-utils-dev \
task-poky-network-services \
task-poky-network-services-dbg \
task-poky-network-services-dev \
"
ALLOW_EMPTY = "1"
RDEPENDS_task-poky-network-services = "\
# iproute \
# iputils \
# iptables \
nfs-utils \
"
RDEPENDS_task-poky-shells = "\
bash \
mktemp \
RDEPENDS_task-poky-misc = "\
strace \
lsof \
elfutils \
usbutils \
zlib \
libusb \
libstdcxx \
bluez4 \
"
RDEPENDS_task-poky-basic-libs = "\
# libssh2 \
dbus-glib \
# nfs-utils-lib \
"
RDEPENDS_task-poky-basic-utils = "\
# openssh \
openssl \
pam \
sudo \
beecrypt \
curl \
elfutils \
neon \
# mktemp \
rpm \
bzip2 \
# crontabs \
dbus \
python-dbus \
e2fsprogs \
gdbm \
hal \
less \
popt \
portmap \
readline \
# cron \
# yaffs2 \
"
RDEPENDS_task-poky-extended-libs = "\
# cracklib \
glib-2.0 \
libcap \
libevent \
"
RDEPENDS_task-poky-extended-utils = "\
# acl \
# at \
attr \
# bc \
binutils \
# cpio \
# cracklib \
# logrotate \
# pax \
# shadow \
sqlite3 \
# syslog \
# ed \
# lsb \
# mailx \
# man \
# sendmail \
tcl \
"
RDEPENDS_task-poky-python = "\
gdbm \
perl \
zlib \
"
RDEPENDS_task-poky-python = "\
expat \
gdbm \
gmp \
ncurses \
openssl \
python \
readline \
zlib \
"

View File

@ -0,0 +1,38 @@
#
# Copyright (C) 2010 Intel Corporation
#
DESCRIPTION = "Create Small Image Tasks"
PR = "r0"
PACKAGES = "\
task-poky-small-utils \
task-poky-small-utils-dbg \
task-poky-small-utils-dev \
"
ALLOW_EMPTY = "1"
RDEPENDS_task-poky-small-utils = "\
bash \
coreutils \
file \
findutils \
ncurses \
psmisc \
sed \
time \
zlib \
udev \
udev-extraconf \
# gawk \
# grep \
# gzip \
# makedev \
# mktemp \
# net-tools \
# procps \
# passwd \
# tar \
# util-linux \
"