[ostree] doc/adapting-existing: A bit more elaboration and a typo fix



commit 1ab01a6b35db9001ef9bbc41c0d97118f83a9b47
Author: Colin Walters <walters verbum org>
Date:   Sat Aug 24 19:18:57 2013 -0400

    doc/adapting-existing: A bit more elaboration and a typo fix

 doc/adapting-existing.xml |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/doc/adapting-existing.xml b/doc/adapting-existing.xml
index f651479..d02e70b 100644
--- a/doc/adapting-existing.xml
+++ b/doc/adapting-existing.xml
@@ -4,7 +4,7 @@
 <!ENTITY version SYSTEM "../version.xml">
 ]>
 <part id="adapting-existing">
-  <title>Adapating existing mainstream distributions</title>
+  <title>Adapting existing mainstream distributions</title>
   <chapter id="layout">
     <title>System layout</title>
     <para>
@@ -20,18 +20,19 @@
     </para>
 
     <para>
-      The <filename class='directory'>/sysroot</filename> directory is
-      a new OS-level directory that OSTree expects to use as a bind
-      mount target to the physical <filename
-      class='directory'>/</filename> root directory.  Remember,
-      because by default the system is booted into a
+      Remember, because by default the system is booted into a
       <literal>chroot</literal> equivalent, there has to be some way
-      to refer to the actual physical root filesystem, and there is
-      precedent for this name in the initramfs context.  This
-      directory must exist; for example, the OSTree tool at runtime
-      expects that <filename
-      class='directory'>/sysroot/ostree/repo</filename> refers to the
-      system repository.
+      to refer to the actual physical root filesystem.  Therefore,
+      your operating system tree should contain an empty <filename
+      class='directory'>/sysroot</filename> directory; at boot time,
+      OSTree will make this a bind mount to the physical / root
+      directory.  There is precedent for this name in the initramfs
+      context.  You should furthermore make a toplevel symbolic link
+      <filename class='directory'>/ostree</filename> which points to
+      <filename class='directory'>/sysroot/ostree</filename>, so that
+      the OSTree tool at runtime can consistently find the system data
+      regardless of whether it's operating on a physical root or
+      inside a deployment.
     </para>
 
     <para>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]