From dcff42d7583b7abdfe7f9a2abecbaf8e7cfc88aa Mon Sep 17 00:00:00 2001 From: Matt C Date: Sun, 28 Aug 2022 23:14:08 -0400 Subject: [PATCH] remove gitlab-ci and minor cleanup of build script --- .gitlab-ci.yml | 10 ---------- build.sh | 10 +++++----- 2 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 4395670..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,10 +0,0 @@ -image: "archlinux" - -iso: - before_script: - - pacman -Sy reflector --noconfirm --needed - - reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist - - pacman -Sy sudo base-devel pacman-contrib archiso wget git --noconfirm --needed - script: - - ./build_iso.sh - - cp *.iso /output/. -v \ No newline at end of file diff --git a/build.sh b/build.sh index e747e69..6148623 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ if [[ "$2" == "" ]]; then else WORKDIR="$2" if [[ ! -d "$WORKDIR" ]]; then - mkdir -p "$WORKDIR" + mkdir -p "$WORKDIR" fi fi if [[ "$1" == "--build-iso" ]]; then @@ -18,11 +18,11 @@ elif [[ "$1" == "--build-bootstrap" ]]; then else RESULTCODE=0 if [[ "$1" == "" ]]; then - echo "no option given, available options are:" - RESULTCODE=1 + echo "no option given, available options are:" + RESULTCODE=1 elif [[ "$1" != "--help" ]]; then - echo "option '$1' not known, available options are:" - RESULTCODE=1 + echo "option '$1' not known, available options are:" + RESULTCODE=1 fi echo "--build-iso builds a crystal linux iso" echo "--build-bootstrap builds a crystal linux rootfs tarball"