Mount tmpfs in chroot's /dev folders (#1317)

This commit is contained in:
Oliver Smith 2018-03-10 14:24:16 +00:00 committed by GitHub
parent 0269073cc1
commit dc624aecea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 5 deletions

View file

@ -46,10 +46,7 @@ def copy_resolv_conf(args, suffix="native"):
def create_device_nodes(args, suffix):
error = ("Failed to create nodes in the '" + suffix + "' chroot. Please"
" run 'pmbootstrap init' again and put your work folder on a"
" normal Linux filesystem. (No ntfs, fat, encfs or encfs"
" encrypted home folder, shared folder etc.)")
error = "Failed to create device nodes in the '" + suffix + "' chroot."
# Folder sturcture
chroot = args.work + "/chroot_" + suffix