Lines Matching +full:rootfs +full:- +full:arm
1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
23 "/mnt/host/source/src/third_party/toolchain-utils/"
32 "git ls-remote "
34 "refs/heads/release-R*"
40 mo = re.search(r"refs/heads/release-R(\d+)-(\d+)\.B", line)
49 return "R%d-%s" % (lower[-1] + 1, lsb_version)
139 command = "ln -sf -T %s %s" % (latest_image_dir, label)
145 command = "ln -sf -T %s %s" % (vanilla_path, "vanilla")
158 usepkg_flag = "--usepkg"
160 usepkg_flag = "--nousepkg"
162 withdebug_flag = "--withdebug"
164 withdebug_flag = "--nowithdebug"
166 "%s/build_packages %s --withdev --withtest --withautotest "
167 "--skip_toolchain_update %s --board=%s "
168 "--accept_licenses=@CHROMEOS"
176 dev_args = "--noenable_rootfs_verification --disk_layout=2gb-rootfs"
177 return "%s/build_image --board=%s %s test" % (
189 options.append("--usepkg")
191 options.append("--nousepkg")
194 options.append("--force")
196 options.append("--accept-licenses=@CHROMEOS")
198 return "setup_board --board=%s %s" % (board, " ".join(options))
246 if arch == "arm":
254 string = re.sub(r"\x1b\[[0-9]*[a-zA-Z]", "", string)
259 return "var/cache/distfiles/target/chrome-src/src"
287 command = "find %s/src/build/images/%s -name chromiumos_test_image.bin" % (
310 "/var/cache/chromeos-chrome/chrome-src/src/out_%s" % board,
314 logger.GetLogger().LogCmd("rm -rf %s" % out_dir)
317 "/var/cache/chromeos-chrome/chrome-src-internal/src/out_%s" % board,
321 logger.GetLogger().LogCmd("rm -rf %s" % out_dir)
341 command = f"cd {git_dir} && git diff --quiet --cached --exit-code HEAD"
348 """Return True if git repository has un-staged changes."""
349 command = f"cd {git_dir} && git diff --quiet --exit-code HEAD"
356 """Return True if git repository has un-tracked changes."""
358 f"cd {git_dir} && test -z "
359 "$(git ls-files --exclude-standard --others)"
370 "cros/gcc.gnu.org/branches/gcc/gcc-4_8-mobile, this function returns the git
382 f"cd {git_dir} && git log -n 1"
383 f' --pretty="format:%H" {commit_symbolic_name}'
409 logger.GetLogger().LogWarning("Git tree has un-tracked changes.")
425 command = f"cd {git_dir} && git diff --name-only"
427 command += " --cached"
429 command += " -- " + path
441 os.path.join(chromeos_root, "src/third_party/chromiumos-overlay")
461 cmd0 = f"cd {chromeos_root} && cros_sdk --delete"
476 "cd $CHROMEOSDIRNAME && sudo rm -fr $CHROMEOSBASENAME"
528 # pylint: disable=input-builtin, bad-builtin
550 # pylint: disable=unused-argument
552 """Converts RGB values to xterm-256 color."""