Comment 3 for bug 2039873

Revision history for this message
Aleksandr Mikhalitsyn (mihalicyn) wrote (last edit ): Re: liblxc-dev was built with LXC_DEVEL=1 in Ubuntu Jammy/Kinetic

Simon wanted to make a debdiff for this issue because he has an experience with that.

This is debdiff from me but this is the 1st debdiff in my life. Most likely I did something wrong :-)

What I did:

1. set email and name

$ export <email address hidden>"
$ export DEBFULLNAME="Your Name"

2. pull source package

$ pull-lp-source liblxc-dev jammy

3. make required source modifications

4. edit debian/changelog file properly and not forget to add LP issue link

$ debchange

5. form local source changes into patch

$ dpkg-source --commit

6. create a source package from sources

$ debuild -S -d

7. build a binary package and test it

$ debuild
$ dpkg -i your_package.deb

8. create a debdiff:

$ debdiff lxc_5.0.0~git2209-g5a7b9ce67-0ubuntu1.dsc lxc_5.0.0~git2209-g5a7b9ce67-0ubuntu2.dsc > debdiff.diff

Huge thanks to Stéphane Graber for initial instructions about the procedure.