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 [2020/04/17 14:07] abelbeck [Linux Build System] |
devdoc:documentation [2023/12/11 06:40] 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)**: | ||
- | * CentOS 7 - //(used for official releases)// | + | * Debian 11 - //(recommended)// |
- | * Debian 9 | + | |
- | * Debian 10 | + | |
- | * 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 26: | 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 System" | ||
+ | genext2fs: couldn' | ||
+ | although there is plenty of free space. It doesn' | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | To build Astlinux you first need to install some packages, depending on your Linux distribution: | + | To build Astlinux you first need to install some additional |
**[[.packages|Package lists]]** | **[[.packages|Package lists]]** | ||
Line 47: | 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 73: | 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: |