projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
732fb38
)
By default including sha256sum only in progress-linux, keep md5sum legacy for debian.
author
Daniel Baumann
<daniel@debian.org>
Wed, 2 Jan 2013 10:29:26 +0000
(11:29 +0100)
committer
Daniel Baumann
<mail@daniel-baumann.ch>
Mon, 6 May 2013 11:54:14 +0000
(13:54 +0200)
backends/initramfs-tools/live.hook
patch
|
blob
|
history
diff --git
a/backends/initramfs-tools/live.hook
b/backends/initramfs-tools/live.hook
index
c5b81b0
..
d66c669
100755
(executable)
--- 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 ]