From: Otavio Salvador Date: Tue, 13 Jan 2009 18:01:10 +0000 (-0200) Subject: initramfs-module-psplash: add X-Git-Tag: Release-2010-05/1~4414 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a098e0168ff4ab7a3354a4820e53251a949208e;p=openembedded.git initramfs-module-psplash: add This is used to make the psplash usage easier for initramfs users. It has been created by O.S. Systems. --- diff --git a/packages/initrdscripts/files/00-psplash.sh b/packages/initrdscripts/files/00-psplash.sh new file mode 100644 index 0000000000..491fe13fc3 --- /dev/null +++ b/packages/initrdscripts/files/00-psplash.sh @@ -0,0 +1,4 @@ +mkdir -p /mnt/.psplash +mount tmpfs -t tmpfs /mnt/.psplash -o,size=40k + +psplash & diff --git a/packages/initrdscripts/files/99-psplash.sh b/packages/initrdscripts/files/99-psplash.sh new file mode 100644 index 0000000000..fa488cff8b --- /dev/null +++ b/packages/initrdscripts/files/99-psplash.sh @@ -0,0 +1,2 @@ +mkdir -p /mnt/mnt/.psplash +mount -n -o move /mnt/.psplash /mnt/mnt/.psplash diff --git a/packages/initrdscripts/initramfs-module-psplash_1.0.bb b/packages/initrdscripts/initramfs-module-psplash_1.0.bb new file mode 100644 index 0000000000..a765b36ad3 --- /dev/null +++ b/packages/initrdscripts/initramfs-module-psplash_1.0.bb @@ -0,0 +1,13 @@ +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/* "