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 [2019/11/06 19:21] – neyron | wiki:sbuild-debian [2019/11/07 02:08] – [Create a schroot for crossbuilding for another arch] 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. | ||
- | Hopefully | + | 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 | ||
https:// | https:// | ||