Existing install: add information about a non-separate home
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 30 Aug 2017 18:38:48 +0000 (14:38 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 30 Aug 2017 19:59:25 +0000 (15:59 -0400)
When /home isn't a separate partition, it's necessary to create a
symlink from /var/home to /sysroot/home.

README.md

index 1735a527f7940f3e6040d10935f427943f70ee79..fa8e4e8ebd4918934f42e102870121936136229d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -97,7 +97,11 @@ To initialize this root, you'll need to copy over your `/etc/fstab`, `/etc/local
 for i in /etc/fstab /etc/default/grub /etc/locale.conf /etc/ostree/remotes.d/fedora-ws-rawhide.conf ; do cp $i /ostree/deploy/fedora/deploy/$checksum.0/$i; done
 ```
 If you have a separate `/home` mount point, you'll need to change
-that `fstab` copy to refer to `/var/home`.
+that `fstab` copy to refer to `/var/home`. If you *don't* have a separate /home mount
+point, then you need to make sure that a symlink will be created:
+```
+echo 'L /var/home - - - - ../sysroot/home' > /ostree/deploy/fedora/deploy/$checksum.0/$i/etc/tmpfiles.d/00rpm-ostree.conf
+```
 
 You'll also need to copy your user entry from `/etc/passwd`, `/etc/group`,
 and `/etc/shadow` into the new `/etc/`, and add yourself to the wheel group