mirror of
https://github.com/ggrandou/abootimg.git
synced 2024-11-23 09:53:32 +08:00
9 lines
133 B
Plaintext
9 lines
133 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
|
||
|
initrd=${1:-initrd.img}
|
||
|
ramdisk=${2:-ramdisk}
|
||
|
|
||
|
( cd $ramdisk; find | sort | cpio --quiet -o -H newc ) | gzip > $initrd
|
||
|
|