Permalink
Browse files

Add information to README on cross-architecture building

  • Loading branch information...
1 parent 0ad2f60 commit 3170c7ba8235b3f9ae6bc51927ff39bbca317083 @asquared committed Apr 24, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 README
View
9 README
@@ -9,12 +9,19 @@ sudo lb build
To test it, if you have qemu-kvm installed:
kvm -cdrom binary-hybrid.iso -m 1024
+If you want to build an i386 image on an amd64 box, set the following
+variables: LB_ARCHITECTURES="i386" in config/bootstrap and
+LB_LINUX_FLAVORS="486 686-pae" in config/chroot.
+
IMPORTANT: If you make changes, make sure to clean before rebuilding:
* hack hack *
sudo lb clean
sudo lb build
-If "lb clean" isn't run first, changes may not be applied.
+If "lb clean" isn't run first, changes may not be applied. If you change the
+architecture in a directory where you've already built an image, you need to
+blow away everything except the "auto" and "config" directories. This includes
+the hidden ".stage" directory.
Interesting files:
config/package-lists/concerto.list

0 comments on commit 3170c7b

Please sign in to comment.