diff options
Diffstat (limited to 'packroot.sh')
-rwxr-xr-x | packroot.sh | 7 |
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 |