Re: SimpleBackportCreation attempt says: The value 'unstable' is invalid for APT::Default-Release
On Fri, Jun 12, 2020 at 12:59:47PM -0400, Greg Wooledge wrote:
> After the compiling, it started running a test suite. One of the
> tests failed. So, this particular package might not have been as
> good a choice as I had hoped, for a simple demonstration of the
> process.
I was too pessimistic. The test suite finally stopped running, and
it went on with the remaining build steps, despite the test(s) that
failed.
==================
dh_builddeb -O--no-parallel
dpkg-deb --root-owner-group --build debian/ksh ..
dpkg-deb --root-owner-group --build debian/.debhelper/ksh/dbgsym-root ..
dpkg-deb: building package 'ksh' in '../ksh_2020.0.0-5_amd64.deb'.
dpkg-deb: building package 'ksh-dbgsym' in '../ksh-dbgsym_2020.0.0-5_amd64.deb'.
dpkg-genbuildinfo
dpkg-genchanges >../ksh_2020.0.0-5_amd64.changes
dpkg-genchanges: info: not including original source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: binary and diff upload (original source NOT included)
==================
So now we go up to the parent directory and see:
==================
unicorn:/var/tmp/clean/ksh-2020.0.0$ cd ..
unicorn:/var/tmp/clean$ ls -lart
total 5284
-rw-r--r-- 1 greg greg 2022861 Oct 10 2019 ksh_2020.0.0.orig.tar.gz
drwxrwxrwt 6 root root 4096 Jun 12 12:50 ../
-rw-r--r-- 1 greg greg 20560 Jun 12 12:53 ksh_2020.0.0-5.debian.tar.xz
-rw-r--r-- 1 greg greg 1037 Jun 12 12:53 ksh_2020.0.0-5.dsc
drwxr-xr-x 14 greg greg 4096 Jun 12 12:53 ksh-2020.0.0/
-rw-r--r-- 1 greg greg 2526112 Jun 12 13:01 ksh-dbgsym_2020.0.0-5_amd64.deb
-rw-r--r-- 1 greg greg 806320 Jun 12 13:01 ksh_2020.0.0-5_amd64.deb
-rw-r--r-- 1 greg greg 6090 Jun 12 13:01 ksh_2020.0.0-5_amd64.buildinfo
-rw-r--r-- 1 greg greg 2133 Jun 12 13:01 ksh_2020.0.0-5_amd64.changes
drwxr-xr-x 3 greg greg 4096 Jun 12 13:01 ./
==================
There's our backported package.
That's how it's done.
Reply to: