Hi Pratyush,
On 5 Apr 2017 20:30, "Pratyush Anand" <panand(a)redhat.com> wrote:
Hi Bhupesh,
On Wednesday 05 April 2017 06:49 PM, Bhupesh Sharma wrote:
Hmm. This leaves us with one corner case where:
force_rebuild = 0 && force_no_rebuild ==0 && /boot is RO
In this case what should be the preferred approach?
Any pointers?
This is already being handled.
Yes. Sorry I was not clear before. I
mean should we prompt the user that
he must set
or force_rebuild to 1 in addition to
printing the error message for /boot
being RO only and that we are not
going to load the kdump kernel, to
arrive at a clearer position.
Regards,
Bhupesh
if [[ ! -w "$KDUMP_BOOTDIR" ]];then
echo "$KDUMP_BOOTDIR does not have write permission. Can
not rebuild $TARGET_INITRD"
return 1
fi
~Pratyush