Skip to content

Commit 64a4d70

Browse files
committed
ovmerge: Improve fragment order checking
Strengthen the fragment order checking by assuming that all dormant fragments may be merged if the right parameter is used. Signed-off-by: Phil Elwell <[email protected]>
1 parent 10f4f08 commit 64a4d70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ovmerge/ovmerge

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,8 @@ sub ordercheck
988988
# Try to apply fragments that target other fragments within the overlay
989989
foreach my $fragment (get_fragments($ov))
990990
{
991-
my $overlay = get_child($fragment, '__overlay__');
991+
my $overlay = get_child($fragment, '__overlay__') ||
992+
get_child($fragment, '__dormant__');
992993
next if (!$overlay);
993994
my $target_node;
994995
my $target = get_prop($fragment, 'target');

0 commit comments

Comments
 (0)