1
0
mirror of https://github.com/rancher/os.git synced 2025-05-02 13:23:23 +00:00
os/scripts/hash-initrd

7 lines
124 B
Plaintext
Raw Normal View History

2016-06-01 04:11:03 +00:00
#!/bin/bash
set -e
2016-06-01 04:11:03 +00:00
cd $(dirname $0)/../build/initrd
md5sum $(find -type f | sort -u ) | md5sum - | awk '{print $1}' > .id