PN: splash
PV: 1.0
PR: r953
PKGV: 1.0
PKGR: r953@EXTENDPRAUTO@
LICENSE: CLOSED
DESCRIPTION: Show the Mosaik logo on the framebuffer during boot and shutdown
SUMMARY: Mosaik Splash Screen
SECTION: base
PKG:splash: splash
FILES:splash: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /usr/bin/* /usr/sbin/*             /usr/lib/*.so.*             /lib/udev /usr/lib/udev             /usr/lib/udev /usr/lib/udev             /usr/share/splash /usr/lib/splash/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers /usr/bin/show-splash.sh /usr/share/mosaik/splash.raw /usr/lib/systemd/system/splash.service /usr/lib/systemd/system/mosaik-shutdown-splash.service /usr/lib/systemd/system-preset/98-splash.preset /usr/lib/systemd/system/splash.service /usr/lib/systemd/system/mosaik-shutdown-splash.service
FILES_INFO:splash: {"/usr/bin/show-splash.sh": 54, "/usr/lib/systemd/system-preset/98-splash.preset": 60, "/usr/lib/systemd/system/mosaik-shutdown-splash.service": 287, "/usr/lib/systemd/system/splash.service": 199, "/usr/share/mosaik/splash.raw": 4096000}
pkg_postinst:splash: #!/bin/sh\nset -e\nif type systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in splash.service mosaik-shutdown-splash.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\n\t\tfor service in ; do\n\t\t\tsystemctl --global ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ] && systemctl >/dev/null 2>/dev/null; then\n\t\t# Reload only system service manager\n\t\t# --global for daemon-reload is not supported: https://github.com/systemd/systemd/issues/19284\n\t\tsystemctl daemon-reload\n\t\t[ -n "splash.service mosaik-shutdown-splash.service" ] && \\\n\t\t\tsystemctl preset splash.service mosaik-shutdown-splash.service\n\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global preset \n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\t# --global flag for restart is not supported by systemd (see above)\n\t\t\t[ -n "splash.service mosaik-shutdown-splash.service" ] && \\\n\t\t\t\tsystemctl --no-block restart splash.service mosaik-shutdown-splash.service\n\t\tfi\n\tfi\nfi\n\nif [ -n "$D" ]; then\n    $INTERCEPT_DIR/postinst_intercept delay_to_first_boot splash mlprefix=\n    exit 0\nfi\n    cmdline=/boot/cmdline.txt\n    config=/boot/config.txt\n\n    if [ -f $cmdline ]; then\n        stripped=$(sed -e 's/ console=tty1//g' -e 's/ console=tty3//g' -e 's/ disable_splash=1//g' $cmdline)\n        if [ "$stripped" != "$(cat $cmdline)" ]; then\n            printf '%s' "$stripped" > $cmdline.new && sync && mv $cmdline.new $cmdline\n        fi\n    fi\n\n    if [ -f $config ] && ! grep -q '^disable_splash=1' $config; then\n        if grep -q '^#*disable_splash=' $config; then\n            sed 's/^#*disable_splash=.*/disable_splash=1/' $config > $config.new\n        else\n            { cat $config; echo disable_splash=1; } > $config.new\n        fi\n        sync && mv $config.new $config\n    fi\n
pkg_prerm:splash: #!/bin/sh\nset -e\nif type systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ] && systemctl >/dev/null 2>/dev/null; then\n\t\tif [ -n "splash.service mosaik-shutdown-splash.service" ]; then\n\t\t\tsystemctl stop splash.service mosaik-shutdown-splash.service\n\t\t\tsystemctl disable splash.service mosaik-shutdown-splash.service\n\t\tfi\n\n\t\t# same as above, --global flag is not supported for stop so do disable only\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global disable \n\tfi\nfi\n
FILERDEPENDSFLIST:splash: /usr/bin/show-splash.sh
FILERDEPENDS:/usr/bin/show-splash.sh:splash:  /bin/sh
PKGSIZE:splash: 4096600
