summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-08-31 11:41:16 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-08-31 11:41:16 +0400
commit465582f4d5ddada716f4eb3f16199f33918b9b36 (patch)
tree7576811027386eb0ef5da1afb4576758e1d3cccf /install
parent63babb8a825a95c861da6579d3eb3a171a9d7f17 (diff)
downloadlive-465582f4d5ddada716f4eb3f16199f33918b9b36.tar.gz
Mount /home to create a regular user
Diffstat (limited to 'install')
-rwxr-xr-xinstall3
1 files changed, 3 insertions, 0 deletions
diff --git a/install b/install
index 2e392e8..d76226b 100755
--- a/install
+++ b/install
@@ -837,6 +837,9 @@ def mount_in_bootenv():
call(['mount', '-F' , 'fd', '-', rootdir + '/dev/fd'], stdout=PIPE, stderr=PIPE)
call(['mount', '-F' , 'proc', '-', rootdir + '/proc'], stdout=PIPE, stderr=PIPE)
+ # /home is rpool/home, we need this to create a regular user:
+ call(['mount', '-F' , 'lofs', '/mnt/'+rpool+'/home', rootdir + '/home'], stdout=PIPE, stderr=PIPE)
+
def set_root_password():
entry1 = Entry(width=30, password=1, returnExit=0)
entry2 = Entry(width=30, password=1, returnExit=1)