Bob Mottram 9 years ago
parent
commit
f7e8d478b7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise View File

@@ -342,7 +342,7 @@ continue_installation() {
342 342
         if [ ${#CONFIG_FILENAME} -gt 2 ]; then
343 343
             cp $CONFIG_FILENAME $rootdir/root/$PROJECT_NAME.cfg
344 344
             cat $rootdir/root/$PROJECT_NAME.cfg
345
-            schroot "$rootdir" $PROJECT_NAME -c /root/$PROJECT_NAME.cfg
345
+            chroot "$rootdir" su -c "$PROJECT_NAME -c /root/$PROJECT_NAME.cfg" - root
346 346
         fi
347 347
     fi
348 348
 }