diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-13 19:10:38 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-13 19:10:38 +0100 |
commit | ce821e3ab376483417a552c8e2e3289a76b34026 (patch) | |
tree | 6a957d6b665aae8de36d2b135ae515d6290eafbc /scripts/ipkg | |
parent | 009df92b965656fa1454dc8e90f0fd1848f7442a (diff) |
do not check for dependencies
this drastly reduces install time to fake root directory from
68 minutes to 3 minutes on my system. We use the ipkg applet
on target, so this change should be harmful.
Diffstat (limited to 'scripts/ipkg')
-rw-r--r-- | scripts/ipkg | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/scripts/ipkg b/scripts/ipkg index cfa1cfe97..101d20dc1 100644 --- a/scripts/ipkg +++ b/scripts/ipkg @@ -11,6 +11,7 @@ # 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. +#set -x set -e @@ -752,26 +753,26 @@ ipkg_install_file_dest() { fi # Check dependencies - local depends="`ipkg_depends $pkg | sed -e "s/\<$pkg\>//"`" + #local depends="`ipkg_depends $pkg | sed -e "s/\<$pkg\>//"`" # Don't worry about deps that are scheduled for installation - local missing_deps= - for dep in $depends; do - if ! ipkg_status_all $dep | grep -q 'Status:[[:space:]]install'; then - missing_deps="$missing_deps $dep" - fi - done - - if [ ! -z "$missing_deps" ]; then - if [ -n "$FORCE_DEPENDS" ]; then - echo "ipkg_install_file: Warning: $pkg depends on the following uninstalled programs: $missing_deps" - else - echo "ipkg_install_file: ERROR: $pkg depends on the following uninstalled programs: - $missing_deps" - echo "ipkg_install_file: You may want to use \`ipkg install' to install these." - return 1 - fi - fi + #local missing_deps= + #for dep in $depends; do + # if ! ipkg_status_all $dep | grep -q 'Status:[[:space:]]install'; then + # missing_deps="$missing_deps $dep" + # fi + #done + + #if [ ! -z "$missing_deps" ]; then + # if [ -n "$FORCE_DEPENDS" ]; then + # echo "ipkg_install_file: Warning: $pkg depends on the following uninstalled programs: $missing_deps" + # else + # echo "ipkg_install_file: ERROR: $pkg depends on the following uninstalled programs: + #$missing_deps" + # echo "ipkg_install_file: You may want to use \`ipkg install' to install these." + # return 1 + # fi + #fi mkdir -p $IPKG_TMP/$pkg/control mkdir -p $IPKG_TMP/$pkg/data |