diff options
| author | Daniel Baumann <daniel@debian.org> | 2013-01-02 11:29:26 +0100 |
|---|---|---|
| committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 13:54:14 +0200 |
| commit | d3a7964c4e601efc0fdbe700e52d317d1d77d6a0 (patch) | |
| tree | f0d0ecaabf51460f896c09fdb0bdf88aa1d2bcef | |
| parent | 732fb38022091e4cee4768dacdd8dce10980b241 (diff) | |
| download | live-boot-d3a7964c4e601efc0fdbe700e52d317d1d77d6a0.tar.gz live-boot-d3a7964c4e601efc0fdbe700e52d317d1d77d6a0.zip | |
By default including sha256sum only in progress-linux, keep md5sum legacy for debian.
| -rwxr-xr-x | backends/initramfs-tools/live.hook | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/initramfs-tools/live.hook b/backends/initramfs-tools/live.hook index c5b81b0..d66c669 100755 --- a/backends/initramfs-tools/live.hook +++ b/backends/initramfs-tools/live.hook @@ -150,8 +150,12 @@ copy_exec /bin/mount /bin/mount.util-linux [ "${QUIET}" ] || echo -n " utils" # Feature: Verify Checksums -copy_exec /usr/bin/sha256sum /bin -copy_exec /usr/bin/md5sum /bin +if [ -e /etc/progress-linux_version ] +then + copy_exec /usr/bin/sha256sum /bin +else + copy_exec /usr/bin/md5sum /bin +fi # Program: memdisk if [ -x /usr/bin/memdiskfind ] |
