summaryrefslogtreecommitdiff
path: root/mkinitcpio
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-08-10 11:19:38 +0100
committerPatrick Simianer <p@simianer.de>2014-08-10 11:19:38 +0100
commit5869505d64c04c536bdcd71a197ade918c36bf1c (patch)
tree6af5232a9f2e058f15230a370a960f89871a2b74 /mkinitcpio
init
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-xmkinitcpio7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkinitcpio b/mkinitcpio
new file mode 100755
index 0000000..946c5a6
--- /dev/null
+++ b/mkinitcpio
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+
+cd /usr/src/initramfs
+cp /etc/suspend.conf /usr/src/initramfs/etc/
+find . -print0 | cpio --null -ov --format=newc | gzip -9 > /boot/initramfs.cpio.gz
+