new package: add package 'e2fsprogs-initramfs'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-24 18:30:04 +02:00
parent 4ddf2fbb67
commit ccaca0b775
5 changed files with 87 additions and 2 deletions

View File

@ -28,3 +28,4 @@ mkdir -p $INSTALL/lib
cp $EGLIBC_DIR/objdir-eglibc/elf/ld*.so.* $INSTALL/lib
cp $EGLIBC_DIR/objdir-eglibc/libc.so.6 $INSTALL/lib
cp $EGLIBC_DIR/objdir-eglibc/math/libm.so.6 $INSTALL/lib
cp $EGLIBC_DIR/objdir-eglibc/nptl/libpthread.so.0 $INSTALL/lib

View File

@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS="eglibc-initramfs busybox-initramfs plymouth-lite"
PKG_DEPENDS="eglibc-initramfs busybox-initramfs plymouth-lite e2fsprogs-initramfs util-linux-initramfs"
PKG_BUILD_DEPENDS="toolchain eglibc-initramfs busybox-initramfs plymouth-lite"
PKG_PRIORITY="optional"
PKG_SECTION="initramfs"
@ -36,5 +36,5 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
if [ "$HFSTOOLS" = "yes" ]; then
PKG_DEPENDS="$PKG_DEPENDS diskdev_cmds-initramfs util-linux-initramfs"
PKG_DEPENDS="$PKG_DEPENDS diskdev_cmds-initramfs"
fi

View File

@ -27,6 +27,10 @@ mkdir -p $INSTALL/bin
ln -sf busybox $INSTALL/bin/sh
chmod 4755 $INSTALL/bin/busybox
mkdir -p $INSTALL/etc
touch $INSTALL/etc/fstab
ln -sf /proc/self/mounts $INSTALL/etc/mtab
mkdir -p $INSTALL/dev
mkdir -p $INSTALL/proc
mkdir -p $INSTALL/sys

View File

@ -0,0 +1,44 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
E2FSPROGS_DIR="$BUILD/e2fsprogs-*"
mkdir -p $INSTALL/etc
cp $E2FSPROGS_DIR/misc/mke2fs.conf $INSTALL/etc
mkdir -p $INSTALL/sbin
cp $E2FSPROGS_DIR/e2fsck/e2fsck $INSTALL/sbin
ln -sf e2fsck $INSTALL/sbin/fsck.ext2
ln -sf e2fsck $INSTALL/sbin/fsck.ext3
ln -sf e2fsck $INSTALL/sbin/fsck.ext4
ln -sf e2fsck $INSTALL/sbin/fsck.ext4dev
cp $E2FSPROGS_DIR/misc/fsck $INSTALL/sbin
mkdir -p $INSTALL/lib
cp -P $E2FSPROGS_DIR/lib/e2p/libe2p.so.* $INSTALL/lib
cp -P $E2FSPROGS_DIR/lib/libe2p.so.[0-9] $INSTALL/lib
cp -P $E2FSPROGS_DIR/lib/et/libcom_err.so.* $INSTALL/lib
cp -P $E2FSPROGS_DIR/lib/libcom_err.so.[0-9] $INSTALL/lib
cp -P $E2FSPROGS_DIR/lib/ext2fs/libext2fs.so.* $INSTALL/lib
cp -P $E2FSPROGS_DIR/lib/libext2fs.so.[0-9] $INSTALL/lib

View File

@ -0,0 +1,36 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="e2fsprogs-initramfs"
PKG_VERSION=""
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://e2fsprogs.sourceforge.net/"
PKG_URL=""
PKG_DEPENDS="util-linux-initramfs"
PKG_BUILD_DEPENDS="toolchain e2fsprogs"
PKG_PRIORITY="optional"
PKG_SECTION="tools"
PKG_SHORTDESC="e2fsprogs: Utilities for use with the ext2 filesystem"
PKG_LONGDESC="The filesystem utilities for the EXT2 filesystem, including e2fsck, mke2fs, dumpe2fs, fsck, and others."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"