summaryrefslogtreecommitdiff
path: root/pcr/mkinitcpio-paralogo
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mkinitcpio-paralogo')
-rw-r--r--pcr/mkinitcpio-paralogo/PKGBUILD2
-rwxr-xr-xpcr/mkinitcpio-paralogo/install/paralogo13
-rw-r--r--pcr/mkinitcpio-paralogo/install/paralogo~works17
-rw-r--r--pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install11
-rwxr-xr-xpcr/mkinitcpio-paralogo/share/paralogo219
-rwxr-xr-xpcr/mkinitcpio-paralogo/share/paralogo315
6 files changed, 73 insertions, 4 deletions
diff --git a/pcr/mkinitcpio-paralogo/PKGBUILD b/pcr/mkinitcpio-paralogo/PKGBUILD
index 6a23d56cb..f10b9ed57 100644
--- a/pcr/mkinitcpio-paralogo/PKGBUILD
+++ b/pcr/mkinitcpio-paralogo/PKGBUILD
@@ -39,6 +39,8 @@ package() {
# install logos
install -D -m0644 share/paralogo ${pkgdir}/usr/share/paralogo/paralogo
install -D -m0644 share/paralogo2 ${pkgdir}/usr/share/paralogo/paralogo2
+ install -D -m0644 share/paralogo3 ${pkgdir}/usr/share/paralogo/paralogo3
+
}
sha256sums=('SKIP')
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo
index e927966aa..d1f5d2118 100755
--- a/pcr/mkinitcpio-paralogo/install/paralogo
+++ b/pcr/mkinitcpio-paralogo/install/paralogo
@@ -11,6 +11,19 @@ build() {
systemctl enable paralogo.service
fi
}
+#mkinitcpio() {
+# source /etc/mkinitcpio.conf
+# add_text /etc/mkinitcpio.conf
+# if add_text paralogo 2>/dev/null; then
+# add_text sed -e 's|^_d_hooks=.*|_d_hooks=/etc/mkinitcpio.conf:HOOK="paralogo"'
+# add_runscript
+# mkinitcpio -p linux-libre
+# else
+# add_runscript
+# mkinitcpio -p linux-libre
+# fi
+#}
+
help() {
echo "This hook adds an Parabola Linux logo to the boot process."
diff --git a/pcr/mkinitcpio-paralogo/install/paralogo~works b/pcr/mkinitcpio-paralogo/install/paralogo~works
new file mode 100644
index 000000000..e927966aa
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/install/paralogo~works
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+build() {
+ source /etc/paralogo.conf
+ add_file /etc/paralogo.conf
+ add_file "/usr/share/paralogo/${PARALOGO}"
+ if add_systemd_unit paralogo.service 2>/dev/null; then
+ add_symlink "/usr/lib/systemd/system/sysinit.target.wants/paralogo.service" "../paralogo.service"
+ else
+ add_runscript
+ systemctl enable paralogo.service
+ fi
+}
+
+help() {
+ echo "This hook adds an Parabola Linux logo to the boot process."
+}
diff --git a/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
index 608a2ad24..1c93b4b20 100644
--- a/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
+++ b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install
@@ -1,12 +1,15 @@
#!/bin/sh
post_install() {
- echo " > Now add 'paralogo' to your HOOKS array in /etc/mkinitcpio.conf"
- echo " > and rebuild initial ramdisk with # mkinitcpio -p linux-libre"
- echo " > You can put your own artwork in /usr/share/paralogo/ and select"
- echo " > a non-default one in /etc/paralogo.conf."
+ sed -e "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf
+ mkinitcpio -p linux-libre
+# echo " > Now add 'paralogo' to your HOOKS array in /etc/mkinitcpio.conf"
+# echo " > and rebuild initial ramdisk with # mkinitcpio -p linux-libre"
+# echo " > You can put your own artwork in /usr/share/paralogo/ and select"
+# echo " > a non-default one in /etc/paralogo.conf."
}
post_remove() {
sed -i "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf
+ mkinitcpio -p linux-libre
}
diff --git a/pcr/mkinitcpio-paralogo/share/paralogo2 b/pcr/mkinitcpio-paralogo/share/paralogo2
new file mode 100755
index 000000000..5ca90c20c
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/share/paralogo2
@@ -0,0 +1,19 @@
+
+ ## ###
+ ## ## #####
+ ## ## ## #######
+ # ## ## ## ########
+ ### # #########
+ ### ######### Parabola GNU / Linux-libre
+ ## ######## Make it Simple, Flexible!
+ #######
+ ######
+ ######
+ #####
+ #####
+ ####
+ ####
+ ###
+ ###
+ ##
+ #
diff --git a/pcr/mkinitcpio-paralogo/share/paralogo3 b/pcr/mkinitcpio-paralogo/share/paralogo3
new file mode 100755
index 000000000..bda356c22
--- /dev/null
+++ b/pcr/mkinitcpio-paralogo/share/paralogo3
@@ -0,0 +1,15 @@
+ 
+ ███
+ ██ ███ ██ ████
+ ██ ███ ███ ████ ███
+███ ███ ██ ███████ ███ ███ ███████ ███████ █████ ████ ███████
+ ████ ██ ███ ███ ███ ██ ████ ███ ████ ██ ████ ██ ███ ███ ███
+ █████ ████ ████ ███ ███ ████ ███ ███████ ██ ████ ███ ████
+ ████ ███ ███ ███ ███ ███ ███ ██ ███ ███ ███ ███ ███
+ ███ ███ ████ ████ ███ ████ ████ ██ ███ ███ ███ ████ ████
+ ████ ████ ████ ███ ████ ████ █████ █████ █████ ████ ████
+
+
+
+Parabola equals software freedom plus all power to the users
+  \ No newline at end of file