浏览代码

Revert "Try with no su"

This reverts commit 411e3834e5864aa880473384dad94b4d2d974271.
Bob Mottram 9 年前
父节点
当前提交
ad501c1083
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise 查看文件

@@ -374,7 +374,7 @@ continue_installation() {
374 374
 		if [ ${#CONFIG_FILENAME} -gt 2 ]; then
375 375
 			cp $CONFIG_FILENAME $rootdir/root/$PROJECT_NAME.cfg
376 376
 			cat $rootdir/root/$PROJECT_NAME.cfg
377
-			chroot "$rootdir" $PROJECT_NAME -c /root/$PROJECT_NAME.cfg
377
+			chroot "$rootdir" su -c "$PROJECT_NAME -c /root/$PROJECT_NAME.cfg" - root
378 378
 		fi
379 379
 	fi
380 380
 }