Hello, I am using raspberrypi3 board and my requirement is boot animation using plymouth . i already have plymouth in openembeeded layer so i add the plymouth.bbappend file in my custom layer i added the .plymouth file and image under files directory
plymouth_%.bbappend FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI:append = " \ file://spinner.plymouth \ file://rasppi_fixed_converted.png \ " do_install:append() { install -d ${D}${datadir}/plymouth/themes/spinner install -m 0644 ${WORKDIR}/spinner.plymouth ${D}${datadir}/plymouth/themes/spinner/ install -m 0644 ${WORKDIR}/rasppi_fixed_converted.png ${D}${datadir}/plymouth/themes/spinner/ # Set default theme #echo "spinner" > ${D}${sysconfdir}/plymouth/plymouthd.conf install -d ${D}${sysconfdir}/plymouth echo "[Daemon]\nTheme=spinner" > ${D}${sysconfdir}/plymouth/plymouthd.conf } DEPENDS += "libpng" EXTRA_OECONF += "--enable-png" PLYMOUTH_THEMES = " spinner" # Set the default theme to "spinner" PACKAGES += "plymouth-theme-spinner" #FILES:plymouth-theme-spinner += "${datadir}/plymouth/themes/spinner/" FILES:plymouth-theme-spinner += "${datadir}/plymouth/themes/spinner/ ${sysconfdir}/plymouth/plymouthd.conf" PACKAGES += "plymouth-utils" FILES:${PN}-utils = "${bindir}/plymouth-set-default-theme ${bindir}/plymouth" spinner.plymouth [Plymouth Theme] Name=Spinner Description=Adoption of official Spinner Theme for TorizonCore. ModuleName=two-step [two-step] Font=Cantarell 12 TitleFont=Cantarell Light 30 ImageDir=/usr/share/plymouth/themes/spinner #ImageDir=${datadir}/plymouth/themes/spinner DialogHorizontalAlignment=.5 DialogVerticalAlignment=.382 TitleHorizontalAlignment=.5 TitleVerticalAlignment=.382 HorizontalAlignment=.5 VerticalAlignment=.7 WatermarkHorizontalAlignment=.5 WatermarkVerticalAlignment=.45 Transition=none TransitionDuration=0.0 BackgroundStartColor=0x000000 BackgroundEndColor=0x000000 ProgressBarBackgroundColor=0x606060 ProgressBarForegroundColor=0xffffff MessageBelowAnimation=true [updates] SuppressMessages=true ProgressBarShowPercentComplete=true UseProgressBar=true _Title=Installing Updates... _SubTitle=Do not turn off your computer [system-upgrade] SuppressMessages=true ProgressBarShowPercentComplete=true UseProgressBar=true _Title=Upgrading System... _SubTitle=Do not turn off your computer [firmware-upgrade] SuppressMessages=true ProgressBarShowPercentComplete=true UseProgressBar=true UseFirmwareBackground=true _Title=Upgrading Firmware... _SubTitle=Do not turn off your computer ~ and in local.conf LICENSE_FLAGS_ACCEPTED:append = " commercial" IMAGE_INSTALL:append = " ffmpeg" IMAGE_FEATURES += " splash" PACKAGECONFIG:append:pn-plymouth = " drm gtk initrd pango png" IMAGE_INSTALL:append = " plymouth plymouth-set-default-theme plymouth-theme-spinner dracut libpng" #APPEND += " quiet splash vt.global_cursor_default=0 plymouth.ignore-serial-consoles" PREFERRED_PROVIDER_virtual/boot-splash = "plymouth" APPEND += " quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=0 console=tty1" #APPEND += " quiet splash vt.global_cursor_default=0" DISTRO_FEATURES:append = " framebuffer" IMAGE_INSTALL:append = " weston weston-init" LICENSE_FLAGS_ACCEPTED:append = " synaptics-killswitch" DISTRO_FEATURES:append = " systemd usrmerge pam plymouth" VIRTUAL-RUNTIME_init_manager = "systemd" after the flash i run the command plymouthd&&plymouth --show-splash it is showing the loading symbol and when i run the plymouth --quit it is comming out from the splash screen
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64883): https://lists.yoctoproject.org/g/yocto/message/64883 Mute This Topic: https://lists.yoctoproject.org/mt/111411797/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-