stevleibelt / arch-linux-live-cd-iso-with-zfs

archiso with zfs embedded
GNU General Public License v3.0
57 stars 15 forks source link
arch-iso-zfs arch-linux archiso archiso-zfs archlinux archzfs buildscript gplv3 isobuilding linux-lts livecd openzfs zfs

Arch Linux Archiso builder with zfs support

This repository contains a simple, free as in freedom, wrapper to automate the steps mentioned in the arch linux wiki for the zfs installation and the archios package installation.

The current changelog can be found here.

All you need to do is to execute the build.sh.

You can download a build iso to use here.

All needed packages where installed automatically. The build script will output the path to the created iso file.

At the end, you only need to dd the iso to your favorit usb drive, use venotoy or burn it on an optical disk.

OpenSSF Scorecard

Live enviroment

This iso comes with some batteries included.

Howto

Build by using docker

# run a build
docker compose run --rm archlinux-container /app/build.sh

# to debug the container
#   login and cd /app
docker compose run --rm archlinux-container bash

Build by using your host

Initial setup

This must be done once.

# ref: https://github.com/archzfs/archzfs/wiki#using-the-archzfs-repository
sudo pacman-key -r DDF7DB817396A49B2A2723F7403BD972F75D9D76
sudo pacman-key --lsign-key DDF7DB817396A49B2A2723F7403BD972F75D9D76

List of available scripts

####
# Tired of repeating the same flags again and again?
#
# optional configuration file is supported and saves your keystrokes
# cp .env.dist.dist .env
# adapt file .env
####

####
#build an iso
####
#flags
#   -f|--force
#   -d|--dry-run
#   -h|--help
#   -r|--repo-index [<string: last|week|month|yyyy\/mm\/dd>]
#       if you just use -r, default of >>last<< is used
#       @see: https://archive.archlinux.org/repos/
#   -u|--use-dkms
#   -v|--verbose
####
./build.sh

#test run an existing iso
./run_iso.sh [<string: path to the iso>]

#upload the iso
./upload_iso.sh [<string: path to the iso>]

Run super-linter locally

# ref: https://github.com/super-linter/super-linter#run-using-a-container-runtime-engine
#   assuming that . is the path to the local code base
docker run -e LOG_LEVEL=DEBUG -e RUN_LOCAL=true -v .:/tmp/lint ghcr.io/super-linter/super-linter:latest

Possible issues

Following issues are not reproducable on all my machines.

Error: target not found: ipw2100-fw

Links

Contributers

In alphabetically order.