Hi Pratyush
On 07/20/16 at 09:20am, Pratyush Anand wrote:
Fedora dracut-044-75 release has all the component needed to support
initrd
rebuild in case of watchdog state change. Therefore sending these patches
for inclusion in kexec-tools.
Please note that these patches should only be added in those fedora
versions which has dracut version dracut-044-75 or latter. Anyway, we
already have dependency specified in spec file as well.
Testing:
Most of the rebuild test cases have been mentioned in the commit log of
2/5.
Other than that, I have also tested effect of adding either "-o watchdog"
or "-a watchdog" or none of them. They have been found to behave as
expected. So, when we pass -o watchdog in dracut_args, it does not include
kernel watchdog module whether state is active or inactive. In all other
cases, it adds kernel module only when state is active. I have also
verified that dracut watchdog module is not added when we do not have at
least one active watchdog device.
Changes since V4:
- When a watchdog was active previously but now watchdog kernel module
does not exists then rebuild initrd
- When there is not any active watchdog device then do not add "-a
watchdog".
- Updated howto file accordingly.
Perfect to me, thanks for the update.
Acked-by: Dave Young <dyoung(a)redhat.com>
--
Thanks
Dave