From a97c66ebb8844bd2ebbad943dd53848bd99c34db Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 3 Oct 2014 17:41:59 +0200 Subject: [PATCH] Preserving the weights of imported boot image files --- libisofs/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/image.c b/libisofs/image.c index 8f02bee..4eae955 100644 --- a/libisofs/image.c +++ b/libisofs/image.c @@ -995,7 +995,7 @@ static int hppa_palo_set_path(IsoImage *img, char *path, char **target, return ISO_HPPA_PALO_NOTREG; } file = (IsoFile *) node; - if (!file->explicit_weight) + if (!(file->explicit_weight || file->from_old_session)) file->sort_weight = 2; return ISO_SUCCESS; }