From 9b937ea65fe8b8ba116ba0f773e7b2d9bb0a613c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C4=B1lmaz=20=C5=9EEN?= Date: Fri, 5 Mar 2021 15:21:49 +0300 Subject: [PATCH] doc: clarify warning message for rootfs setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yılmaz ŞEN --- docs/rootfs-and-kernel-setup.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/rootfs-and-kernel-setup.md b/docs/rootfs-and-kernel-setup.md index 7a2679fbd95..fc166c4873a 100644 --- a/docs/rootfs-and-kernel-setup.md +++ b/docs/rootfs-and-kernel-setup.md @@ -119,9 +119,15 @@ Alpine Linux: # Then, copy the newly configured system to the rootfs image: for d in bin etc lib root sbin usr; do tar c "/$d" | tar x -C /my-rootfs; done + + # The above command may trigger the following message: + # tar: Removing leading "/" from member names + # However, this is just a warning, so you should be able to + # proceed with the setup process. + for dir in dev proc run sys var; do mkdir /my-rootfs/${dir}; done - # All done, exit docker shell + # All done, exit docker shell. exit ```