Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
wiki:sbuild-debian [2019/11/06 19:21] neyronwiki:sbuild-debian [2019/11/06 21:03] neyron
Line 74: Line 74:
  
 ===== Create a schroot for crossbuilding for another arch ===== ===== Create a schroot for crossbuilding for another arch =====
-sbuild-createchroot knows about --foreign just like debootstap, however I did not succeed using it.+<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
  
-Hopefully this page helps:+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/ https://danielstender.com/blog/qemu-ppc64el-trouble/
  
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