vyos-build/data/live-build-config/hooks/15-gen_initramfs.chroot
2016-02-03 03:22:23 -05:00

5 lines
130 B
Bash
Executable File

#!/bin/sh
echo I: Create initramfs if it does not exist.
update-initramfs -c -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`