mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox: add applet 'apt-get'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ae0fd388eb
commit
0953c93f37
@ -38,6 +38,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/createlog $INSTALL/usr/bin/
|
||||
cp $PKG_DIR/scripts/lsb_release $INSTALL/usr/bin/
|
||||
cp $PKG_DIR/scripts/apt-get $INSTALL/usr/bin/
|
||||
ln -sf /bin/busybox $INSTALL/usr/bin/env #/usr/bin/env is needed for most python scripts
|
||||
|
||||
mkdir -p $INSTALL/sbin
|
||||
|
41
packages/sysutils/busybox/scripts/apt-get
Executable file
41
packages/sysutils/busybox/scripts/apt-get
Executable file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
message="$message\n There is no working 'apt-get'."
|
||||
message="$message\n "
|
||||
message="$message\n 'apt-get' is a command to install, update and remove software which"
|
||||
message="$message\n is stored in a non local repo. 'apt-get' does nothing then connecting to such"
|
||||
message="$message\n repo, downloads the software, unpacks the software, updates a big local"
|
||||
message="$message\n local database with all filepaths and other informations about the"
|
||||
message="$message\n installed software or removes or updates installed Software."
|
||||
message="$message\n "
|
||||
message="$message\n With OpenELEC it is not possible to change the system for security and"
|
||||
message="$message\n stability reasons so even 'apt-get' would not be able to do this."
|
||||
message="$message\n We also dont have and want to maintain such a repo for various other"
|
||||
message="$message\n great reasons."
|
||||
message="$message\n "
|
||||
message="$message\n Also Ubuntu or Debian packages are often outdated and not compatible"
|
||||
message="$message\n with OpenELEC"
|
||||
message="$message\n "
|
||||
message="$message\n TIP: use XBMC's addon browser to enhance your OpenELEC system"
|
||||
|
||||
echo -e $message
|
Loading…
x
Reference in New Issue
Block a user