summaryrefslogtreecommitdiff
path: root/packroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packroot.sh')
-rwxr-xr-xpackroot.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/packroot.sh b/packroot.sh
index b9a6572..2447128 100755
--- a/packroot.sh
+++ b/packroot.sh
@@ -1,5 +1,8 @@
#!/bin/bash
-cd root
-find . -print -depth | cpio -ov -H newc > ../initramfs.cpio.gz
+cd init
+make build copy
+cd ..
+cd root
+find . | cpio -o -H newc | gzip > ../initramfs.cpio.gz