From caf8ec2e2623407dfd933959eaaea4f08612729f Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 31 May 2015 09:54:01 +0200 Subject: misc: add example initramfs setup --- misc/etc/mkinitcpio.d/vtcol.preset | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 misc/etc/mkinitcpio.d/vtcol.preset (limited to 'misc/etc/mkinitcpio.d') diff --git a/misc/etc/mkinitcpio.d/vtcol.preset b/misc/etc/mkinitcpio.d/vtcol.preset new file mode 100644 index 0000000..cccd004 --- /dev/null +++ b/misc/etc/mkinitcpio.d/vtcol.preset @@ -0,0 +1,32 @@ +############################################################################### +# Copyright 2015 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 -- cgit v1.2.3