diff options
| -rw-r--r-- | doc/apt-get.8.xml | 5 | ||||
| -rwxr-xr-x | test/integration/test-apt-get-build-dep | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index e5bc0fc6b..746f5075e 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -634,6 +634,11 @@ Configuration Item: <literal>APT::Get::Indep-Only</literal>.</para></listitem> </varlistentry> + <varlistentry><term><option>--arch-only</option> <option>--indep-only</option></term> + <listitem><para>Only process build-dependencies that are neither architecture-dependent nor architecture-independent; + intersection of the previous two options.</para></listitem> + </varlistentry> + <varlistentry><term><option>--allow-unauthenticated</option></term> <listitem><para>Ignore if packages can't be authenticated and don't prompt about it. This can be useful while working with local repositories, diff --git a/test/integration/test-apt-get-build-dep b/test/integration/test-apt-get-build-dep index f6158a115..de36661c5 100755 --- a/test/integration/test-apt-get-build-dep +++ b/test/integration/test-apt-get-build-dep @@ -148,3 +148,17 @@ Inst build-essential (1 stable [i386]) Conf build-depends (1 stable [i386]) Conf build-depends-indep (1 stable [i386]) Conf build-essential (1 stable [i386])" aptget build-dep --simulate ./foobar.dsc --indep-only + +testsuccessequal "Note, using file './foobar.dsc' to get the build dependencies +Reading package lists... +Building dependency tree... +The following packages will be REMOVED: + build-conflicts +The following NEW packages will be installed: + build-depends build-essential +0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. +Remv build-conflicts [1] +Inst build-depends (1 stable [i386]) +Inst build-essential (1 stable [i386]) +Conf build-depends (1 stable [i386]) +Conf build-essential (1 stable [i386])" aptget build-dep --simulate ./foobar.dsc --arch-only --indep-only |
