Menu

#267 makeboot fails when dmidecode not installed

open
nobody
5
2016-11-03
2016-11-03
T-Monster
No

I'm trying to create a bootable USB stick on Arch Linux, following GNU/Linux Method B: Manual from this page: http://clonezilla.org/liveusb.php

running makeboot.sh fails with:
makeboot.sh: line 283: dev_model_shown: unbound variable

This appears to be because the script is trying to read details of the PC with dmidecode, which is not installed.

Line 275 is testing whether dmidecode exists, but then line 283 uses a variable (dev_model_shown) which is only defined if dmidecode exists.

I think that dev_model_shown should be defined next to on_this_machine at line 274

(This works for me)

My diff patch:

274a275

dev_model_shown=""

Thanks

Discussion


Log in to post a comment.

MongoDB Logo MongoDB