wilas / vbkick

Tool for building and maintaining VirtualBox VMs described as a code in a single definition file.
Other
8 stars 5 forks source link

Switch to cross-platform shasum binary #8

Closed alanpearce closed 10 years ago

alanpearce commented 10 years ago

sha256sum is not available on FreeBSD or Mac OSX. shasum appears available on FreeBSD, Arch Linux and OSX and they all accept -a 256.

wilas commented 10 years ago

shasum is not available by default on RedHat6/Centos6/SL6 but anyway I have on my todo list change boot_file_src_sha256 option to boot_file_checksum_cmd + boot_file_src_checksum. It should allow use md5 as well. I will take care about this.

alanpearce commented 10 years ago

Okay, that makes sense.

wilas commented 10 years ago

Close, as #10 will be implemented.

wilas commented 10 years ago

@alanpearce what with openssl md5 or openssl sha256 on mac OSX and FreeBSD. It may be the simplest solution to make checksum portable.

wilas commented 10 years ago

19 was implemented