|
@@ -195,7 +195,7 @@ create_generic_image() {
|
195
|
195
|
# The presence of this file indicates that the initial
|
196
|
196
|
# setup has not yet been completed
|
197
|
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
|
199
|
touch $rootdir/root/.initial_setup
|
200
|
200
|
|
201
|
201
|
cat >> $rootdir/home/$MY_USERNAME/.bashrc <<EOF
|