diff --git a/scripts/copy_output.lua b/scripts/copy_output.lua index 9f14fba5..b5c6f1b2 100755 --- a/scripts/copy_output.lua +++ b/scripts/copy_output.lua @@ -83,7 +83,7 @@ lib.exec {'cp', kernel_debug_source, kernel_debug_dest} -- Copy opkg repo -if lib.opkg and (env.GLUON_DEVICES or '') == '' then +if (env.GLUON_DEVICES or '') == '' then local package_prefix = string.format('gluon-%s-%s', lib.site_code, env.GLUON_RELEASE) local function dest_dir(prefix) return env.GLUON_PACKAGEDIR..'/'..prefix..'/'..bindir diff --git a/scripts/target_config_lib.lua b/scripts/target_config_lib.lua index 4b107e2b..c2237f72 100644 --- a/scripts/target_config_lib.lua +++ b/scripts/target_config_lib.lua @@ -151,13 +151,6 @@ lib.include(target) lib.check_devices() -if not lib.opkg then - lib.config('SIGNED_PACKAGES', false) - lib.config('CLEAN_IPKG', true) - lib.config('ALL_NONSHARED', false) - lib.packages {'-opkg'} -end - if #lib.devices > 0 then handle_target_pkgs(lib.target_packages) diff --git a/scripts/target_lib.lua b/scripts/target_lib.lua index babec324..36a6ee91 100644 --- a/scripts/target_lib.lua +++ b/scripts/target_lib.lua @@ -28,7 +28,6 @@ M.target_packages = {} M.configs = {} M.devices = {} M.images = {} -M.opkg = true local default_options = { @@ -309,10 +308,6 @@ function F.sysupgrade_image(image, name, ext, options) } end -function F.no_opkg() - M.opkg = false -end - function F.defaults(options) default_options = merge(default_options, options) end