Skip to content

Commit

Permalink
Modularize and support AUR on alis.sh
Browse files Browse the repository at this point in the history
Create alis-commons.sh module
Recover support for NVIDIA older drivers (in AUR)
Use local variables
Allow to abort with Esc key and reboot with R key.
Many fixes
  • Loading branch information
picodotdev committed Jan 15, 2022
1 parent 8ef69ec commit 4199067
Show file tree
Hide file tree
Showing 44 changed files with 1,074 additions and 1,300 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/alis-site-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.92.0
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -27,9 +29,9 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Install packages (hugo)
run: |
wget https://github.com/gohugoio/hugo/releases/download/v0.91.2/hugo_extended_0.91.2_Linux-64bit.tar.gz
tar xzf hugo_extended_0.91.2_Linux-64bit.tar.gz hugo
rm hugo_extended_0.91.2_Linux-64bit.tar.gz
wget https://github.com/gohugoio/hugo/releases/download/v${{ env.HUGO_VERSION }}/hugo_extended_${{ env.HUGO_VERSION }}_Linux-64bit.tar.gz
tar xzf hugo_extended_${{ env.HUGO_VERSION }}_Linux-64bit.tar.gz hugo
rm hugo_extended_${{ env.HUGO_VERSION }}_Linux-64bit.tar.gz
chmod +x ./hugo
sudo mv ./hugo /usr/local/bin
- name: Echo content (deploy)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
![Arch Linux](https://img.shields.io/badge/-ArchLinux-black?logo=arch-linux)
![Bash](https://img.shields.io/badge/sh-bash-black)

Arch Linux Install Script (or alis) installs unattended, automated and customized Arch Linux system.
Arch Linux Install Script (or alis, also known as _the Arch Linux executable installation guide and wiki_) installs unattended, automated and customized Arch Linux system.

It is a simple bash script that fully automates the installation of a Arch Linux system after booting from the original Arch Linux installation media. It contains the same commands that you would type and execute one by one interactively to complete the installation. The only user intervention needed is to edit a configuration file to choose the installation options and preferences from partitioning, to encryption, bootloader, file system, language and keyboard mapping, desktop environment, kernels, packages to install and graphic drivers. This automation makes the installation easy and fast, fast as less than 4 minutes.
It is a simple bash script based in many Arch Linux Wiki pages that fully automates the installation of a Arch Linux system after booting from the original Arch Linux installation media. It contains the same commands that you would type and execute one by one interactively to complete the installation. The only user intervention needed is to edit a configuration file to choose the installation options and preferences from partitioning, to encryption, bootloader, file system, language and keyboard mapping, desktop environment, kernels, packages to install and graphic drivers. This automation makes the installation easy and fast, fast as less than 4 minutes.

If some time later after an system update for any reason the system does not boot correctly a recovery script is also provided to enter in a recovery mode that allows to downgrade packages or execute any other commands to restore the system. Also a log of the installation can be taken with <a href="https://asciinema.org/">asciinema</a>.

Expand Down
2 changes: 1 addition & 1 deletion alis-asciinema.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -eu

# Arch Linux Install Script (alis) installs unattended, automated
# and customized Arch Linux system.
Expand Down
Loading

0 comments on commit 4199067

Please sign in to comment.