diff options
| author | Daniel Baumann <daniel@debian.org> | 2013-01-02 11:29:26 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2013-01-02 11:29:35 +0100 |
| commit | 3534d749c6ff3930e41193d22d4cdb7e909fbb49 (patch) | |
| tree | 3e82fe1cb4f292126edb40477657363cba7c9ec1 | |
| parent | 24593df9ed7f02976738f9dd8e28f66b908f016c (diff) | |
| download | live-boot-3534d749c6ff3930e41193d22d4cdb7e909fbb49.tar.gz live-boot-3534d749c6ff3930e41193d22d4cdb7e909fbb49.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 ] |
