Preserving the weights of imported boot image files

This commit is contained in:
Thomas Schmitt 2014-10-03 17:41:59 +02:00
parent 1c2851b5ba
commit a97c66ebb8
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ static int hppa_palo_set_path(IsoImage *img, char *path, char **target,
return ISO_HPPA_PALO_NOTREG; return ISO_HPPA_PALO_NOTREG;
} }
file = (IsoFile *) node; file = (IsoFile *) node;
if (!file->explicit_weight) if (!(file->explicit_weight || file->from_old_session))
file->sort_weight = 2; file->sort_weight = 2;
return ISO_SUCCESS; return ISO_SUCCESS;
} }