Buildroot

Build dahliaOS with Buildroot

💡

Special thanks to PS4Linux (opens in a new tab) for some of the build instructions and Advanced Climate Systems (opens in a new tab) where this project is initially based on.

Requirements

  • Ethernet connection (reccommended for data downloads), a quad-core x86_64 CPU and at least 8 GiB of RAM when compiling.
  • 4C/8T or better CPU with 10 GB of RAM for optimal speeds.
  • Decent amount of hard drive space, around 64 GB is recommended if you clear out the build directory often.

It takes around 8 hours to build a full image from scratch on a Dell Optiplex 790 with a 3.0 GHz i5-2400 CPU and 16 GB of RAM.

Install docker

sudo dnf install docker && sudo systemctl start docker

Get the docker image

  1. Download the docker image
sudo docker pull ghcr.io/dahliaos/buildroot:latest
  1. Setup Buildroot's volumes
sudo docker run -i --name buildroot_output ghcr.io/dahliaos/buildroot /bin/echo "Data only."

Building dahliaOS

  1. Clone buildroot.
git clone https://github.com/dahliaos/buildroot.git
  1. Go into the cloned buildroot directory and run sudo ./build make or if you want to, you can first make changes to Busybox(init), Linux and Buildroot settings, once you're done just run sudo ./build make.
💡

The build script is used to connect to the docker container and to pass commands to it.

  • sudo ./build make busybox-menuconfig
  • sudo ./build make linux-menuconfig
  • sudo ./build make menuconfig
  1. Once it's done, your ISO file should be in /images!