Merge pull request #2 from crystal-linux/main

Pull changes from main to development
main
Michal 2 years ago committed by GitHub
commit d43627e766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,13 +10,21 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }} GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }}
container: container:
image: archlinux:base-devel image: crystallinux/crystal
options: --privileged options: --privileged
steps: steps:
- name: Build - name: Build
run: | 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 - name: Get current date
id: date id: date
@ -25,7 +33,7 @@ jobs:
- name: Upload - name: Upload
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:
artifacts: "iso/*.iso" artifacts: "iso/*.iso,iso/MD5SUMS"
token: ${{ secrets.SECRET_TOKEN }} token: ${{ secrets.SECRET_TOKEN }}
tag: ${{ steps.date.outputs.date }} tag: ${{ steps.date.outputs.date }}

@ -1,15 +1,21 @@
<p align="center"> <p align="center">
<a href="https://getcryst.al"> <a href="https://getcryst.al">
<img src="https://raw.githubusercontent.com/crystal-linux/branding/main/icons/crystal-logo-minimal-iso.png" alt="Logo" width="150" height="150"> <img src="https://getcryst.al/site/assets/other/icon-iso.png" alt="Logo" width="150" height="150">
</a> </a>
</p> </p>
<p align="center"> <p align="center">
<h2 align="center"> Crystal ISO </h2> <h2 align="center"> Crystal ISO </h2>
</p> </p>
<p align="center"> <p align="center">
<a href="https://discord.gg/yp4xpZeAgW"><img alt="Discord" src="https://img.shields.io/discord/825473796227858482?color=blue&label=Discord&logo=Discord&logoColor=white"?link=https://discord.gg/yp4xpZeAgW&link=https://discord.gg/yp4xpZeAgW> </a> <a href="https://github.com/crystal-linux/iso"><img src="https://github.com/crystal-linux/iso/actions/workflows/build.yml/badge.svg"></a><br>
<a href="https://github.com/crystal-linux/iso"><img src="https://github.com/crystal-linux/iso/actions/workflows/build.yml/badge.svg"></a> <a href="https://github.com/crystal-linux/.github/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-GPL--3.0-blue.svg" alt="License">
<img src="https://img.shields.io/badge/Maintainer-@amy-brightgreen" alt=The maintainer of this repository" href="https://github.com/axtloss"> <a href="https://github/crystal-linux/iso"><img alt="GitHub isses" src="https://img.shields.io/github/issues-raw/crystal-linux/iso"></a>
<a href="https://github/crystal-linux/iso"><img alt="GitHub pull requests" src="https://img.shields.io/github/issues-pr-raw/crystal-linux/iso"></a><br>
<a href="https://discord.gg/hYJgu8K5aA"><img alt="Discord" src="https://img.shields.io/discord/825473796227858482?color=blue&label=Discord&logo=Discord&logoColor=white"> </a>
<a href="https://github.com/axtloss"><img src="https://img.shields.io/badge/Maintainer-@axtloss-brightgreen" alt="The maintainer of this repository" href="https://github.com/axtloss"></a>
<br>
<a href="https://fosstodon.org/@crystal_linux"><img alt="Mastodon Follow" src="https://img.shields.io/mastodon/follow/108618426259408142?domain=https%3A%2F%2Ffosstodon.org">
<a href="https://twitter.com/crystal_linux"><img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/crystal_linux"></a>
</p> </p>
<p align="center"> Build or download the Arch-based Crystal Linux iso. </p> <p align="center"> Build or download the Arch-based Crystal Linux iso. </p>
@ -26,3 +32,11 @@ You will have to use Arch or Arch-Based distros to build this ISO File.
* Run `./build_iso.sh` * Run `./build_iso.sh`
* If you get an error about `/tmp/<something>` 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 get an error about `/tmp/<something>` 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 * 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.)

@ -17,6 +17,8 @@ mesa
mkinitcpio mkinitcpio
mkinitcpio-archiso mkinitcpio-archiso
networkmanager networkmanager
zsh
curl
openbsd-netcat openbsd-netcat
openssh openssh
pacman-contrib pacman-contrib

Loading…
Cancel
Save