diff options
Diffstat (limited to 'bin/initramfs.update')
-rwxr-xr-x | bin/initramfs.update | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/initramfs.update b/bin/initramfs.update new file mode 100755 index 0000000..b194705 --- /dev/null +++ b/bin/initramfs.update @@ -0,0 +1,9 @@ +#!/bin/bash + +ROOT_DIR=$(readlink -f $(dirname $(readlink -f $0))/..) + +cd ${ROOT_DIR}/build/rootfs +find . | cpio -H newc -o > ../initramfs-default.cpio +cd .. +gzip initramfs-default.cpio +mv initramfs-default.cpio.gz initramfs-default |