Comment 4 for bug 650846

Revision history for this message
Colin Watson (cjwatson) wrote :

This is OK release-wise. However, there's one mistake that I can see here:

                                else
                                        mkdir -p /target/home/$TARGET_USERNAME/.local/share/orca
+ mkdir -p /var/lib/gdm/.local/share/orca
                                        echo "import orca.settings" >> /target/home/$TARGET_USERNAME/.local/share/orca/user-settings.py
                                        echo "orca.settings.enableSpeech = False" >> /target/home/$TARGET_USERNAME/.local/share/orca/user-settings.py
                                        echo "orca.settings.enableBraille = True" >> /target/home/$TARGET_USERNAME/.local/share/orca/user-settings.py
                                        chroot /target chown -R $TARGET_USERNAME.$TARGET_USERNAME /home/$TARGET_USERNAME/.local/share/orca
- cp -r /home/$TARGET_USERNAME/.local/share/orca /target/var/lib/gdm
+ cp -r /home/$TARGET_USERNAME/.local/share/orca /target/var/lib/gdm/.local/share/orca
                                        chroot /target chown -R gdm.gdm /var/lib/gdm/.local/share/orca
                                fi

This will result in /target/var/lib/gdm/.local/share/orca/orca/ being created. I think if you just don't add that mkdir then it should work?