summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-03-27 12:47:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-31 12:14:17 +0100
commit1a4c0bfafdbd607606587752eec57641a9a4c9f1 (patch)
tree15da751d32518ecfd306ad2e2a6119450dfb6fd2 /documentation
parent646130271f7c66817cc80100d7fa44fc512d3345 (diff)
downloadpoky-1a4c0bfafdbd607606587752eec57641a9a4c9f1.tar.gz
dev-manual; ref-manual: Updates to replace "smart" with "dnf"
Fixes [YOCTO #9675] Various fixes to replace the "smart" package manager references with "dnf". (From yocto-docs rev: 721dc7fb637c4c03534eb19f61b0b08a7303826d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml47
-rw-r--r--documentation/ref-manual/closer-look.xml2
-rw-r--r--documentation/ref-manual/ref-classes.xml2
-rw-r--r--documentation/ref-manual/ref-variables.xml5
4 files changed, 32 insertions, 24 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 9174417ae9..0f6b32209f 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -8244,13 +8244,14 @@
8244 <title>Using RPM</title> 8244 <title>Using RPM</title>
8245 8245
8246 <para> 8246 <para>
8247 The <filename>smart</filename> application performs 8247 The <filename>dnf</filename> application performs
8248 runtime package management of RPM packages. 8248 runtime package management of RPM packages.
8249 You must perform an initial setup for 8249 You must perform an initial setup for
8250 <filename>smart</filename> on the target machine 8250 <filename>dnf</filename> on the target machine
8251 if the 8251 if the
8252 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_FEED_ARCHS'><filename>PACKAGE_FEED_ARCHS</filename></ulink>, 8252 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_FEED_ARCHS'><filename>PACKAGE_FEED_ARCHS</filename></ulink>,
8253 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_FEED_BASE_PATHS'><filename>PACKAGE_FEED_BASE_PATHS</filename></ulink>, and 8253 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_FEED_BASE_PATHS'><filename>PACKAGE_FEED_BASE_PATHS</filename></ulink>,
8254 and
8254 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_FEED_URIS'><filename>PACKAGE_FEED_URIS</filename></ulink> 8255 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_FEED_URIS'><filename>PACKAGE_FEED_URIS</filename></ulink>
8255 variables have not been set or the target image was 8256 variables have not been set or the target image was
8256 built before the variables were set. 8257 built before the variables were set.
@@ -8262,21 +8263,26 @@
8262 <filename>all</filename>, <filename>i586</filename>, 8263 <filename>all</filename>, <filename>i586</filename>,
8263 and <filename>qemux86</filename> from a server named 8264 and <filename>qemux86</filename> from a server named
8264 <filename>my.server</filename>. 8265 <filename>my.server</filename>.
8265 You must inform <filename>smart</filename> of the 8266 You must inform <filename>dnf</filename> of the
8266 availability of these databases by issuing the 8267 availability of these databases by creating a
8267 following commands on the target: 8268 <filename>/etc/yum.repos.d/oe-packages.repo</filename>
8269 file with the following content:
8268 <literallayout class='monospaced'> 8270 <literallayout class='monospaced'>
8269 # smart channel --add i585 type=rpm-md baseurl=http://my.server/rpm/i586 8271 [oe-packages]
8270 # smart channel --add qemux86 type=rpm-md baseurl=http://my.server/rpm/qemux86 8272 baseurl="http://my.server/rpm/i586 http://my.server/rpm/qemux86 http://my.server/rpm/all"
8271 # smart channel --add all type=rpm-md baseurl=http://my.server/rpm/all
8272 </literallayout> 8273 </literallayout>
8273 From the target machine, fetch the repository: 8274 From the target machine, fetch the repository:
8274 <literallayout class='monospaced'> 8275 <literallayout class='monospaced'>
8275 # smart update 8276 # dnf makecache
8276 </literallayout> 8277 </literallayout>
8277 After everything is set up, <filename>smart</filename> 8278 After everything is set up, <filename>dnf</filename>
8278 is able to find, install, and upgrade packages from 8279 is able to find, install, and upgrade packages from
8279 the specified repository. 8280 the specified repository.
8281 <note>
8282 See the
8283 <ulink url='http://dnf.readthedocs.io/en/latest/'>Dnf documentation</ulink>
8284 for additional information.
8285 </note>
8280 </para> 8286 </para>
8281 </section> 8287 </section>
8282 8288
@@ -8446,11 +8452,11 @@
8446 <para> 8452 <para>
8447 In addition to being able to sign RPM packages, you can 8453 In addition to being able to sign RPM packages, you can
8448 also enable the OpenEmbedded build system to be able to 8454 also enable the OpenEmbedded build system to be able to
8449 handle previously signed package feeds for both RPM and IPK 8455 handle previously signed package feeds for IPK
8450 packages. 8456 packages.
8451 <note> 8457 <note>
8452 The OpenEmbedded build system does not currently 8458 The OpenEmbedded build system does not currently
8453 support signed DPKG package feeds. 8459 support signed DPKG or RPM package feeds.
8454 </note> 8460 </note>
8455 The steps you need to take to enable signed package feed 8461 The steps you need to take to enable signed package feed
8456 use are similar to the steps used to sign RPM packages. 8462 use are similar to the steps used to sign RPM packages.
@@ -9321,12 +9327,13 @@
9321 <listitem><para><emphasis>Be sure your host's firewall 9327 <listitem><para><emphasis>Be sure your host's firewall
9322 accepts incoming connections from 9328 accepts incoming connections from
9323 192.168.7.0/24:</emphasis> 9329 192.168.7.0/24:</emphasis>
9324 Some of the tests (in particular smart tests) start an 9330 Some of the tests (in particular dnf tests) start
9325 HTTP server on a random high number port, which is 9331 an HTTP server on a random high number port,
9326 used to serve files to the target. 9332 which is used to serve files to the target.
9327 The smart module serves 9333 The smart module serves
9328 <filename>${DEPLOY_DIR}/rpm</filename> so it can run 9334 <filename>${WORKDIR}/oe-rootfs-repo</filename>
9329 smart channel commands. That means your host's firewall 9335 so it can run dnf channel commands.
9336 That means your host's firewall
9330 must accept incoming connections from 192.168.7.0/24, 9337 must accept incoming connections from 192.168.7.0/24,
9331 which is the default IP range used for tap devices 9338 which is the default IP range used for tap devices
9332 by <filename>runqemu</filename>.</para></listitem> 9339 by <filename>runqemu</filename>.</para></listitem>
@@ -9826,7 +9833,7 @@
9826 <listitem><para>The default tests for the image are defined 9833 <listitem><para>The default tests for the image are defined
9827 as: 9834 as:
9828 <literallayout class='monospaced'> 9835 <literallayout class='monospaced'>
9829 DEFAULT_TEST_SUITES_pn-<replaceable>image</replaceable> = "ping ssh df connman syslog xorg scp vnc date rpm smart dmesg" 9836 DEFAULT_TEST_SUITES_pn-<replaceable>image</replaceable> = "ping ssh df connman syslog xorg scp vnc date rpm dnf dmesg"
9830 </literallayout></para></listitem> 9837 </literallayout></para></listitem>
9831 <listitem><para>Add your own test to the list of the 9838 <listitem><para>Add your own test to the list of the
9832 by using the following: 9839 by using the following:
@@ -10024,7 +10031,7 @@
10024 </para></listitem> 10031 </para></listitem>
10025 <listitem><para><emphasis><filename>server_ip</filename>:</emphasis> 10032 <listitem><para><emphasis><filename>server_ip</filename>:</emphasis>
10026 The host's IP address, which is 10033 The host's IP address, which is
10027 usually used by the "smart" test 10034 usually used by the "dnf" test
10028 suite. 10035 suite.
10029 </para></listitem> 10036 </para></listitem>
10030 <listitem><para><emphasis><filename>run(cmd, timeout=None)</filename>:</emphasis> 10037 <listitem><para><emphasis><filename>run(cmd, timeout=None)</filename>:</emphasis>
diff --git a/documentation/ref-manual/closer-look.xml b/documentation/ref-manual/closer-look.xml
index b73e59ca7e..d7b47d83da 100644
--- a/documentation/ref-manual/closer-look.xml
+++ b/documentation/ref-manual/closer-look.xml
@@ -1054,7 +1054,7 @@
1054 1054
1055 <para> 1055 <para>
1056 Package installation is under control of the package manager 1056 Package installation is under control of the package manager
1057 (e.g. smart/rpm, opkg, or apt/dpkg) regardless of whether or 1057 (e.g. dnf/rpm, opkg, or apt/dpkg) regardless of whether or
1058 not package management is enabled for the target. 1058 not package management is enabled for the target.
1059 At the end of the process, if package management is not 1059 At the end of the process, if package management is not
1060 enabled for the target, the package manager's data files 1060 enabled for the target, the package manager's data files
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index f7b1126d7c..3d9fbf695d 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -2374,7 +2374,7 @@
2374 2374
2375 <para> 2375 <para>
2376 If you take the optional step to set up a repository (package feed) 2376 If you take the optional step to set up a repository (package feed)
2377 on the development host that can be used by Smart, you can 2377 on the development host that can be used by Dnf, you can
2378 install packages from the feed while you are running the image 2378 install packages from the feed while you are running the image
2379 on the target (i.e. runtime installation of packages). 2379 on the target (i.e. runtime installation of packages).
2380 For more information, see the 2380 For more information, see the
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 4a42c5c00e..758de36e70 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -14352,8 +14352,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
14352 <note> 14352 <note>
14353 The <filename>TEST_SERVER_IP</filename> variable 14353 The <filename>TEST_SERVER_IP</filename> variable
14354 is only used for a small number of tests such as 14354 is only used for a small number of tests such as
14355 the "smart" test suite, which needs to download 14355 the "dnf" test suite, which needs to download
14356 packages from <filename>DEPLOY_DIR/rpm</filename>. 14356 packages from
14357 <filename>WORKDIR/oe-rootfs-repo</filename>.
14357 </note> 14358 </note>
14358 </para> 14359 </para>
14359 </glossdef> 14360 </glossdef>