Bob Mottram 9 lat temu
rodzic
commit
961cf68f58
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise Wyświetl plik

195
     # The presence of this file indicates that the initial
195
     # The presence of this file indicates that the initial
196
     # setup has not yet been completed
196
     # setup has not yet been completed
197
     touch $rootdir/home/$MY_USERNAME/.initial_setup
197
     touch $rootdir/home/$MY_USERNAME/.initial_setup
198
-    chown $MY_USERNAME:$MY_USERNAME $rootdir/home/$MY_USERNAME/.initial_setup
198
+    chroot $rootdir chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.initial_setup
199
     touch $rootdir/root/.initial_setup
199
     touch $rootdir/root/.initial_setup
200
 
200
 
201
     cat >> $rootdir/home/$MY_USERNAME/.bashrc <<EOF
201
     cat >> $rootdir/home/$MY_USERNAME/.bashrc <<EOF