Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:sbuild-debian [2015/08/01 22:22] – [Create a schroot] neyronwiki:sbuild-debian [2019/11/06 21:03] neyron
Line 73: Line 73:
 </code> </code>
  
 +===== Create a schroot for crossbuilding for another arch =====
 +<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 --foreign --arch=$architecture $distribution /srv/chroot/$distribution-$architecture-sbuild $mirror
 +
 +
 +
 +</code>
 +
 +In case of probleme, hopefully this page may help:
 +https://danielstender.com/blog/qemu-ppc64el-trouble/
  
 ===== Using the schroots! ===== ===== Using the schroots! =====
wiki/sbuild-debian.txt · Last modified: 2020/09/28 15:30 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