summaryrefslogtreecommitdiff
path: root/scripts/create
blob: 567902ab2aef0389f2ff872d410e0e1636a0e0fd (plain)
1
2
3
4
5
6
7
8
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