summaryrefslogtreecommitdiff
path: root/pcr/plymouth-legacy/plymouth.initcpio_install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-07-22 16:31:19 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-07-22 16:31:19 -0500
commit15622c361b298f14d57f8099cfa17039568158c4 (patch)
tree4d541b2e221e443ce12718b551d1d306ce813c27 /pcr/plymouth-legacy/plymouth.initcpio_install
parent13b1fbad1fdc4c5464ba71c79e3ad7843cfed9b4 (diff)
downloadabslibre-15622c361b298f14d57f8099cfa17039568158c4.tar.gz
abslibre-15622c361b298f14d57f8099cfa17039568158c4.tar.bz2
abslibre-15622c361b298f14d57f8099cfa17039568158c4.zip
Removing plymouth-legacy: Use plymouth-nosystemd instead
Diffstat (limited to 'pcr/plymouth-legacy/plymouth.initcpio_install')
-rw-r--r--pcr/plymouth-legacy/plymouth.initcpio_install60
1 files changed, 0 insertions, 60 deletions
diff --git a/pcr/plymouth-legacy/plymouth.initcpio_install b/pcr/plymouth-legacy/plymouth.initcpio_install
deleted file mode 100644
index 40838ac4f..000000000
--- a/pcr/plymouth-legacy/plymouth.initcpio_install
+++ /dev/null
@@ -1,60 +0,0 @@
-build() {
- add_dir /dev/pts
- add_dir /usr/share/plymouth/themes
- add_dir /var/run/plymouth
-
- DATADIR="/usr/share"
- PLYMOUTH_LOGO_FILE="${DATADIR}/plymouth/arch-logo.png"
- PLYMOUTH_THEME_NAME="$(/usr/bin/plymouth-set-default-theme)"
- PLYMOUTH_MODULE_NAME="$(grep "ModuleName *= *" ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}/${PLYMOUTH_THEME_NAME}.plymouth | sed 's/ModuleName *= *//')"
- PLYMOUTH_PLUGIN_PATH="$(plymouth --get-splash-plugin-path)"
-
- add_binary /usr/bin/plymouthd
- add_binary /usr/bin/plymouth
-
- add_file ${DATADIR}/plymouth/themes/text/text.plymouth
- add_binary ${PLYMOUTH_PLUGIN_PATH}/text.so
- add_file ${DATADIR}/plymouth/themes/details/details.plymouth
- add_binary ${PLYMOUTH_PLUGIN_PATH}/details.so
-
- add_file "${PLYMOUTH_LOGO_FILE}"
- add_file /etc/os-release
- add_file /etc/plymouth/plymouthd.conf
- add_file ${DATADIR}/plymouth/plymouthd.defaults
-
- if [ ! -f ${PLYMOUTH_PLUGIN_PATH}/${PLYMOUTH_MODULE_NAME}.so ]; then
- echo "The default plymouth plugin (${PLYMOUTH_MODULE_NAME}) doesn't exist" > /dev/stderr
- exit 1
- fi
-
- add_binary ${PLYMOUTH_PLUGIN_PATH}/${PLYMOUTH_MODULE_NAME}.so
-
- add_binary ${PLYMOUTH_PLUGIN_PATH}/renderers/drm.so
- add_binary ${PLYMOUTH_PLUGIN_PATH}/renderers/frame-buffer.so
-
- if [ -d ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME} ]; then
- for x in ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}/* ; do
- [ ! -f "$x" ] && break
- add_file $x
- done
- fi
-
- add_file /usr/lib/udev/rules.d/70-uaccess.rules
- add_file /usr/lib/udev/rules.d/71-seat.rules
-
- # suppress a warning in glib (which the label control uses)
- # about uid 0 by building a dummy NSS stack (LP #649917)
- add_file /etc/passwd
- add_file /etc/nsswitch.conf
- add_binary "$(readlink -e /lib/libnss_files.so.2)"
- add_file /lib/libnss_files.so.2
-
- add_runscript
-}
-
-help() {
- echo "This hook includes plymouth in the initramfs image."
-}
-
-# vim: set ft=sh:
-#EOF