Differences

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...
 +distribution=sid
 +# set the architecture:​ amd64, i386...
 +architecture=amd64
 +# set the debian mirror to use
 +mirror=http://​ftp2.fr.debian.org/​debian
 +# 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
 +
 +</​code>​
 +
 +Then see above to finish (switch to btrfs...).
 +
 +In case of problems, hopefully this page may help:
 +https://​danielstender.com/​blog/​qemu-ppc64el-trouble/​
  
 ===== 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