new package: add package 'libc' (virtual), rework dependencies in scripts/image

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-01-30 14:15:12 +01:00
parent 1576021e03
commit 75025523f3
4 changed files with 50 additions and 7 deletions

View File

@ -23,8 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS="eglibc:init busybox:init linux:init plymouth-lite:init diskdev_cmds:init"
PKG_BUILD_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_TARGET="toolchain libc:init busybox:init linux:init plymouth-lite:init diskdev_cmds:init"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="initramfs: Metapackage for installing initramfs"
@ -34,7 +33,7 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
if [ "$ISCSI_SUPPORT" = yes ]; then
PKG_DEPENDS="$PKG_DEPENDS open-iscsi:init"
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET open-iscsi:init"
fi
post_install() {

View File

@ -23,8 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS_HOST=""
PKG_BUILD_DEPENDS_HOST="ccache:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host"
PKG_DEPENDS_HOST="ccache:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="autotools: Metapackage"

View File

@ -0,0 +1,42 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="libc"
PKG_VERSION=""
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain eglibc timezone-data"
PKG_DEPENDS_INIT="toolchain eglibc:init"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="libc: Metapackage"
PKG_LONGDESC=""
PKG_SHORTDESC="libc: Meta package for installing various tools and libs needed for libc"
PKG_LONGDESC="Meta package for installing various tools and libs needed for libc"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
if [ "$XBMCPLAYER_DRIVER" = "bcm2835-driver" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET arm-mem"
PKG_DEPENDS_INIT="$PKG_DEPENDS_INIT arm-mem:init"
fi

View File

@ -102,9 +102,12 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
ln -sf /etc/issue $INSTALL/etc/motd
# Basissystem...
$SCRIPTS/install eglibc
$SCRIPTS/install libc
$SCRIPTS/install gcc
$SCRIPTS/install linux system
$SCRIPTS/install linux
$SCRIPTS/install linux-drivers
$SCRIPTS/install linux-firmware
$SCRIPTS/install $BOOTLOADER
$SCRIPTS/install busybox
$SCRIPTS/install util-linux
$SCRIPTS/install corefonts