Merge lp:~openarun/ubuntu-packaging-guide/trunk into lp:ubuntu-packaging-guide

Proposed by Arun
Status: Merged
Merged at revision: 722
Proposed branch: lp:~openarun/ubuntu-packaging-guide/trunk
Merge into: lp:ubuntu-packaging-guide
Diff against target: 75 lines (+9/-9)
1 file modified
ubuntu-packaging-guide/setting-up-sbuild.rst (+9/-9)
To merge this branch: bzr merge lp:~openarun/ubuntu-packaging-guide/trunk
Reviewer Review Type Date Requested Status
Dmitry Shachnev Pending
Review via email: mp+434958@code.launchpad.net

Commit message

update setting-up-sbuild to jammy

Description of the change

+ update setting-up-sbuild from bionic to jammy
+ Change command to upgrade the schroot.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubuntu-packaging-guide/setting-up-sbuild.rst'
2--- ubuntu-packaging-guide/setting-up-sbuild.rst 2017-12-21 15:44:46 +0000
3+++ ubuntu-packaging-guide/setting-up-sbuild.rst 2022-12-24 19:08:51 +0000
4@@ -25,7 +25,7 @@
5 $maintainer_name='Your Name <user@example.org>';
6
7 # Default distribution to build.
8- $distribution = "bionic";
9+ $distribution = "jammy";
10 # Build arch-all by default.
11 $build_arch_all = 1;
12
13@@ -59,13 +59,13 @@
14 Generate GPG keypair for sbuild and create chroot for specified release::
15
16 $ sbuild-update --keygen
17- $ mk-sbuild bionic
18+ $ mk-sbuild jammy
19
20 This will create chroot for your current architecture. You might want to
21 specify another architecture. For this, you can use ``--arch`` option.
22 Example::
23
24- $ mk-sbuild xenial --arch=i386
25+ $ mk-sbuild jammy --arch=i386
26
27 Using schroot
28 =============
29@@ -77,7 +77,7 @@
30 newly created chroot, but that’s not exactly the reason why you are
31 using sbuild::
32
33- $ schroot -c bionic-amd64 -u root
34+ $ schroot -c jammy-amd64 -u root
35
36 Using schroot for package building
37 ----------------------------------
38@@ -93,17 +93,17 @@
39 dpkg-source --commit
40 dch -i #
41 update-maintainer # changes
42- sbuild -d bionic-amd64
43+ sbuild -d jammy-amd64
44
45 To build package from source package (``.dsc``), use location of the
46 source package as second parameter::
47
48- sbuild -d bionic-amd64 ~/packages/goodbye_*.dsc
49+ sbuild -d jammy-amd64 ~/packages/goodbye_*.dsc
50
51 To make use of all power of your CPU, you can specify number of threads
52 used for building using standard ``-j<threads>``::
53
54- sbuild -d bionic-amd64 -j8
55+ sbuild -d jammy-amd64 -j8
56
57 Maintaining schroots
58 ====================
59@@ -116,14 +116,14 @@
60 recommended, but if you have specific reason, you can open it using
61 something like::
62
63- $ schroot -c source:bionic-amd64
64+ $ schroot -c source:jammy-amd64
65
66 Updating schroots
67 -----------------
68
69 To upgrade the whole schroot::
70
71- $ sbuild-update -ubc bionic-amd64
72+ $ sudo sbuild-update -udcar jammy-amd64
73
74 Expiring active schroots
75 ------------------------

Subscribers

People subscribed via source and target branches