| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/ |
| H A D | 857.patch | 21 -import os, sys, commands 22 +import os, sys 24 env = Environment(ENV = os.environ) 27 -if os.environ.has_key('CXX'): 28 +if 'CXX' in os.environ: 29 env['CXX'] = os.environ['CXX'] 31 -if os.environ.has_key('DEBUG'): 32 +if 'DEBUG' in os.environ: 33 env['DEBUG'] = os.environ['DEBUG'] 35 -if os.environ.has_key('CXXFLAGS'): [all …]
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | path.py | 11 import os.path 14 """Like os.path.join but doesn't treat absolute RHS specially""" 15 return os.path.normpath("/".join(paths)) 30 return os.path.relpath(dest, src) 34 if not os.path.islink(path): 36 link = os.readlink(path) 37 if not os.path.isabs(link): 56 os.remove(path) 57 os.symlink(base, path) 66 for walkroot, dirs, files in os.walk(basedir): [all …]
|
| H A D | copy_buildsystem.py | 22 mode = os.stat(src).st_mode 36 self.layerdirs = [os.path.abspath(pth) for pth in d.getVar('BBLAYERS').split()] 48 corebase = os.path.abspath(self.d.getVar('COREBASE')) 53 layers.append(os.path.join(corebase, 'meta-skeleton')) 71 layernames = [os.path.basename(layer) for layer in layers] 84 layerconf = os.path.join(layer, 'conf', 'layer.conf') 85 layernewname = os.path.basename(layer) 87 if os.path.exists(layerconf): 100 if corebase == os.path.dirname(layer): 101 layerdestpath += '/' + os.path.basename(corebase) [all …]
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | os_utils_install.robot | 11 Prep OS For HTX Installation 12 [Documentation] Prepare OS for HTX tool installation. 14 Boot To OS 24 OS Execute Command sudo apt-get update 28 OS Execute Command sudo apt-get -y install git 31 Prep OS For OPAL PRD Installation 32 [Documentation] Prepare OS for OPAL PRD tool installation. 34 Boot To OS 44 OS Execute Command sudo apt-get update 47 Setup HTX On OS [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | _sstatetests_noauto.py | 7 import os 20 self.builddir = os.path.join(os.environ.get('BUILDDIR')) 25 with open(os.path.join(self.builddir, 'pn-buildlist'), 'r') as pnfile: 30 os.mkdir(builddir) 32 os.mkdir(os.path.join(builddir, 'conf')) 33 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf'), os.path.join(builddir… 39 ftools.append_file(os.path.join(builddir, 'conf/selftest.inc'), config[key]) 40 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/bblayers.conf'), os.path.join(build… 42 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/auto.conf'), os.path.join(builddir,… 47 os.mkdir(dst) [all …]
|
| H A D | usergrouptests.py | 7 import os 34 repropassdir = os.path.join(metaselftestpath, "conf/include") 35 os.makedirs(repropassdir) 36 etcdir=os.path.join(os.path.join(os.path.join(get_bb_var("TMPDIR"), "work"), \ 37 …os.path.join(get_bb_var("MACHINE").replace("-","_")+"-poky-linux", "core-image-minimal/1.0/rootfs/… 38 … shutil.copy(os.path.join(etcdir, "passwd"), os.path.join(repropassdir, "reproducable-passwd")) 39 shutil.copy(os.path.join(etcdir, "group"), os.path.join(repropassdir, "reproducable-group")) 41 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf'), os.path.join(os.envir… 49 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf.orig'), os.path.join(os.…
|
| /openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
| H A D | testexport.py | 9 import os, re, glob as g, shutil as sh,sys 37 check_env = True if ("/scripts" and "/bitbake/bin") in os.getenv("PATH") else False 68 "Please install them according to your OS recommendations") # will exit here 70 os.chdir(dest_pth) 72 os.chdir("%s" % os.sep)# this is for native package 79 arch = get_dest_folder(d.getVar("TUNE_FEATURES"), os.listdir(rpm_deploy_dir)) 80 arch_rpm_dir = os.path.join(rpm_deploy_dir, arch) 81 extracted_bin_dir = os.path.join(exportpath,"binaries", arch, "extracted_binaries") 82 packaged_bin_dir = os.path.join(exportpath,"binaries", arch, "packaged_binaries") 85 if not os.path.exists(extracted_bin_dir): bb.utils.mkdirhier(extracted_bin_dir) [all …]
|
| /openbmc/openbmc/meta-arm/meta-arm-systemready/classes/ |
| H A D | arm-systemready-acs.bbclass | 32 imgfile = os.path.join(d.getVar('UNPACKDIR'), d.getVar('IMAGE_FILENAME')) 33 deployfile = os.path.join(deploydir, d.getVar('IMAGE_NAME') + suffix) 34 linkfile = os.path.join(deploydir, d.getVar('IMAGE_LINK_NAME') + suffix) 39 if os.path.lexists(linkfile): 40 os.remove(manifest_link) 41 os.symlink(os.path.basename(deployfile), linkfile) 52 report_file = os.path.join(unpackdir, "report.txt") 53 report_file_dest = os.path.join(deploydir, "report.txt") 54 if os.path.exists(report_file): 57 report_file_to_copy = os.path.join(unpackdir, "systemready-ir-template", [all …]
|
| /openbmc/bmcweb/scripts/ |
| H A D | update_schemas.py | 2 import os 14 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) 16 proxies = {"https": os.environ.get("https_proxy", None)} 27 redfish_core_path = os.path.join(SCRIPT_DIR, "..", "redfish-core") 29 cpp_path = os.path.realpath(os.path.join(redfish_core_path, "include")) 31 schema_path = os.path.join(redfish_core_path, "schema", "dmtf", "csdl") 32 json_schema_path = os.path.join( 37 schema_installed_path = os.path.join(schema_path, "..", "installed") 71 os.makedirs(schema_path) 74 os.makedirs(json_schema_path) [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/ |
| H A D | 0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch | 39 - @env CFLAGS=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all 40 - -@env CFLAGS=-O MAKE="$(MAKE)" MAKEFLAGS="k$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build o… 41 + @env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all 42 + -@env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="k$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build … 45 @env OS="${OS}" ../scripts/config-run 46 @@ -137,7 +137,7 @@ os: lmbench 47 @env OS="${OS}" BENCHMARK_HARDWARE=NO BENCHMARK_OS=YES ../scripts/results 50 - @env CFLAGS=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build in… 51 + @env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build i… 63 - @env CFLAGS="-g -O -Wall" MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../script… [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/tests/builds/ |
| H A D | buildtest.py | 10 import os 36 current_builddir = os.environ.get("BUILDDIR") 42 oe_init_build_env_path = os.path.join( 43 os.path.dirname(os.path.abspath(__file__)), 44 os.pardir, 45 os.pardir, 46 os.pardir, 47 os.pardir, 48 os.pardir, 51 if not os.path.exists(oe_init_build_env_path): [all …]
|
| /openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
| H A D | rootfs.py | 15 import os 37 if os.path.isabs(path): 44 full_path = os.path.abspath(os.path.join(rootfs_dir, path)) 45 if not full_path.startswith(os.path.realpath(rootfs_dir)): 53 if rootfs_dir and os.path.isdir(rootfs_dir): 54 return os.path.realpath(rootfs_dir) 57 if not os.path.isdir(image_rootfs_dir): 62 return os.path.realpath(image_rootfs_dir) 97 part.has_fstab = os.path.exists(os.path.join(part.rootfs_dir, "etc/fstab")) 98 pseudo_dir = os.path.join(part.rootfs_dir, "../pseudo") [all …]
|
| /openbmc/openbmc/poky/meta/classes-recipe/ |
| H A D | license_image.bbclass | 28 with open(os.path.join(license_image_dir, 'package.manifest'), "w+") as package_manifest: 42 pkg_info = os.path.join(d.getVar('PKGDATA_DIR'), 44 pkg_name = os.path.basename(os.readlink(pkg_info)) 51 rootfs_license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY'), 104 lic_file = os.path.join(d.getVar('LICENSE_DIRECTORY'), 108 if os.path.exists(lic_file): 114 if not os.path.exists(lic_file): 130 rootfs_license_manifest = os.path.join(rootfs_license_dir, 131 os.path.split(license_manifest)[1]) 132 if not os.path.exists(rootfs_license_manifest): [all …]
|
| H A D | testexport.bbclass | 91 bb.utils.mkdirhier(os.path.join(export_path, 'lib', 'oeqa')) 97 files_to_copy = [ os.path.join('meta', 'lib', 'oeqa', 'core'), 98 os.path.join('meta', 'lib', 'oeqa', 'runtime'), 99 os.path.join('meta', 'lib', 'oeqa', 'files'), 100 os.path.join('meta', 'lib', 'oeqa', 'utils'), 101 os.path.join('scripts', 'oe-test'), 102 os.path.join('scripts', 'lib', 'argparse_oe.py'), 103 os.path.join('scripts', 'lib', 'scriptutils.py'), ] 106 src = os.path.join(corebase_path, f) 107 dst = os.path.join(export_path, f.split('/', 1)[-1]) [all …]
|
| H A D | module.bbclass | 24 os.environ['STRIP'] = d.getVar('KERNEL_STRIP') 28 os.environ['CFLAGS'] = '' 29 os.environ['CPPFLAGS'] = '' 30 os.environ['CXXFLAGS'] = '' 31 os.environ['LDFLAGS'] = '' 33 os.environ['KERNEL_PATH'] = d.getVar('STAGING_KERNEL_DIR') 34 os.environ['KERNEL_SRC'] = d.getVar('STAGING_KERNEL_DIR') 35 os.environ['KERNEL_VERSION'] = d.getVar('KERNEL_VERSION') 36 os.environ['CC'] = d.getVar('KERNEL_CC') 37 os.environ['LD'] = d.getVar('KERNEL_LD') [all …]
|
| /openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/dbus/led-policy-mori/ |
| H A D | led-config.yaml | 1 - name: OS state path group 15 - name: OS state property group 33 - name: watch OS state 36 paths: OS state path group 37 properties: OS state property group 38 callback: OS state callback group 49 - name: OS BootComplete condition 52 paths: OS state path group 53 properties: OS state property group 60 - name: OS Inactive condition [all …]
|
| /openbmc/openbmc/poky/meta/recipes-devtools/cmake/cmake/ |
| H A D | cmake-setup.py | 3 import os 13 return os.path.basename(os.environ["OECORE_NATIVE_SYSROOT"]) 15 return os.path.basename(os.environ["OECORE_TARGET_SYSROOT"]) 17 return os.path.basename(os.environ["TARGET_PREFIX"].strip("-")) 19 return os.environ[name] 22 sysroot = os.environ['OECORE_NATIVE_SYSROOT'] 27 template_file = os.path.join(sysroot, 'usr/share/cmake/SDKToolchainConfig.cmake.template') 28 cross_file = os.path.join(sysroot, 'usr/share/cmake/%s-toolchain.cmake' % (os.path.basename(os.envi…
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | oe-setup-build | 10 import os 14 return os.path.abspath(os.path.join(os.path.dirname(__file__), '.oe-layers.json')) 17 return os.path.join(topdir, "build-{}".format(template)) 20 if not os.path.exists(layers_file): 26 template_dir = os.path.join(os.path.dirname(layers_file), layer, 'conf','templates') 27 if os.path.exists(template_dir): 28 for d in sorted(os.listdir(template_dir)): 29 templatepath = os.path.join(template_dir,d) 30 if not os.path.isfile(os.path.join(templatepath,'local.conf.sample')): 32 layer_base = os.path.basename(layer) [all …]
|
| /openbmc/openbmc/poky/scripts/lib/ |
| H A D | scriptpath.py | 10 import os 11 import os.path 14 basepath = os.path.abspath(os.path.dirname(__file__) + '/../..') 19 basepath = os.path.abspath(os.path.dirname(__file__) + '/../..') 21 if os.path.exists(basepath + '/bitbake/lib/bb'): 25 for pth in os.environ['PATH'].split(':'): 26 if os.path.exists(os.path.join(pth, '../lib/bb')): 27 bitbakepath = os.path.abspath(os.path.join(pth, '..'))
|
| /openbmc/openbmc/poky/meta/classes/ |
| H A D | go-vendor.bbclass | 46 linkname = os.path.join(source_dir, *['src', go_import, 'vendor']) 48 os.unlink(linkname) 66 linkname = os.path.join(source_dir, *['src', go_import, 'vendor']) 67 vendor_dir = os.path.join(source_dir, *['src', 'import', 'vendor']) 68 import_dir = os.path.join(source_dir, *['src', 'import', 'vendor.fetch']) 70 if os.path.exists(vendor_dir): 72 if not os.path.exists(linkname): 108 "repo_path": os.path.join(import_dir, p), 125 src = os.path.join(rootdir, subdir) 133 tmp = os.path.join(src, pathMajor) [all …]
|
| /openbmc/u-boot/arch/sandbox/cpu/ |
| H A D | Makefile | 3 # Copyright (c) 2011 The Chromium OS Authors. 9 extra-y := start.o os.o 12 obj-$(CONFIG_ETH_SANDBOX_RAW) += eth-raw-os.o 14 # os.c is build in the system environment, so needs standard includes 20 $(obj)/os.o: $(src)/os.c FORCE 25 # eth-raw-os.c is built in the system env, so needs standard includes 26 # CFLAGS_REMOVE_eth-raw-os.o cannot be used to drop header include path 27 quiet_cmd_cc_eth-raw-os.o = CC $(quiet_modtag) $@ 28 cmd_cc_eth-raw-os.o = $(CC) $(filter-out -nostdinc, \ 31 $(obj)/eth-raw-os.o: $(src)/eth-raw-os.c FORCE [all …]
|
| /openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/ |
| H A D | __init__.py | 15 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "lists", "partial")) 16 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "apt.conf.d")) 17 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "preferences.d")) 19 with open(os.path.join(self.apt_conf_dir, "preferences"), 22 with open(os.path.join(self.apt_conf_dir, "sources.list"), 27 with open(os.path.join(self.d.expand("${STAGING_ETCDIR_NATIVE}"), 35 self.apt_conf_dir = os.path.join(self.d.expand("${APTCONF_TARGET}"), 37 self.apt_conf_file = os.path.join(self.apt_conf_dir, "apt.conf") 40 os.environ['APT_CONFIG'] = self.apt_conf_file 54 apt_ftparchive = bb.utils.which(os.getenv('PATH'), "apt-ftparchive") [all …]
|
| /openbmc/openbmc/poky/meta/lib/bblayers/ |
| H A D | buildconf.py | 8 import os 15 sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) 31 confdir = os.path.join(os.environ["BBPATH"], "conf") 32 destdir = os.path.join(templatepath, "conf", "templates", templatename) 33 os.makedirs(destdir, exist_ok=True) 35 with open(os.path.join(confdir, "local.conf")) as src: 36 with open(os.path.join(destdir, "local.conf.sample"), 'w') as dest: 39 with open(os.path.join(confdir, "bblayers.conf")) as src: 40 with open(os.path.join(destdir, "bblayers.conf.sample"), 'w') as dest: 47 with open(os.path.join(destdir, "conf-summary.txt"), 'w') as dest: [all …]
|
| /openbmc/openbmc/poky/meta/recipes-support/boost/boost/ |
| H A D | 0001-dont-setup-compiler-flags-m32-m64.patch | 20 compile-link-flags <link>shared/<target-os>$(non-windows) : -fPIC ; 25 - compile-link-flags <target-os>aix/<address-model>32 : -maix32 ; 26 - compile-link-flags <target-os>aix/<address-model>64 : -maix64 ; 28 - compile-link-flags <target-os>hpux/<address-model>32 : -milp32 ; 29 - compile-link-flags <target-os>hpux/<address-model>64 : -mlp64 ; 31 - local generic-os = [ set.difference $(all-os) : aix hpux ] ; 32 - compile-link-flags <target-os>$(generic-os)/<architecture>s390x/<address-model>32 : -m31 ; 33 - compile-link-flags <target-os>$(generic-os)/<architecture>s390x/<address-model>64 : -m64 ; 35 - compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ; 36 - compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ;
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/ |
| H A D | case.py | 8 import os 34 cls.testinc_path = os.path.join(cls.tc.config_paths['builddir'], 36 cls.testinc_bblayers_path = os.path.join(cls.tc.config_paths['builddir'], 38 cls.machineinc_path = os.path.join(cls.tc.config_paths['builddir'], 56 not in ftools.read_file(os.path.join(cls.builddir, "conf/local.conf")): 57 …cls.logger.info("Adding: \"include selftest.inc\" in %s" % os.path.join(cls.builddir, "conf/local.… 58 ftools.append_file(os.path.join(cls.builddir, "conf/local.conf"), \ 62 not in ftools.read_file(os.path.join(cls.builddir, "conf/bblayers.conf")): 64 ftools.append_file(os.path.join(cls.builddir, "conf/bblayers.conf"), \ 70 in ftools.read_file(os.path.join(cls.builddir, "conf/local.conf")): [all …]
|