summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-18 14:14:39 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-18 14:14:39 +0100
commitc7040ad2513d0d57492cfca689761dd36ec6e2a4 (patch)
tree16bf1b2ada305b84357336532d13f971b071d37e
parentbd28777b47398de030b84f8d780067660928cc88 (diff)
downloadfebootstrap-c7040ad2513d0d57492cfca689761dd36ec6e2a4.zip
febootstrap-c7040ad2513d0d57492cfca689761dd36ec6e2a4.tar.gz
febootstrap-c7040ad2513d0d57492cfca689761dd36ec6e2a4.tar.xz
ubuntu: Remove '*:i386' (multiarch?) packages.
This is a hack. Unclear if this is really needed or what it does, but it fixes Ubuntu 11.10 builds for me.
-rw-r--r--src/febootstrap_debian.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/febootstrap_debian.ml b/src/febootstrap_debian.ml
index ace04d3..58e1b15 100644
--- 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