Compare commits
4 Commits
master
...
mm_ea0c714
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ea0c714139 | ||
![]() |
0677fce533 | ||
![]() |
7e42fb5efd | ||
![]() |
d359d63fd6 |
@ -89,7 +89,7 @@ void wait_for_result(void)
|
||||
if (hdr.error_code != 0) {
|
||||
switch (hdr.error_code) {
|
||||
case EEXIST:
|
||||
call_error_handler("File copy: not overwriting existing file. Clean QubesIncoming dir, and retry copy%s%s", last_filename_prefix, last_filename);
|
||||
call_error_handler("A file named %s already exists in QubesIncoming dir", last_filename);
|
||||
break;
|
||||
case EINVAL:
|
||||
call_error_handler("File copy: Corrupted data from packer%s%s", last_filename_prefix, last_filename);
|
||||
@ -100,7 +100,7 @@ void wait_for_result(void)
|
||||
* desynchronized in this case */
|
||||
return;
|
||||
}
|
||||
/* fall though */
|
||||
/* fallthrough */
|
||||
default:
|
||||
call_error_handler("File copy: %s%s%s",
|
||||
strerror(hdr.error_code), last_filename_prefix, last_filename);
|
||||
|
@ -237,6 +237,8 @@ int do_unpack(void)
|
||||
cwd_fd = open(".", O_RDONLY);
|
||||
if (cwd_fd >= 0 && syncfs(cwd_fd) == 0 && close(cwd_fd) == 0)
|
||||
errno = saved_errno;
|
||||
#else
|
||||
sync();
|
||||
#endif
|
||||
|
||||
send_status_and_crc(errno, untrusted_namebuf);
|
||||
|
@ -19,6 +19,8 @@ Requires: %{name}-libs
|
||||
Requires: ImageMagick
|
||||
Requires: pycairo
|
||||
BuildRequires: qubes-libvchan-devel
|
||||
# for meminfo-writer
|
||||
BuildRequires: xen-devel
|
||||
|
||||
%description
|
||||
Common Linux files for Qubes Dom0 and VM
|
||||
|
Loading…
Reference in New Issue
Block a user