This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:sbuild-debian [2015/08/01 22:22]
neyron [Create a schroot]
wiki:sbuild-debian [2019/11/07 02:08] (current)
neyron [Create a schroot for crossbuilding for another arch]
Line 73: Line 73:
 </​code>​ </​code>​
 +===== Create a schroot for crossbuilding for another arch =====
 +First install the latest version of ''​qemu_user_static''​ (e.g. from sid).
 +<code bash>
 +# set the Debian distribution:​ sid, wheezy, squeeze...
 +# set the architecture:​ amd64, i386...
 +# set the debian mirror to use
 +# create the sub-volume for this schroot
 +btrfs subvolume create /​srv/​chroot/​$distribution-$architecture-sbuild
 +sbuild-createchroot --debootstrap=qemu-debootstrap --arch=$architecture $distribution /​srv/​chroot/​$distribution-$architecture-sbuild $mirror
 +Then see above to finish (switch to btrfs...).
 +In case of problems, hopefully this page may help:
 ===== Using the schroots! ===== ===== Using the schroots! =====
wiki/sbuild-debian.1438460563.txt.gz ยท Last modified: 2015/08/01 22:22 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki