This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:sbuild-debian [2013/07/10 11:37] – [Using sbuild] neyron | wiki:sbuild-debian [2019/11/07 02:08] – [Create a schroot for crossbuilding for another arch] neyron | ||
---|---|---|---|
Line 43: | Line 43: | ||
architecture=amd64 | architecture=amd64 | ||
# set the debian mirror to use | # set the debian mirror to use | ||
- | mirror=http:// | + | mirror=http:// |
# create the sub-volume for this schroot | # create the sub-volume for this schroot | ||
Line 73: | Line 73: | ||
</ | </ | ||
+ | ===== Create a schroot for crossbuilding for another arch ===== | ||
+ | |||
+ | First install the latest version of '' | ||
+ | |||
+ | <code bash> | ||
+ | # set the Debian distribution: | ||
+ | distribution=sid | ||
+ | # set the architecture: | ||
+ | architecture=amd64 | ||
+ | # set the debian mirror to use | ||
+ | mirror=http:// | ||
+ | # create the sub-volume for this schroot | ||
+ | btrfs subvolume create / | ||
+ | |||
+ | sbuild-createchroot --debootstrap=qemu-debootstrap --arch=$architecture $distribution / | ||
+ | |||
+ | </ | ||
+ | |||
+ | Then see above to finish (switch to btrfs...). | ||
+ | |||
+ | In case of problems, hopefully this page may help: | ||
+ | https:// | ||
===== Using the schroots! ===== | ===== Using the schroots! ===== |