summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-03-06 10:14:19 +0100
committerPatrick Simianer <p@simianer.de>2016-03-06 10:14:19 +0100
commit13d38a0a0f288f17b126fbb271058eb9511c4f87 (patch)
tree36c4d93fb6891e4a0af7ac437090eb8bf8646cb2 /make
parent2fd7bbcf706134a94e9aa8f8031ce4b92a175065 (diff)
resume and xz compression
Diffstat (limited to 'make')
-rwxr-xr-xmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/make b/make
index 612b32c..f1c3dab 100755
--- a/make
+++ b/make
@@ -1,4 +1,5 @@
#!/bin/zsh -x
-find . \( ! -regex '.*/\..*' \) -print0 | sed "s|\./make||" | sed "s|\./README\.md||" | cpio --null -ov --format=newc | lzma -6 > /tmp/initramfs.cpio.lz
+cp -a /etc/suspend.conf etc/
+find . \( ! -regex '.*/\..*' \) -print0 | sed "s|\./make||" | sed "s|\./README\.md||" | cpio --null -ov --format=newc | xz --check=crc32 > /tmp/initramfs.cpio.xz