diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/initrdscripts/files/00-psplash.sh | 4 | ||||
-rw-r--r-- | packages/initrdscripts/files/99-psplash.sh | 2 | ||||
-rw-r--r-- | packages/initrdscripts/initramfs-module-psplash_1.0.bb | 13 |
3 files changed, 19 insertions, 0 deletions
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/* " |