diff options
author | pks <pks@pks.rocks> | 2021-08-08 15:39:55 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-08-08 15:39:55 +0200 |
commit | 519e9158e8e0860b99104868643dfd44a8fd8a4b (patch) | |
tree | d400f839c485f09e78455f57a81c08a1efa6a08a /scripts/create | |
parent | f3d725b0eddb643016a5cda9ba5eea62fed0d96f (diff) |
Diffstat (limited to 'scripts/create')
-rwxr-xr-x | scripts/create | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/create b/scripts/create new file mode 100755 index 0000000..567902a --- /dev/null +++ b/scripts/create @@ -0,0 +1,9 @@ +#!/bin/zsh -x + +cp -a /etc/suspend.conf etc/ +find . \( ! -regex '.*/\..*' \) -print0 \ + | sed "s|\./scripts||" \ + | sed "s|\./scripts/create||" \ + | sed "s|\./scripts/install||" \ + | sed "s|\./README\.md||" \ + | cpio --null -ov --format=newc | xz --check=crc32 > /tmp/initramfs.cpio.xz |