Automagic: Changing stacking order for linux/mac

The linux/mac stackers are more accurate (based on banners) than the
windows stacker (based on offsets).  As such in cases where both would
match, we should go for the more accurate match first (linux/mac) over
windows.  In most cases this will make no difference because of the
exclusion lists, so only one stacker will run, but in cases such as
volshell where all stackers are run, this may help with certain edge
cases.
This commit is contained in:
Mike Auty
2021-07-12 12:27:53 +01:00
parent e28910f670
commit 7f6378fd5d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ vollog = logging.getLogger(__name__)
class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface):
stack_order = 45
stack_order = 35
exclusion_list = ['mac', 'windows']
@classmethod
+1 -1
View File
@@ -15,7 +15,7 @@ vollog = logging.getLogger(__name__)
class MacIntelStacker(interfaces.automagic.StackerLayerInterface):
stack_order = 45
stack_order = 35
exclusion_list = ['windows', 'linux']
@classmethod