| ... | ... | @@ -70,15 +70,15 @@ |
|
|
|
1. Create the file `/usr/local/bin/sbuild-bpo` with the following content
|
|
|
|
|
|
|
|
```
|
|
|
|
sbuild -A -s --force-orig-source -c bullseye-amd64-sbuild --extra-repository='deb http://deb.debian.org/debian bullseye-backports main' --extra-repository='deb http://incoming.debian.org/debian-buildd buildd-bullseye-backports main' --build-dep-resolver=aptitude -d buster-backports "$@"
|
|
|
|
sbuild -A -s --force-orig-source -c bullseye-amd64-sbuild --extra-repository='deb http://deb.debian.org/debian bullseye-backports main' --extra-repository='deb http://incoming.debian.org/debian-buildd buildd-bullseye-backports main' --build-dep-resolver=aptitude -d bullseye-backports "$@"
|
|
|
|
```
|
|
|
|
Note: `buildd-bullseye-backports` will be available only after bullseye is released so the second --extra-repository option can be removed now.
|
|
|
|
|
|
|
|
Note: If you are building for bullseye-backports-staging, you will be required to change the -d option of above command to `bullseye-backports-staging`, and you may add fasttrack repositories as extra repos to the build command.
|
|
|
|
|
|
|
|
1. Make it executable
|
|
|
|
|
|
|
|
```
|
|
|
|
chmod +x /usr/local/bin/sbuild-bpo
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
1. Build package against backports by running
|
|
|
|
|
| ... | ... | @@ -87,7 +87,7 @@ Note: `buildd-bullseye-backports` will be available only after bullseye is relea |
|
|
|
```
|
|
|
|
Note: See https://wiki.debian.org/BuildingTutorial#Get_the_source_package for getting the original source code. You can also use `origtargz` command which is more convenient, but may not work in some cases (for example, if the package does not have a git repo, or `pristine-tar` command fail in some cases like multiple orig tarballs).
|
|
|
|
|
|
|
|
1. Check changes file to make sure distribution is marked buster-backports. You can **ignore NMU warning** by lintian. **No need to change standards version** for the backports.
|
|
|
|
1. Check changes file to make sure distribution is marked bullseye-backports. You can **ignore NMU warning** by lintian. **No need to change standards version** for the backports.
|
|
|
|
|
|
|
|
1. Sign and upload `.changes` file
|
|
|
|
|
| ... | ... | @@ -95,7 +95,6 @@ Note: See https://wiki.debian.org/BuildingTutorial#Get_the_source_package for ge |
|
|
|
debsign <changes file>
|
|
|
|
dput <changes file>
|
|
|
|
```
|
|
|
|
|
|
|
|
1. Create tag (**only if you uploaded the package**)
|
|
|
|
|
|
|
|
```
|
| ... | ... | |