search for: copycmd

Displaying 9 results from an estimated 9 matches for "copycmd".

2015 Jan 21
0
[PATCH] aarch64: appliance: Use AAVMF (UEFI) if available for running the appliance.
...fail (no UEFI firmware is not an + * error). + */ +int +guestfs___get_uefi (guestfs_h *g, char **code, char **vars) +{ + if (access (AAVMF_DIR "/AAVMF_CODE.fd", R_OK) == 0 && + access (AAVMF_DIR "/AAVMF_VARS.fd", R_OK) == 0) { + CLEANUP_CMD_CLOSE struct command *copycmd = guestfs___new_command (g); + char *varst; + int r; + + /* Make a copy of AAVMF_VARS.fd. You can't just map it into the + * address space read-only as that triggers a different path + * inside UEFI. + */ + varst = safe_asprintf (g, "%s/AAVMF_VARS.fd.%d", g-&g...
2017 Sep 19
0
[PATCH 6/6] lib: Use guestfs_int_make_temp_path in a few more places.
...ggers a different * path inside UEFI. */ - varst = safe_asprintf (g, "%s/vars.fd.%d", g->tmpdir, ++g->unique); + varst = guestfs_int_make_temp_path (g, "vars", "fd"); + if (!varst) + return -1; guestfs_int_cmd_add_arg (copycmd, "cp"); guestfs_int_cmd_add_arg (copycmd, varsfile); guestfs_int_cmd_add_arg (copycmd, varst); diff --git a/lib/command.c b/lib/command.c index bc469de59..7018c3ac0 100644 --- a/lib/command.c +++ b/lib/command.c @@ -815,8 +815,9 @@ guestfs_int_cmd_pipe_run (struct command *c...
2016 Feb 04
0
[PATCH] aarch64: Use a common table of AAVMF paths.
...i = 0; guestfs_int_aavmf_firmware[i] != NULL; i += 2) { + const char *codefile = guestfs_int_aavmf_firmware[i]; + const char *varsfile = guestfs_int_aavmf_firmware[i+1]; if (access (codefile, R_OK) == 0 && access (varsfile, R_OK) == 0) { CLEANUP_CMD_CLOSE struct command *copycmd = guestfs_int_new_command (g); @@ -495,6 +478,7 @@ guestfs_int_get_uefi (guestfs_h *g, char **code, char **vars) return 0; } } +#endif /* Not found. */ *code = *vars = NULL; diff --git a/src/guestfs-internal-frontend.h b/src/guestfs-internal-frontend.h index 2fbf875..6f54a73...
2017 Sep 20
7
[PATCH v2] 0/6] Various clean ups in lib/
v1 -> v2: - Remove the unnecessary calls to guestfs_int_lazy_make_tmpdir in the final patch. Rich.
2017 Sep 19
7
[PATCH 0/6] Various clean ups in lib/
Miscellaneous small cleanups in lib/ directory. Rich.
2007 Apr 13
0
Wine release 0.9.35
...eters. cmd.exe: Make dir a* b* or dir a* b* /s mirror windows. cmd.exe: Partially fix 'dir *.' (ie files with no extension). cmd.exe: Add support for move with simple wildcards. cmd.exe: Add move support for wildcards and directories. cmd.exe: Add prompting and COPYCMD plus /Y support to move. cmd.exe: Fix regression when launching a fully qualified program. Kai Blin (1): ntdll: Don't use settimeofday() to attempt to set the timezone. Laurent Vromman (3): gdi32: Add two basic tests to check what WidenPath does. gdi32: Correction of W...
2007 Mar 30
0
Wine release 0.9.34
....exe: Only write 'bytes free' message if a file was displayed during dir. Basic implementation of xcopy. xcopy: Add support for /W (pause). xcopy: Add support for /T (no copy). xcopy: Prompt when overwriting files, add /Y and /-Y support. xcopy: Add support for COPYCMD override and fix /-y. xcopy: Add support for /N (shortname copy). xcopy: Add support for /U (target must exist). xcopy: Add support for /R (Replace read only files). xcopy: Add support for /H (Hidden/System). xcopy: Add support for /C (Continue if errors). xcopy:...
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. (http://stackoverflow.com/a/228797) These large but completely mechanical patches change the illegal identifiers to legal ones. Rich.
2007 Mar 02
0
Wine release 0.9.32
...since 0.9.31: Alessandro Pignotti (1): dplay: Directplay should initialize session Guid, with conformance tests. Alex Arazi (1): comctl32: More status bar tests. Alexander Farber (2): cmd: Fixed 3 buffer overflows when fetching environment variables. cmd: Support /-Y and COPYCMD environment variable in the "copy" builtin. Alexander Nicolaysen S?rnes (8): wordpad: Make toolbar more like native. wordpad: Don't create maximized window. wordpad: Add paste support. wordpad: Make edit menu more like native. wordpad: Add open file dial...