Browse Source

Increased default weight of El Torito boot catalog to 1 billion

release-1.5.4.branch
Thomas Schmitt 7 years ago
parent
commit
a22c16d5ef
  1. 2
      libisofs/eltorito.c

2
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);

Loading…
Cancel
Save