Bob Mottram 9 gadus atpakaļ
vecāks
revīzija
961cf68f58
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise Parādīt failu

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