Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devdoc:documentation [2021/02/16 13:49] abelbeck [Linux Build System] |
devdoc:documentation [2023/12/11 06:37] mkeuter [Linux Build System] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Development Environment ====== | ====== Development Environment ====== | ||
- | The AstLinux Development Environment (ADE) is maintained in a repository on GitHub | + | The AstLinux Development Environment (ADE) is maintained in a repository on GitHub. |
AstLinux is cross-compiled, | AstLinux is cross-compiled, | ||
===== Linux Build System ===== | ===== Linux Build System ===== | ||
- | Building AstLinux requires using some version of Debian/Ubuntu or RHEL/ | + | Building AstLinux requires using some version of Debian Linux. A 64-bit, x86_64 build system is required. |
- | Using a Virtual Machine is suggested, | + | Using a Virtual Machine is suggested, |
* 64 GB Storage | * 64 GB Storage | ||
Line 16: | Line 16: | ||
Linux Build Systems known to work **(must be x86_64)**: | Linux Build Systems known to work **(must be x86_64)**: | ||
- | * Debian | + | * Debian |
- | * Ubuntu 14.04 | + | |
- | * Ubuntu 16.04 | + | |
!!Tip ->!! Use a somewhat older LTS (Long Term Support) Linux distro in a VM, that will be the most compatible with our version of Buildroot. | !!Tip ->!! Use a somewhat older LTS (Long Term Support) Linux distro in a VM, that will be the most compatible with our version of Buildroot. | ||
Line 24: | Line 22: | ||
!!Tip ->!! Use a " | !!Tip ->!! Use a " | ||
- | !!Tip ->!! To run Debian 10 in a LXC container on Proxmox 6, you need to enable " | + | !!Tip ->!! To run Debian 10/11 in a LXC container on Proxmox 6/7/8, you need to enable " |
+ | |||
+ | !!Tip ->!! There seems to be a problem when running the Linux Build Systems in Proxmox as LXC container on a ZFS filesystem. If you get errors like this | ||
+ | genext2fs: couldn' | ||
+ | although there is plenty of free space. | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | To build Astlinux you first need to install some additional packages, depending on your Linux distribution: | + | To build Astlinux you first need to install some additional packages: |
**[[.packages|Package lists]]** | **[[.packages|Package lists]]** | ||
Line 45: | Line 47: | ||
!!Important ->!! You should **not be root**, login as a non-admin user. | !!Important ->!! You should **not be root**, login as a non-admin user. | ||
===== Checking out the Source ===== | ===== Checking out the Source ===== | ||
- | Now we will grab AstLinux via SVN: | + | Now we will grab AstLinux via '' |
- | + | ||
- | svn co https:// | + | |
- | + | ||
- | // | + | |
- | + | ||
- | **Explanation: | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | '' | + | git clone https:// |
- | You should see a bunch of files scroll down your machine. Depending on the speed of your connection, this could take a few minutes | + | You should see a bunch of files scroll down your machine. Depending on the speed of your connection, this could take a few seconds |
- | Once the checkout | + | Once the clone process has completed, cd into astlinux/ |
cd astlinux/ | cd astlinux/ | ||
Line 71: | Line 61: | ||
Next we will copy the default AstLinux config file and look for any new configure options. | Next we will copy the default AstLinux config file and look for any new configure options. | ||
- | Copy the default AstLinux config file (example with Asterisk | + | Copy the default AstLinux config file (example with Asterisk |
- | cp x86_64-configs/ | + | cp x86_64-configs/ |
Check for new configure options: | Check for new configure options: |