Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| compiling_lxc_containers [2021/10/26 11:24] – added note about how this affects PRs atari | compiling_lxc_containers [2021/12/22 12:14] (current) – First step for unprivileged containers not needed anymore. grandmabetty | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| This is not the recommended way to compile Batocera, as will become evident with all the workarounds you have to do to make this work. Refer to [[https:// | This is not the recommended way to compile Batocera, as will become evident with all the workarounds you have to do to make this work. Refer to [[https:// | ||
| - | This is only useful for personally compiling Batocera, making PRs will be impossible | + | Doing this will render it impossible |
| </ | </ | ||
| - | If you have a dedicated compiling server then compiling on LXC containers is a very convenient way to balance workloads and therefore get the best out of your hardware. | + | If you have a dedicated compiling server then compiling on LXC containers, for example on a [[https:// |
| ===== Preparations ===== | ===== Preparations ===== | ||
| For good security reasons LXC containers on Proxmox are running in unprivileged mode by default. It just keeps the container isolated from your Proxmox host and therefore from other different systems running on it. Nevertheless you have indeed the possibility to run an LXC container in privileged mode for whatever reason if you want to. When compiling Batocera on LXC containers be aware that both, unprivileged and privileged mode, need some minor preparations which will cover you from running into compile errors. | For good security reasons LXC containers on Proxmox are running in unprivileged mode by default. It just keeps the container isolated from your Proxmox host and therefore from other different systems running on it. Nevertheless you have indeed the possibility to run an LXC container in privileged mode for whatever reason if you want to. When compiling Batocera on LXC containers be aware that both, unprivileged and privileged mode, need some minor preparations which will cover you from running into compile errors. | ||
| + | |||
| + | On your unprivileged or privileged LXC container command line do all the steps until the [[compile_batocera.linux# | ||
| ==== Unprivileged containers ==== | ==== Unprivileged containers ==== | ||
| Line 23: | Line 25: | ||
| To prevent these compile error(s) according to file permissions on '' | To prevent these compile error(s) according to file permissions on '' | ||
| - | - Make the following edits to the '' | + | - Make the following edits to the '' |
| - | the '' | + | the '' |
| - | </ | + | </ |
| - | - Make the following edits to the '' | + | |
| - Make the following edits to the '' | - Make the following edits to the '' | ||
| - Make the following edits to the '' | - Make the following edits to the '' | ||
| - Make sure all of the files have saved. | - Make sure all of the files have saved. | ||
| - | Now you should be able to compile without file permission errors caused by missing tar options flags. | + | Now you should be able to compile without file permission errors caused by missing tar options flags. You can continue now from [[compile_batocera.linux# |
| ==== Privileged containers ==== | ==== Privileged containers ==== | ||
| Line 59: | Line 60: | ||
| </ | </ | ||
| - | Save the file, quit the editor and fire up your LXC container. Now you should be able to compile without // | + | Save the file, quit the editor and fire up your LXC container. Now you should be able to compile without // |
- compiling_lxc_containers.1635247445.txt.gz
- Last modified: 5 years ago
- by atari