浏览代码

Missing rootdir

Bob Mottram 9 年前
父节点
当前提交
9b3263767c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/freedombone-image-customise

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

@@ -195,7 +195,8 @@ create_generic_image() {
195 195
     touch $rootdir/home/$MY_USERNAME/.initial_setup
196 196
 
197 197
    
198
-	cat >> /home/$MY_USERNAME/.bashrc <<EOF
198
+	cat >> $rootdir/home/$MY_USERNAME/.bashrc <<EOF
199
+# initial setup of the system
199 200
 if [ -f ~/.initial_setup ]; then
200 201
     clear
201 202
     echo '>>> Freedombone system initial setup <<<'