From 6da6b199c38fd9295be7ac110f6d63991c721165 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 26 Aug 2014 20:48:03 -0400 Subject: notes.txt: Drop dependency resolution notes --- (limited to 'notes.txt') diff --git a/notes.txt b/notes.txt index 3cb9290..a29f70c 100644 --- a/notes.txt +++ b/notes.txt @@ -41,39 +41,3 @@ cmd_install_max_args=2 opkg cmd? parses opts after ? maybe itself should be an option? - - -all_deps= -while $new_pkgs not empty - all_deps="$all_deps $new_pkgs" - new_deps= - for each pkg in $new_pkgs - new_deps=`grep "^$pkg " *depends.list | cut -d ' ' -f 2-` - new_deps=`printf '%s\n' $new_deps | sort -u` - new_pkgs= - for each pkg in $new_deps - if $pkg not in $all_deps - new_pkgs="$new_pkgs $pkg" - - - for each line in feed index - if line not empty - parse control fields - else - run profile callback - if $pkg should be installed - pkgs="$pkgs $pkg" - unresolved="$deps" - while $unresolved not empty - for each line in feed index - if line not empty - parse control fields - else - if $unresolved starts with $pkg - - -allpkgs='base' -newpkgs='busybox linux-image opkg' -foreach pkg - if $pkg in $newpkgs - -- cgit v0.9.1