Re: Instructions for uploading to bookworm-backports

Boyuan Yang <[email protected]>
Newsgroups gmane.linux.debian.backports.general
Organization Debian Project
Message-ID <[email protected]>
在 2023-08-26星期六的 10:42 -0700,Soren Stoutner写道:
> Distribution: bookworm

That's it. This field must not be bookworm; it must be "bookworm-backports" or
"stable-backports" (for the time being when stable === bookworm). I have no idea about
what toolchain you are using but something must be wrong.

I know the workflow of preparing the correct source package may be a little bit twisted.
Personally I do not use pbuilder or cowbuilder at all. Since I am using git-buildpackage with
sbuild, I will just list whatever command I am using right here:

   gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-builder=sbuild -A -v -d bookworm-backports --source --source-only-changes --force-orig-source -
k<my_key_fingerprint> --build-dep-resolver=aptitude --no-clean-source --git-no-create-orig

When using sbuild solely:

   sbuild -A -v -d bookworm-backports --source --source-only-changes --force-orig-source -k<my_key_fingerprint> --build-dep-resolver=aptitude --no-clean-source --git-no-
create-orig /path/to/filename.dsc

The key is to pass the "-d bookworm-backports" parameter to sbuild. Other parameters are more or
less optional. Of course, you will have to set up the bookworm-backports schroot in advance as
described in sbuild-createchroot(8), and use "bookworm-backports" in the latest debian/changelog
entry as usual.

I looked at https://wiki.debian.org/BuildingFormalBackports and have no idea about how
to improve the "Build in a minimal environment" section. If you wish, you can update the
Wiki accordingly.

Thanks,
Boyuan Yang
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmTqO7QACgkQwpPntGGC
Ws4hFA//ckM6DtamkjBTcZT/h0MWlDDzXIeEhh1ox9JeuaMG9jFSj0o4vo+9Q9fJ
vNFW/shtvZDlDtm7e2ogPrqQg9rk0AcY6gl6JJuN3i+l0hkq5FSHMFrTFHdErg73
9xunv8KMYOyXwRVve5m0z9MIRSQCuyUUCOhCZP57nYwe/u3hpXJIIwzgy1DsLplH
tMwaXJ9VTCMUhOyQ2WAFc9aeBVdnJI0630BXS6AgyyfdKlEv6sWfMOAlnhyhQAMY
Ew3umFLYEHMw9Zc/zrIBcqpsUGWZ86lueZ5sP5eBcgak2j6iqlPLyKUJk36NqdTp
ecGHE1l7GCAw9Gc9TNgQ9lYKqVsbAtcfezOTk5DQVvMzev0yy/LXnmEip1cz49SE
549PaJAiQeeLcWjwIZSu9T0NYp5m9Lv7h1gQVq0F+HfHj5siSYLnwt+bAidCj2k0
iIwHUgWTcefqbtc7+9N99etqBUJHUeHJLGlg2iiQzp62hzZMjAYulMp3P46EE67w
lywF5GZR4P0Qdhf0bdwglz1tB3KK7+FzPKF2+NvE8g6Q+KaRZaIQcL9Z1TjEYaCo
v86pSFzkGOG2fBvN4YgQmpE7jeAl76cdDokDU5bJTYtVRj9JIWX3ZneeN4Lc/7XL
D/q5BNoYZ6XeKI1QqkbXPaRAZ3zQdqPb82dUZl6YQTc1ifFnow8=
=fqp+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.