Here is a somewhat updated "makeboot.sh" (from clonezilla-live-20160627-xenial-amd64) script.
Changes:
1) Fixed some text
2) Script can survive bash "nounset" option
3) Compressed the copy-pasted code that depended on whether extlinux or syslinux should be used.
4) ...this reveals a case in the original that makes no sense: a test whether a mount succeeded way after it was performed. Probably a leftover.
5) Fixed the "cat" typo I talked about earlier
6) Tested so far for EXTLINUX, the SYSLINUX path is not tested yet
Appending the new script and the human-readable diff
Last edit: David Tonhofer 2016-08-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. I revised and did some minor changes, and the new makeboot.sh is now in the git repository. It will be used in the next testing clonezilla live release.
Appreciate.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Here is a somewhat updated "makeboot.sh" (from clonezilla-live-20160627-xenial-amd64) script.
Changes:
1) Fixed some text
2) Script can survive bash "nounset" option
3) Compressed the copy-pasted code that depended on whether extlinux or syslinux should be used.
4) ...this reveals a case in the original that makes no sense: a test whether a mount succeeded way after it was performed. Probably a leftover.
5) Fixed the "cat" typo I talked about earlier
6) Tested so far for EXTLINUX, the SYSLINUX path is not tested yet
Appending the new script and the human-readable diff
Last edit: David Tonhofer 2016-08-14
Human diff, tabs expanded for legibility. Tabs are nasty.
Last edit: David Tonhofer 2016-08-14
New makeboot.sh
Thanks. I revised and did some minor changes, and the new makeboot.sh is now in the git repository. It will be used in the next testing clonezilla live release.
Appreciate.
Steven