armbian-build/packages/plymouth-theme-armbian/debian/prerm
hzyitc 11d2ef63c3
Support Plymouth (#4133)
* Add plymouth-theme-armbian package

* Adjust all bootscripts to adapt plymouth

* Auto show logo accroding to BOOT_LOGO

* Enable plymouth detail mode when bootlogo=false

* Add a new board config var - HAS_VIDEO_OUTPUT

This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP

* Rename package to be aligned with others

* Disable kernel bootloader, but keep the code for it

* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-09-13 15:16:30 +02:00

14 lines
287 B
Bash

#!/bin/sh -e
if [ "x$1" = xremove ]; then
if which plymouth-set-default-theme >/dev/null 2>&1; then
# For Debian
plymouth-set-default-theme -r
else
# For Ubuntu
update-alternatives \
--remove default.plymouth \
/usr/share/plymouth/themes/armbian/armbian.plymouth
fi
fi