Skip to content

Commit

Permalink
[backend] put tar stat into preloadimage id, so that rebuilding a pre…
Browse files Browse the repository at this point in the history
…loadimage creates a new hdrid
  • Loading branch information
mlschroe committed Jun 26, 2012
1 parent 3ad55e4 commit 44ad254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_sched
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ sub update_preinstallimage {
next unless @s;
my $info = readstr("$jobdir/$img.info", 1);
next unless $info;
my $id = Digest::MD5::md5_hex($info);
my $id = Digest::MD5::md5_hex("$info/$s[9]/$s[7]/$s[1]");
# calculate bitstring
my $b = "\0" x 512;
my @hdrmd5s;
Expand Down

0 comments on commit 44ad254

Please sign in to comment.