This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:sbuild-debian [2013/07/09 10:52] – external edit 127.0.0.1 | 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! ===== | ||
Line 99: | Line 121: | ||
===== Using sbuild ===== | ===== Using sbuild ===== | ||
- | sbuild is to build Debian packages. See [[new_debian_packages]]. | + | sbuild is to build Debian packages. See [[debian packaging]]. |
Examples: | Examples: |