This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:upgrade_keros3_to_4 [2019/01/25 14:20] hch [Generate a custom liveburner (from a Linux machine)] |
wiki:upgrade_keros3_to_4 [2019/01/25 14:22] hch [Generate a custom liveburner (from a Linux machine)] |
||
---|---|---|---|
Line 155: | Line 155: | ||
++++ | ++++ | ||
- | In the case of custom upgrade blocking problem during the execution of this script, it is possible to interrupt the upgrade. To do so, it is possible to use the function **fatal_error** in the custom part of the script like this: | + | In the case of custom upgrade blocking problem happens during the execution of this script, it is possible to interrupt the upgrade. To do so, it is possible to use the function **fatal_error** in the custom part of the script like this: |
<code bash> | <code bash> | ||
cp ${ROOTFSRW_PATH}/etc/non_existant_file ${SAFEZONE_MOUNTPOINT}/ || fatal_error "Error detected! stop the upgrade!!" | cp ${ROOTFSRW_PATH}/etc/non_existant_file ${SAFEZONE_MOUNTPOINT}/ || fatal_error "Error detected! stop the upgrade!!" |