2009-07-28 21:18:57 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2011-01-09 18:44:39 +01:00
|
|
|
################################################################################
|
|
|
|
|
# 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
|
|
|
|
|
################################################################################
|
|
|
|
|
|
2010-07-21 18:55:47 +02:00
|
|
|
. config/options $1
|
2009-07-28 21:18:57 +02:00
|
|
|
|
2009-11-29 05:55:49 +01:00
|
|
|
mkdir -p $INSTALL/bin
|
|
|
|
|
cp $PKG_BUILD/mount/.libs/mount $INSTALL/bin
|
|
|
|
|
cp $PKG_BUILD/mount/.libs/umount $INSTALL/bin
|
|
|
|
|
|
2010-04-12 01:03:17 +02:00
|
|
|
mkdir -p $INSTALL/sbin
|
|
|
|
|
cp $PKG_BUILD/misc-utils/.libs/blkid $INSTALL/sbin
|
2011-01-10 01:08:00 +01:00
|
|
|
cp $PKG_BUILD/sys-utils/fstrim $INSTALL/sbin
|
2010-10-19 20:41:01 +02:00
|
|
|
cp $PKG_BUILD/mount/.libs/swapon $INSTALL/sbin
|
|
|
|
|
ln -sf swapon $INSTALL/sbin/swapoff
|
2010-04-12 01:03:17 +02:00
|
|
|
|
2009-11-16 04:46:13 +01:00
|
|
|
mkdir -p $INSTALL/usr/lib
|
|
|
|
|
cp -PR $PKG_BUILD/shlibs/blkid/src/.libs/libblkid.so* $INSTALL/usr/lib
|
|
|
|
|
rm -rf $INSTALL/usr/lib/libblkid.so*T
|
|
|
|
|
cp -PR $PKG_BUILD/shlibs/uuid/src/.libs/libuuid.so* $INSTALL/usr/lib
|
|
|
|
|
rm -rf $INSTALL/usr/lib/libuuid.so*T
|