/archcraft

// Source : ISO

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Archcraft ISO Profile

This repository contains the ISO profile for building Archcraft.

Building Manually

To build Archcraft ISO manually, you need an Arch Linux system with the required packages installed:

# Install required packages
sudo pacman -S archiso base-devel git squashfs-tools dosfstools libisoburn mtools

# Clone this repository
git clone https://github.com/yourusername/archcraft.git
cd archcraft

# Build the ISO
sudo ./profile/mkarchcraftiso -v -w /tmp/archcraft-build -o ./out ./profile

The ISO will be generated in the out directory.

Building with Docker

A Dockerfile is provided to simplify the build process and make it platform-independent:

Prerequisites

  • Docker installed on your system
  • Sufficient disk space (at least 10GB recommended)

Building the ISO with Docker

  1. Clone this repository:

    git clone https://github.com/yourusername/archcraft.git
    cd archcraft
  2. Build the Docker image:

    docker build -t archcraft-builder .
  3. Run the container to build the ISO:

    docker run -it --rm -v $(pwd)/out:/archcraft/out archcraft-builder

    This will mount the local out directory to the container's output directory, saving the resulting ISO to your local system.

  4. The ISO will be available in the out directory when the process completes.

Customizing the Build

You can pass additional arguments to the mkarchcraftiso script by overriding the default command:

docker run -it --rm -v $(pwd)/out:/archcraft/out archcraft-builder "cd /archcraft && ./profile/mkarchcraftiso -v -w /tmp/archcraft-build -o /archcraft/out -r /archcraft/profile"

License

See the LICENSE file for details.