Comment 15 for bug 1860345

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

SNS,

I'm glad it's working now.

You are right, I should not have included "sudo" in the commands. In chroot, you are already root, and there is no need to add sudo. (If you do include it, it has no effect, and the command runs the same).

Regarding your second question, see if your app has a mechanism or option for installing "globally" rather than "locally". Usually, these apps install themselves to "/opt" or "/use/share" insted of the user's current home directory.

If that option is not available, and need files available for all users, you can copy them to the /etc/skel folder, and they will be automatically copied to the new home folder for EVERY new user you create when running your customized ISO. As long as none of the files in .local/lib/python3.7/site-packages/* reference a user id or a user's home path (in this case "/root"), it should work fine when copied to /etc/skel.

Usually, questions like this can be asked by clicking on "Answers" at the top of this page (https://answers.launchpad.net/cubic).