mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
sdk-manual: Edits to "Restoring the Target Device to its Original State"
Fixed a grammar error and made a few other corrections. (From yocto-docs rev: 369a22ffe3780fd00514344f1b3b8a944305e320) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d527a5f7ab
commit
73d00d17fb
@@ -1648,29 +1648,29 @@
|
||||
<filename>devtool deploy-target</filename> command.
|
||||
Because the <filename>devtool deploy-target</filename> command
|
||||
backs up any files it overwrites, you can use the
|
||||
<filename>devtool undeploy-target</filename> to restore those files
|
||||
and remove any other files the recipe deployed.
|
||||
<filename>devtool undeploy-target</filename> command to restore
|
||||
those files and remove any other files the recipe deployed.
|
||||
Consider the following example:
|
||||
<literallayout class='monospaced'>
|
||||
$ devtool undeploy-target lighttpd root@192.168.7.2
|
||||
</literallayout>
|
||||
If you have deployed multiple applications, you can remove them
|
||||
all at once thus restoring the target device back to its
|
||||
all using the "-a" option thus restoring the target device to its
|
||||
original state:
|
||||
<literallayout class='monospaced'>
|
||||
$ devtool undeploy-target -a root@192.168.7.2
|
||||
</literallayout>
|
||||
Information about files deployed to the target as well as any
|
||||
backed up files are stored on the target itself.
|
||||
This storage of course requires some additional space
|
||||
This storage, of course, requires some additional space
|
||||
on the target machine.
|
||||
<note>
|
||||
The <filename>devtool deploy-target</filename> and
|
||||
<filename>devtool undeploy-target</filename> command do not
|
||||
<filename>devtool undeploy-target</filename> commands do not
|
||||
currently interact with any package management system on the
|
||||
target device (e.g. RPM or OPKG).
|
||||
Consequently, you should not intermingle operations
|
||||
<filename>devtool deploy-target</filename> and the package
|
||||
Consequently, you should not intermingle
|
||||
<filename>devtool deploy-target</filename> and package
|
||||
manager operations on the target device.
|
||||
Doing so could result in a conflicting set of files.
|
||||
</note>
|
||||
|
||||
Reference in New Issue
Block a user