|
571.
|
|
|
Save file and restart terminal.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:41
|
|
572.
|
|
|
You can also check whether to update the builder every time before building, by changing ``UBUNTUTOOLS_UPDATE_BUILDER`` from ``no`` (default) to ``yes``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:43
|
|
573.
|
|
|
Downloading source packages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:47
|
|
574.
|
|
|
``ubuntu-dev-tools`` comes with ``pull-lp-source`` command, allowing to download source packages from Launchpad. Its usage is simple. To download latest source package for ubuntu-settings, use::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:49
|
|
575.
|
|
|
You can also specify release from which you want to download source or specify version of source package. ``-d`` option allows to download source package without extracting. A slightly more complex example would look like this::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:55
|
|
576.
|
|
|
``pull-debian-source`` package allows to do the same for Debian source packages. It has similar syntax.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:61
|
|
577.
|
|
|
Backporting packages
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:65
|
|
578.
|
|
|
``ubuntu-dev-tools`` provides ``backportpackage`` allowing us to backport a package from specified release of Ubuntu or Debian. For example, to backport ``bzr`` package from latest development release for your installed Ubuntu version, simply::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:67
|
|
579.
|
|
|
This command allows to use more options. To specify Ubuntu release for which you are going to backport a package, use ``-d dest`` or ``--destination=DEST`` parameter, where ``DEST`` is Ubuntu release, for example ``xenial``. You can specify more than one destination. In turn, ``-s SOURCE`` and ``--source=SOURCE`` specifies the Ubuntu or Debian release from which you are going to backport a package. ``-w DIR`` and ``--workdir=DIR`` specifies directory, where package files will be downloaded, unpacked and built. By default, it will create temporary directory that will be automatically deleted. ``-U`` or ``--update`` allows to update build environment before building package. ``-u`` or ``--upload`` allows to upload package after building (for example to PPAs) using ``dput``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:74
|
|
580.
|
|
|
Requesting backports
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/ubuntu-dev-tools.rst:86
|