From: Tobias Ulmer Date: Wed, 26 Oct 2016 18:28:26 +0000 (+0200) Subject: sl: merging duplicates is the default now X-Git-Tag: e2factory-2.3.15rc1~46 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=713790867b4b29ab2b1ea1c59d490f555181f85e;p=e2factory.git sl: merging duplicates is the default now Signed-off-by: Tobias Ulmer --- diff --git a/local/e2tool.lua b/local/e2tool.lua index 76e65e1..290dcb2 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -553,7 +553,7 @@ function e2tool.dlist_recursive(resultv) assertIsTable(result.results[resultv]) depends = result.results[resultv]:depends_list() else - depends = sl.sl:new(true) + depends = sl.sl:new() depends:insert_table(resultv) end diff --git a/local/result.lua b/local/result.lua index eb86c04..741fc4b 100644 --- a/local/result.lua +++ b/local/result.lua @@ -204,10 +204,10 @@ function result.result_class:initialize(rawres) result.basic_result.initialize(self, rawres) - self._depends_list = sl.sl:new(true) + self._depends_list = sl.sl:new() self._buildid = false - self._sources_list = sl.sl:new(true) - self._chroot_list = sl.sl:new(true) + self._sources_list = sl.sl:new() + self._chroot_list = sl.sl:new() self._env = environment.new() self._build_mode = false self._build_settings = false diff --git a/local/source.lua b/local/source.lua index e2500fb..4a432d7 100644 --- a/local/source.lua +++ b/local/source.lua @@ -291,7 +291,7 @@ function source.generic_source_validate_licences(rawsrc, src) local rc, re, licences - licences = sl.sl:new(true) + licences = sl.sl:new() --[[if not rawsrc.licences and rawsrc.licence then e2lib.warnf("WDEPRECATED", "in source %s:", src.name) diff --git a/plugins/collect_project.lua b/plugins/collect_project.lua index a3d98aa..75837e3 100644 --- a/plugins/collect_project.lua +++ b/plugins/collect_project.lua @@ -110,10 +110,10 @@ local function _build_collect_project(self, res, return_flags) local out, rc, re, info local bc = res:build_config() local e = err.new("providing project data to this build failed") - local cp_sources = sl.sl:new(true, false) - local cp_depends = sl.sl:new(true, false) - local cp_chroot = sl.sl:new(true, false) - local cp_licences = sl.sl:new(true, false) + local cp_sources = sl.sl:new() + local cp_depends = sl.sl:new() + local cp_chroot = sl.sl:new() + local cp_licences = sl.sl:new() info = e2tool.info() diff --git a/plugins/files.lua b/plugins/files.lua index ae0d183..365762a 100644 --- a/plugins/files.lua +++ b/plugins/files.lua @@ -179,7 +179,7 @@ function files.files_source:initialize(rawsrc) end licences = self:get_licences() - llist = sl.sl:new(true) + llist = sl.sl:new() for _,licencename in ipairs(f.licences) do if not licence.licences[licencename] then