1
0
mirror of https://github.com/rancher/os.git synced 2025-05-01 04:44:06 +00:00
os/scripts/hash-initrd
2016-06-15 16:45:05 -07:00

7 lines
124 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)/../build/initrd
md5sum $(find -type f | sort -u ) | md5sum - | awk '{print $1}' > .id