Skip to content

Commit

Permalink
doc: clarify warning message for rootfs setup
Browse files Browse the repository at this point in the history
Signed-off-by: Yılmaz ŞEN <yilmazz_senn@hotmail.com>
  • Loading branch information
yilmazsen authored and dianpopa committed Mar 17, 2021
1 parent 1440bfd commit 9b937ea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/rootfs-and-kernel-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 9b937ea

Please sign in to comment.