On Thu, Oct 20, 2011 at 02:46:17PM +0200, Hilko Bengen wrote:
* Richard W.M. Jones:
--- a/src/febootstrap_debian.ml +++ b/src/febootstrap_debian.ml @@ -45,7 +45,7 @@ let get_installed_pkgs () =
let rec debian_resolve_dependencies_and_download names = let cmd = - sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]'" + sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]' | grep -v :i386" Config.apt_cache (String.concat " " (List.map Filename.quote names)) in let pkgs = run_command_get_lines cmd in
This will only work on multiarch setups where i386 is the only secondary architecture which may become relevant for Debian.
I suggest using:
grep -Ev ':\w+\b'
Thanks, I pushed this change: http://git.annexia.org/?p=febootstrap.git;a=commitdiff;h=daa0a6218be2cee5284... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top