This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:upgrade_keros3_to_4 [2019/01/25 11:55] hch [Requirements] |
wiki:upgrade_keros3_to_4 [2019/01/25 14:20] hch [Generate a custom liveburner (from a Linux machine)] |
||
---|---|---|---|
Line 67: | Line 67: | ||
Additional packages can be installed simply by adding them as arguments. | Additional packages can be installed simply by adding them as arguments. | ||
<code bash> | <code bash> | ||
- | ./update_liveburner.sh liveburner_4.0.2_klk-lpbs-signed.ipk preinst preapps my_packet.ipk | + | ./update_liveburner.sh liveburner_4.0.2_klk-lpbs-signed.ipk preinst preapps my_package.ipk |
</code> | </code> | ||
</note> | </note> | ||
Line 90: | Line 90: | ||
++++ | ++++ | ||
- | File to download - Preinst.sh | | + | File to download - preinst.sh | |
<code bash preinst.sh> | <code bash preinst.sh> | ||
#!/bin/sh | #!/bin/sh | ||
Line 155: | Line 155: | ||
++++ | ++++ | ||
- | In case of customer 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 customer part of the script like this: | + | 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: |
<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!!" | ||
Line 174: | Line 174: | ||
++++ | ++++ | ||
- | File to download - Preapps.sh | | + | File to download - preapps.sh | |
<code bash preapps.sh> | <code bash preapps.sh> | ||
#!/bin/sh | #!/bin/sh |