Differences

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

Link to this comparison view

Both sides previous revision Previous revision
wiki:debian_packaging [2018/06/25 11:05]
neyron [Build for jessie backports]
wiki:debian_packaging [2018/06/26 20:59] (current)
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 188: Line 197:
 </​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: 2018/06/26 20:59 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