mkinitcpio hooks that print the word "Welcome" in big letters and draw a box for inputting an encryption password and catching the fsck output during early userspace. See blog post for a video: https://mcol.xyz/2020/06/ricing-early-userspace.html
git clone https://github.com/m-col/mkinitcpio-welcome
Files | Refs | Readme

-rw-r--r-- makefile


      1 PREFIX    ?= /usr/lib/initcpio
      2 
      3 help:
      4 	@echo "make install:		install files"
      5 	@echo "make uninstall:		uninstall files"
      6 
      7 install:
      8 	@mkdir -p "$(PREFIX)/hooks"
      9 	@mkdir -p "$(PREFIX)/install"
     10 	@cp -f "hooks/welcome" "$(PREFIX)/hooks/"
     11 	@cp -f "install/welcome" "$(PREFIX)/install/"
     12 	@echo "Make sure to rebuild the initramfs to include these hooks"
     13 
     14 uninstall:
     15 	@rm -f "$(PREFIX)/hooks/welcome"
     16 	@rm -f "$(PREFIX)/install/welcome"
     17 
     18 
     19 .PHONY: help install uninstall
     20