diff options
Diffstat (limited to 'auto/functions')
-rw-r--r-- | auto/functions/livebuild-hacks | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/auto/functions/livebuild-hacks b/auto/functions/livebuild-hacks index 6ba721f..ca4b587 100644 --- a/auto/functions/livebuild-hacks +++ b/auto/functions/livebuild-hacks @@ -136,3 +136,12 @@ if [ "$current_script" = "binary_grub2" ]; then } fi +if [ "$current_script" = "binary_checksums" ]; then + echo "HOOK: livebuild-hacks@binary_checksums: check for initrd.img" + if [ -s binary/live/initrd.img ];then + KINITRDSIZE=$(stat -c %s "binary/live/initrd.img") + echo "INFO: initrd size=$KINITRDSIZE" + else + echo "E: no initrd found" + fi +fi |