summaryrefslogtreecommitdiff
path: root/misc/etc
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2021-11-25 20:38:04 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2021-11-25 22:29:23 +0100
commite943f3a8c967d95cb9d57367a57db78e79972d74 (patch)
tree14279be1921d2549ebba4644ee3d30e80c7ff38a /misc/etc
parentd6e8a37767644b50001e14ebbab594e799a94db7 (diff)
downloadvtcol-e943f3a8c967d95cb9d57367a57db78e79972d74.tar.gz
move archlinux stuff to subdir
Diffstat (limited to 'misc/etc')
-rwxr-xr-xmisc/etc/grub.d/42_vtcol47
-rw-r--r--misc/etc/initcpio/hooks/vtcol21
-rw-r--r--misc/etc/initcpio/install/vtcol29
-rw-r--r--misc/etc/mkinitcpio-vtcol.conf26
-rw-r--r--misc/etc/mkinitcpio.d/vtcol.preset32
5 files changed, 0 insertions, 155 deletions
diff --git a/misc/etc/grub.d/42_vtcol b/misc/etc/grub.d/42_vtcol
deleted file mode 100755
index cb570ed..0000000
--- a/misc/etc/grub.d/42_vtcol
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-exec tail -n +3 $0
-###############################################################################
-# Copyright 2017--2017 Philipp Gesang
-# Example grub menu entries for loading a vtcol-enabled ramdisk
-###############################################################################
-#
-# See grub-mkconfig(8) for details.
-#
-# This file will require adaptation depending on the local setup. It is
-# advisable that you only use this file for guidance and derive your own
-# configuration from the examples under ``/etc/grub.d/``. Especially the
-# encryption and LVM setup vary greatly with respect to the system
-# configuration. (The actual UUIDs have been replaced by some fresh ones
-# retrieved via /proc/sys/kernel/random/uuid.) YMMV.
-#
-# Always double-check the kernel and initrd lines!
-#
-
-menuentry "linux: initramfs with solarized theme" {
- echo "Booting initramfs with solarized theme ..."
- load_video
- set gfxpayload=keep
- insmod gzio
- insmod part_gpt
- insmod ext2
- set root="hd0,gpt2"
- echo "Booting the kernel ..."
- linux /vmlinuz-linux root=UUID=0d59f480-9149-42ef-bb0d-4dfb66bcfc76 rw cryptdevice=/dev/sda3:secret quiet
- echo "Loading the initramfs ..."
- initrd /initramfs-linux-vtcol.img
-}
-
-menuentry "linux: initramfs with solarized theme / fallback" {
- echo "Booting initramfs with solarized theme ..."
- load_video
- set gfxpayload=keep
- insmod gzio
- insmod part_gpt
- insmod ext2
- set root="hd0,gpt2"
- echo "Booting the kernel ..."
- linux /vmlinuz-linux root=UUID=0d59f480-9149-42ef-bb0d-4dfb66bcfc76 rw cryptdevice=/dev/sda3:secret quiet
- echo "Booting initramfs with solarized theme ..."
- initrd /initramfs-linux-vtcol-fallback.img
-}
-
diff --git a/misc/etc/initcpio/hooks/vtcol b/misc/etc/initcpio/hooks/vtcol
deleted file mode 100644
index 42170b4..0000000
--- a/misc/etc/initcpio/hooks/vtcol
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/ash
-###############################################################################
-# Copyright 2015--2017 Philipp Gesang
-# Example mkinitcpio hook invoking vtcol in the initramfs environment
-###############################################################################
-#
-# See mkinitcpio(8) for details.
-#
-
-run_hook ()
-{
- binary=/usr/bin/vtcol
- scheme=solarized
- schemedir=/usr/share/vtcol/schemes
-
- if [ -f "${schemedir}/${scheme}" ] && [ -x "${binary}" ]; then
- "${binary}" --scheme "${schemedir}/${scheme}"
- fi
-}
-
-# vim:ft=sh:sw=4:et
diff --git a/misc/etc/initcpio/install/vtcol b/misc/etc/initcpio/install/vtcol
deleted file mode 100644
index 400ec07..0000000
--- a/misc/etc/initcpio/install/vtcol
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-###############################################################################
-# Copyright 2015--2017 Philipp Gesang
-# Example mkinitcpio build hook invoking vtcol in the initramfs environment
-###############################################################################
-#
-# See mkinitcpio(8) for details.
-#
-# This does nothing besides invoking ``add_runscript`` to add the vtcol
-# initcpio hook and displaying some basic info.
-
-build () {
- add_runscript
-}
-
-help () {
- cat <<ENOUGH
--------------------------------------------------------------------------------
- vtcol
--------------------------------------------------------------------------------
-
- Set the frambuffer console color scheme
- during early boot.
-
--------------------------------------------------------------------------------
-ENOUGH
-}
-
-# vim:ft=sh:sw=4:et
diff --git a/misc/etc/mkinitcpio-vtcol.conf b/misc/etc/mkinitcpio-vtcol.conf
deleted file mode 100644
index b409d63..0000000
--- a/misc/etc/mkinitcpio-vtcol.conf
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# Copyright 2015--2017 Philipp Gesang
-# Example configuration for the initramfs
-###############################################################################
-#
-# See mkinitcpio.conf(5) for details.
-#
-# This includes the vtcol binary which should be installed somewhere in the
-# shell lookup path, as well as the solarized (dark) color scheme. Then the
-# vtcol hook is executed early on during startup, earlier even than the file
-# systems are initialized. Keeping the binary around in the ramdisk makes this
-# possible.
-
-# BINARIES
-BINARIES="vtcol"
-
-# FILES
-FILES="/usr/share/vtcol/schemes/solarized"
-
-# HOOKS
-HOOKS="base udev autodetect modconf vtcol block encrypt lvm2 filesystems keyboard keymap fsck"
-
-# COMPRESSION
-COMPRESSION="xz"
-
-# vim:ft=sh:et:sw=2
diff --git a/misc/etc/mkinitcpio.d/vtcol.preset b/misc/etc/mkinitcpio.d/vtcol.preset
deleted file mode 100644
index 5b23f1b..0000000
--- a/misc/etc/mkinitcpio.d/vtcol.preset
+++ /dev/null
@@ -1,32 +0,0 @@
-###############################################################################
-# Copyright 2015--2017 Philipp Gesang
-# Example initcpio preset for vtcol
-###############################################################################
-#
-# This preset will enable the configuration at ``/mkinitcpio-vtcol.conf`` Its
-# presence allows you to invoke ``mkinitcpio -p vtcol`` and have the images
-# built corresponding to the path settings configured below. See
-#
-# https://wiki.archlinux.org/index.php/Mkinitcpio#Image_creation_and_activation
-#
-# for details.
-
-# You’ll need to come up with a custom initcpio configuration that includes the
-# color scheme and the vtcol binary in your initramfs.
-ALL_config="/etc/mkinitcpio-vtcol.conf"
-
-# Enter the kernel image you target here. Leave it unmodified if you run the
-# stock Arch kernel.
-ALL_kver="/boot/vmlinuz-linux"
-
-# Create both an ordinary and a fallback image.
-PRESETS=("default" "fallback")
-
-# Location of the kernel image for the default ramdisk.
-default_image="/boot/initramfs-linux-vtcol.img"
-
-# Location of the kernel image for the fallback ramdisk and additional options.
-fallback_image="/boot/initramfs-linux-vtcol-fallback.img"
-fallback_options="-S autodetect"
-
-# vim:ft=sh