├── .gitignore ├── Makefile ├── README.md ├── etc └── archlogo.conf ├── hook └── archlogo ├── install └── archlogo ├── share ├── archlogo ├── archlogo2 └── archlogo3 └── systemd ├── archlogo └── archlogo.service /.gitignore: -------------------------------------------------------------------------------- 1 | README.html 2 | mkinitcpio-archlogo-*.tar.xz 3 | mkinitcpio-archlogo-*.tar.xz.asc 4 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for mkinitcpio-archlogo 2 | 3 | VERSION=0.3.1 4 | 5 | all: 6 | @echo "Just run make install..." 7 | 8 | .PHONY: install 9 | install: 10 | # install script and unit file 11 | install -D -m0755 systemd/archlogo $(DESTDIR)/usr/lib/systemd/scripts/archlogo 12 | install -D -m0644 systemd/archlogo.service $(DESTDIR)/usr/lib/systemd/system/archlogo.service 13 | 14 | # install install-script and hook for plain old script based initramfs 15 | install -D -m0644 install/archlogo $(DESTDIR)/usr/lib/initcpio/install/archlogo 16 | install -D -m0755 hook/archlogo $(DESTDIR)/usr/lib/initcpio/hooks/archlogo 17 | 18 | # install config 19 | install -D -m0644 etc/archlogo.conf $(DESTDIR)/etc/archlogo.conf 20 | 21 | # install logos 22 | install -D -m0644 share/archlogo $(DESTDIR)/usr/share/archlogo/archlogo 23 | install -D -m0644 share/archlogo2 $(DESTDIR)/usr/share/archlogo/archlogo2 24 | install -D -m0644 share/archlogo3 $(DESTDIR)/usr/share/archlogo/archlogo3 25 | 26 | release: 27 | git archive --format=tar.xz --prefix=mkinitcpio-archlogo-$(VERSION)/ $(VERSION) > mkinitcpio-archlogo-$(VERSION).tar.xz 28 | gpg --armor --detach-sign --comment mkinitcpio-archlogo-$(VERSION).tar.xz mkinitcpio-archlogo-$(VERSION).tar.xz 29 | git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=mkinitcpio-archlogo-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign --comment mkinitcpio-archlogo-$(VERSION).tar | git hash-object -w --stdin) $(VERSION) 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | mkinitcpio-archlogo 2 | =================== 3 | 4 | Add colored Arch Linux ASCII art logo to early boot process 5 | -------------------------------------------------------------------------------- /etc/archlogo.conf: -------------------------------------------------------------------------------- 1 | # ASCII Arch Logo on bootup 2 | 3 | ARCHLOGO="archlogo" 4 | -------------------------------------------------------------------------------- /hook/archlogo: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | run_earlyhook() { 4 | source /etc/archlogo.conf 5 | cd /usr/share/archlogo/ 6 | cat "${ARCHLOGO}" 7 | } 8 | -------------------------------------------------------------------------------- /install/archlogo: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | build() { 4 | source /etc/archlogo.conf 5 | add_file /etc/archlogo.conf 6 | add_file "/usr/share/archlogo/${ARCHLOGO}" 7 | if command -v add_systemd_unit >/dev/null; then 8 | add_systemd_unit "archlogo.service" 9 | add_symlink "/usr/lib/systemd/system/sysinit.target.wants/archlogo.service" "../archlogo.service" 10 | else 11 | add_runscript 12 | fi 13 | } 14 | 15 | help() { 16 | echo "This hook adds an Arch Linux logo to the boot process." 17 | } 18 | -------------------------------------------------------------------------------- /share/archlogo: -------------------------------------------------------------------------------- 1 | 2 | , _ _ _ 3 | /#\ __ _ _ __ ___| |__ | (_)_ __ _ ___ __ 4 | ,###\ / _` | '__/ __| '_ \| | | '_ \| | | \ \/ / 5 | /#####\ | (_| | | | (__| | | | | | | | | |_| |> < 6 | /##;-;##\ \__,_|_| \___|_| |_|_|_|_| |_|\__,_/_/\_\TM 7 | /##( )##` 8 | /#;-- --;#\ Make it simple and lightweight. 9 | /` `\ 10 | 11 | -------------------------------------------------------------------------------- /share/archlogo2: -------------------------------------------------------------------------------- 1 | 2 |  # 3 |  ### 4 |  ##### 5 |  ###### 6 |  ; #####; 7 |  +##.##### ArchLinux 8 |  +########## Keep it Simple, Stupid. :P 9 |  #############; 10 |  ###############+ 11 |  ####### ####### 12 |  .######; ;###;`". 13 |  .#######; ;#####. 14 |  #########. .########` 15 |  ######' '###### 16 |  ;#### ####; 17 |  ##' '## 18 |  #' `# 19 | 20 | -------------------------------------------------------------------------------- /share/archlogo3: -------------------------------------------------------------------------------- 1 | 2 | : 3 | @, 4 | @@@; 5 | @@@@@, _ _ _ 6 | @@@@@@. __ _ _ __ ___| |__ | (_)_ __ _ ___ __ 7 | @@@@#@@@@. / _` | '__/ __| '_ \| | | '_ \| | | \ \/ / 8 | @@@@@@@@@@@. | (_| | | | (__| | | | | | | | | |_| |> < 9 | @@@@@@@@@@@@@, \__,_|_| \___|_| |_|_|_|_| |_|\__,_/_/\_\TM 10 | @@@@@@ +@@@@@: 11 | @@@@@@ +@@@@@; Make it simple and lightweight. 12 | @@@@@@@ @@@@#.' 13 | ,@@@@@@+, `'@@@@@@; 14 | .@@' :@@@ 15 | , ; 16 | 17 | -------------------------------------------------------------------------------- /systemd/archlogo: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | source /etc/archlogo.conf 4 | cat /usr/share/archlogo/"${ARCHLOGO}" 5 | -------------------------------------------------------------------------------- /systemd/archlogo.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Archlogo 3 | DefaultDependencies=no 4 | Before=sysinit.target systemd-ask-password-console.service 5 | 6 | [Service] 7 | Type=oneshot 8 | RemainAfterExit=yes 9 | StandardOutput=tty 10 | ExecStart=/usr/lib/systemd/scripts/archlogo 11 | --------------------------------------------------------------------------------