This is used to make the psplash usage easier for initramfs users. It
has been created by O.S. Systems.
--- /dev/null
+mkdir -p /mnt/.psplash
+mount tmpfs -t tmpfs /mnt/.psplash -o,size=40k
+
+psplash &
--- /dev/null
+mkdir -p /mnt/mnt/.psplash
+mount -n -o move /mnt/.psplash /mnt/mnt/.psplash
--- /dev/null
+SRC_URI = "file://00-psplash.sh file://99-psplash.sh"
+PR = "r1"
+RDEPENDS = "initramfs-uniboot psplash"
+DESCRIPTION = "An initramfs module to enable psplash."
+
+do_install() {
+ install -d ${D}/initrd.d
+ install -m 0755 ${WORKDIR}/00-psplash.sh ${D}/initrd.d/
+ install -m 0755 ${WORKDIR}/99-psplash.sh ${D}/initrd.d/
+}
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += " /initrd.d/* "