From: William Giokas <1007380@gmail.com>
Date: Sat, 26 Jan 2013 17:15:32 +0000 (-0600)
Subject: man: add Arch Linux entry to systemd-nspawn(5)
X-Git-Tag: v198~389
X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=68562936c243a2e2190a7232c4805ffd094e9b3b;p=elogind.git
man: add Arch Linux entry to systemd-nspawn(5)
Archlinux has a similar tool to debbotstrap in the arch-install-scripts
package that will install to a specified directory. This is generally
used for installation, so the -d flag must be passed to tell it to
install to a non-mountpoint directory.
---
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 777e0a3a7..834e2ccf1 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -320,6 +320,17 @@
+
+ Example 3
+
+ # pacstrap -c -d ~/arch-tree/ base
+# systemd-nspawn -bD ~/arch-tree/
+
+ This installs a mimimal Arch Linux distribution into
+ the directory ~/arch-tree/ and then
+ boots an OS in a namespace container in it.
+
+
Exit status
@@ -334,6 +345,7 @@
chroot1,
yum8,
debootstrap8
+ pacman8