Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7458893b8f | ||
![]() |
dd2fce0e1b | ||
![]() |
d81acf81d4 | ||
![]() |
5428ce06ee | ||
![]() |
ea0c714139 | ||
![]() |
0677fce533 | ||
![]() |
7e42fb5efd | ||
![]() |
d359d63fd6 |
@ -7,5 +7,7 @@ env:
|
|||||||
- DIST_DOM0=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
- DIST_DOM0=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
||||||
- DISTS_VM=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
- DISTS_VM=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
||||||
- DISTS_VM=fc24 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
- DISTS_VM=fc24 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
||||||
|
- DISTS_VM=fc25 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
||||||
|
- DISTS_VM=fc26 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
||||||
- DISTS_VM=jessie USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
- DISTS_VM=jessie USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
||||||
- DISTS_VM=stretch USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
- DISTS_VM=stretch USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
|
||||||
|
26
debian/changelog
vendored
26
debian/changelog
vendored
@ -1,3 +1,29 @@
|
|||||||
|
qubes-utils (3.2.5) unstable; urgency=medium
|
||||||
|
|
||||||
|
[ unman ]
|
||||||
|
* Improve error message when file exists
|
||||||
|
|
||||||
|
[ Marek Marczykowski-Górecki ]
|
||||||
|
* rpm: add missing build requires
|
||||||
|
|
||||||
|
[ Rusty Bird ]
|
||||||
|
* Fall back to sync() if syncfs() is unavailable
|
||||||
|
|
||||||
|
[ Olivier MEDOC ]
|
||||||
|
* Fix gcc Werror because of a typo in a switch/case explicit
|
||||||
|
fallthrough comment
|
||||||
|
|
||||||
|
[ Marek Marczykowski-Górecki ]
|
||||||
|
* initramfs: move qubes_cow_setup hook to pre-trigger
|
||||||
|
|
||||||
|
[ Paras Chetal ]
|
||||||
|
* Fix include header syntax
|
||||||
|
|
||||||
|
[ Marek Marczykowski-Górecki ]
|
||||||
|
* travis: add fc25 and fc26 build targets
|
||||||
|
|
||||||
|
-- Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Sun, 24 Sep 2017 21:54:29 +0200
|
||||||
|
|
||||||
qubes-utils (3.2.4) unstable; urgency=medium
|
qubes-utils (3.2.4) unstable; urgency=medium
|
||||||
|
|
||||||
[ Johanna A ]
|
[ Johanna A ]
|
||||||
|
@ -14,7 +14,7 @@ depends() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
inst_hook pre-udev 90 $moddir/qubes_cow_setup.sh
|
inst_hook pre-trigger 90 $moddir/qubes_cow_setup.sh
|
||||||
inst_multiple \
|
inst_multiple \
|
||||||
sfdisk \
|
sfdisk \
|
||||||
mkswap
|
mkswap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# This file should be placed in pre-mount directory in dracut's initramfs, or
|
# This file should be placed in pre-trigger directory in dracut's initramfs, or
|
||||||
# scripts/local-top in case of initramfs-tools
|
# scripts/local-top in case of initramfs-tools
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -83,7 +83,6 @@ if ! [ -d "$NEWROOT/lib/modules/$kver/kernel" ]; then
|
|||||||
rmdir /tmp/modules
|
rmdir /tmp/modules
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
umount /dev /sys /proc
|
umount /dev /sys /proc
|
||||||
|
|
||||||
exec switch_root $NEWROOT /sbin/init
|
exec switch_root $NEWROOT /sbin/init
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <ioall.h>
|
#include "ioall.h"
|
||||||
#include "libqubes-rpc-filecopy.h"
|
#include "libqubes-rpc-filecopy.h"
|
||||||
#include "crc32.h"
|
#include "crc32.h"
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ void wait_for_result(void)
|
|||||||
if (hdr.error_code != 0) {
|
if (hdr.error_code != 0) {
|
||||||
switch (hdr.error_code) {
|
switch (hdr.error_code) {
|
||||||
case EEXIST:
|
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;
|
break;
|
||||||
case EINVAL:
|
case EINVAL:
|
||||||
call_error_handler("File copy: Corrupted data from packer%s%s", last_filename_prefix, last_filename);
|
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 */
|
* desynchronized in this case */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* fall though */
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
call_error_handler("File copy: %s%s%s",
|
call_error_handler("File copy: %s%s%s",
|
||||||
strerror(hdr.error_code), last_filename_prefix, last_filename);
|
strerror(hdr.error_code), last_filename_prefix, last_filename);
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#define _GNU_SOURCE /* For O_NOFOLLOW. */
|
#define _GNU_SOURCE /* For O_NOFOLLOW. */
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <ioall.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
@ -10,6 +9,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "libqubes-rpc-filecopy.h"
|
#include "libqubes-rpc-filecopy.h"
|
||||||
|
#include "ioall.h"
|
||||||
#include "crc32.h"
|
#include "crc32.h"
|
||||||
|
|
||||||
char untrusted_namebuf[MAX_PATH_LENGTH];
|
char untrusted_namebuf[MAX_PATH_LENGTH];
|
||||||
@ -237,6 +237,8 @@ int do_unpack(void)
|
|||||||
cwd_fd = open(".", O_RDONLY);
|
cwd_fd = open(".", O_RDONLY);
|
||||||
if (cwd_fd >= 0 && syncfs(cwd_fd) == 0 && close(cwd_fd) == 0)
|
if (cwd_fd >= 0 && syncfs(cwd_fd) == 0 && close(cwd_fd) == 0)
|
||||||
errno = saved_errno;
|
errno = saved_errno;
|
||||||
|
#else
|
||||||
|
sync();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
send_status_and_crc(errno, untrusted_namebuf);
|
send_status_and_crc(errno, untrusted_namebuf);
|
||||||
|
@ -19,6 +19,8 @@ Requires: %{name}-libs
|
|||||||
Requires: ImageMagick
|
Requires: ImageMagick
|
||||||
Requires: pycairo
|
Requires: pycairo
|
||||||
BuildRequires: qubes-libvchan-devel
|
BuildRequires: qubes-libvchan-devel
|
||||||
|
# for meminfo-writer
|
||||||
|
BuildRequires: xen-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Common Linux files for Qubes Dom0 and VM
|
Common Linux files for Qubes Dom0 and VM
|
||||||
|
Loading…
Reference in New Issue
Block a user