From a22c16d5ef701fcc4f4ba9a62174c34fd9bbf31b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 5 Oct 2014 13:17:53 +0200 Subject: [PATCH] Increased default weight of El Torito boot catalog to 1 billion --- libisofs/eltorito.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/eltorito.c b/libisofs/eltorito.c index 0a03de0..29e740b 100644 --- a/libisofs/eltorito.c +++ b/libisofs/eltorito.c @@ -537,7 +537,7 @@ int iso_image_set_boot_image(IsoImage *image, const char *image_path, for (i = 1; i < Libisofs_max_boot_imageS; i++) catalog->bootimages[i] = NULL; catalog->node = cat_node; - catalog->sort_weight = 1000; /* slightly high */ + catalog->sort_weight = 1000000000; /* very high */ if (!(boot_node->explicit_weight || boot_node->from_old_session)) boot_node->sort_weight = 2; iso_node_ref((IsoNode*)cat_node);