Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Add systemd-boot configuration #21

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/jekyll-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Jekyll site CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
51 changes: 51 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
47 changes: 47 additions & 0 deletions _docs/systemd-boot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
layout: docs
status: publish
published: true
title: Configuring systemd-boot
permalink: /docs/
author:
display_name: shalokshalom
login: shalokshalom
email: [email protected]
url: ''
author_login: shalokshalom
author_email: [email protected]
wordpress_id:
wordpress_url:
date: '2021-02-21 23:17:50 +0100'
date_gmt: '2021-02-21 23:17:50 +0100'
categories: []
tags: []
comments: []
---
* This will become a table of contents (this text will be scraped).
{:toc}

Systemd-boot is the boot manager that replaces GRUB2 in the UEFI installations of KaOS.
In order to configure it, edit the file ```/usr/lib/systemd/boot/loader/loader.conf```

For the complete, official documentation see: https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/

## Short overview

By default, you see two values in this file: "timeout" and "default".

### Reducing the timer
{: .offset}

In order to reduce the time at which the default selection does boot automatically, change the number next to "timeout".

### Default boot selection
{: .offset}

The default selection is also pretty self explanatory. It defines the default boot selection.

### Complete documentation
{: .offset}

In order to find more comprehensive documentation for the possible settings, visit [the Arch Wiki](https://wiki.archlinux.org/index.php/Systemd-boot#Configuration)