diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a90117c..797116c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,13 +10,21 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }} container: - image: archlinux:base-devel + image: crystallinux/crystal options: --privileged steps: - name: Build run: | - pacman-key --init && pacman -Syu --needed --noconfirm && pacman -S --noconfirm --needed bind && nslookup repo.getcryst.al && pacman -S git archiso pacman-contrib --needed --noconfirm && git clone https://github.com/crystal-linux/iso/ && cd iso && bash build_iso.sh + pacman -Syu --needed --noconfirm + pacman -S --noconfirm --needed bind + nslookup repo.getcryst.al + pacman -S git archiso pacman-contrib --needed --noconfirm + git clone https://github.com/crystal-linux/iso/ + cd iso + bash build_iso.sh + md5sum *.iso > MD5SUMS + - name: Get current date id: date @@ -25,7 +33,7 @@ jobs: - name: Upload uses: ncipollo/release-action@v1 with: - artifacts: "iso/*.iso" + artifacts: "iso/*.iso,iso/MD5SUMS" token: ${{ secrets.SECRET_TOKEN }} tag: ${{ steps.date.outputs.date }} diff --git a/README.md b/README.md index e8c3f9d..71170b6 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,21 @@

- Logo + Logo

Crystal ISO

-Discord - -The +
+ License + GitHub isses + GitHub pull requests
+ Discord + The maintainer of this repository +
+ Mastodon Follow + Twitter Follow

Build or download the Arch-based Crystal Linux iso.

@@ -26,3 +32,11 @@ You will have to use Arch or Arch-Based distros to build this ISO File. * Run `./build_iso.sh` * If you get an error about `/tmp/` running out of space, reboot (to clear tmpfs), then re-run with a dir to use as temp (e.g. `./build_iso.sh FOOBAR`) * If you also add a second arg as in `./build_iso.sh /some/folder testing`, you'll pull from our testing repo + +### How to build inside of Docker or Podman: +* The container **MUST** be ran as root to build. + * Other than needing to be ran as root, it should function correctly. You may need to install a few more dependencies aside from the ones listed here. + + To enter a distrobox container as root, run `distrobox enter --root boxnamehere -- bash` + + (the `-- bash` is to ensure the container opens properly. Install your host shell afterwards to get it to open using your host shell.) diff --git a/crystal/packages.x86_64 b/crystal/packages.x86_64 index e09404a..4c91efa 100644 --- a/crystal/packages.x86_64 +++ b/crystal/packages.x86_64 @@ -17,6 +17,8 @@ mesa mkinitcpio mkinitcpio-archiso networkmanager +zsh +curl openbsd-netcat openssh pacman-contrib