Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:debian_packaging [2018/06/25 10:58]
neyron [Build the binary packages]
wiki:debian_packaging [2018/06/26 20:59]
neyron
Line 148: Line 148:
 Packages will go to the sid_alpha distribution if in the UNRELEASED state, or to sid_beta distribution if in the unstable state (see dch) Packages will go to the sid_alpha distribution if in the UNRELEASED state, or to sid_beta distribution if in the unstable state (see dch)
  
-===== Build for jessie ​backports =====+===== Build for backports ​distributions ​=====
  
-Beforehand ​we configure ''​dpkg-mergechangelogs''​ to ease the debian changelog file merge. See the manual of ''​dpkg-mergechangelogs''​ which explains the setup.+Beforehandconfigure ''​dpkg-mergechangelogs''​ to ease the debian changelog file merge. See the manual of ''​dpkg-mergechangelogs''​ which explains the setup.
  
-Checkout the bpo branch ​and merge the commit tag of the debian/2.5 branch:+Checkout the bpo branch ​for the target distribution:​ 
 +  * for stretch: ​debian/2.5_bpo9 → deb version suffix~bpo9+N 
 +  * for jessie: debian/​2.5_bpo8 → deb version suffix: ~bpo8+N 
 +  * for wheezy: debian/​2.5_bpo70 → deb version suffix: ~bpo70+N 
 + 
 +In the following, we take as example a build for jessie backports.
 <code bash> <code bash>
 $ git checkout debian/​2.5_bpo8 $ git checkout debian/​2.5_bpo8
 +</​code>​
 +
 +Merge the commit tag for the packaging of the debian/2.5 branch:
 +<code bash>
 $ git merge debian/​2.5.5-1 $ git merge debian/​2.5.5-1
 </​code>​ </​code>​
  
 Fix the conflicts: Fix the conflicts:
-  * fix any issues due to differences between sid and the older backport ​distribution ​+  * fix any issues due to differences between sid and the older backports ​distribution ​
   * move the changelog: put everything chronologically ! (no remove, just re-order)   * move the changelog: put everything chronologically ! (no remove, just re-order)
   * or use the ''​mergechanges''​ tool   * or use the ''​mergechanges''​ tool
Line 168: Line 177:
 </​code>​ </​code>​
  
-Add the new changelog entry for the new backport, and commit+Add the new changelog entry for the new backports, and commit
 <code bash> <code bash>
 $ dch --bpo $ dch --bpo
-# adapt the version ​is not good -> ~bpo8-N for jessie backports+# adapt the version ​if not good -> ~bpo8-N for jessie backports ​(see above)
 $ debcommit -a $ debcommit -a
 </​code>​ </​code>​
Line 180: Line 189:
 </​code>​ </​code>​
  
-... +Then follow again [[wiki:​debian_packaging#​sync_the_files_with_the_oar-ftp_machine|the build procedure ​on oar-ftp]] (make sure ''​OAR_VERSION''​ is suffixed by bpoXand ''​OAR_CHROOT''​ targets ​the correct backport distribution)
- +
-And then for sbuild ​on oar-ftp, ​change adapt the variables:​ +
-<code bash> +
-$ export OAR_VERSION=2.5.5-1~bpo8+1 +
-</​code>​ +
-and +
-<code bash> +
-oar-ftp$ CHROOT=jessie-backports +
-</​code>​+
  
 If OK, we only need to push the bpo branch + tags If OK, we only need to push the bpo branch + tags
  
 <code bash> <code bash>
-$ git push $REMOTE ​debian/​2.5_bpo8 ​&& ​+$ git push $REMOTE && git push $REMOTE --tags
-  ​git push $REMOTE --tags+
 </​code>​ </​code>​
  
-And finally dput just as with sid, the backported version should now show up in the jessie_backports_beta distribution of oar-ftp. +And finally dput just as with sid, the backported version should now show up in the jessie_backports_beta distribution of oar-ftp ​(respstretch-backports_beta ​for bpo9 packages and wheezy-backports_beta for bpo70 packages).
- +
-===== Build for wheezy ​(backports=====+
  
-Same as for jessie backports, except: 
-  * use the debian/​2.5_bpo70 branch 
-  * version should be suffiex with ~bpo70+N instead of ~bpo8+N 
-  * use the wheezy-backports chroot. 
-  * the target distribution is wheezy_backports_beta 
  
 ====== Push the packages to Debian official repositories ====== ====== Push the packages to Debian official repositories ======
wiki/debian_packaging.txt · Last modified: 2019/11/07 02:03 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki