2010-04-05 20:58:57 +02:00
|
|
|
#
|
|
|
|
# This is the SPEC file for creating binary RPMs for the Dom0.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# The Qubes OS Project, http://www.qubes-os.org
|
|
|
|
#
|
|
|
|
# Copyright (C) 2010 Joanna Rutkowska <joanna@invisiblethingslab.com>
|
|
|
|
# Copyright (C) 2010 Rafal Wojtczuk <rafal@invisiblethingslab.com>
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
2013-03-12 16:50:14 +01:00
|
|
|
%{!?version: %define version %(cat version)}
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2013-01-25 03:09:18 +01:00
|
|
|
%define _dracutmoddir /usr/lib/dracut/modules.d
|
|
|
|
%if %{fedora} < 17
|
|
|
|
%define _dracutmoddir /usr/share/dracut/modules.d
|
|
|
|
%endif
|
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
Name: qubes-core-dom0
|
|
|
|
Version: %{version}
|
2011-09-09 14:49:53 +02:00
|
|
|
Release: 1%{dist}
|
2010-04-05 20:58:57 +02:00
|
|
|
Summary: The Qubes core files (Dom0-side)
|
|
|
|
|
|
|
|
Group: Qubes
|
|
|
|
Vendor: Invisible Things Lab
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.qubes-os.org
|
2011-02-09 22:15:00 +01:00
|
|
|
BuildRequires: xen-devel
|
2013-02-19 01:05:22 +01:00
|
|
|
BuildRequires: ImageMagick
|
2013-01-27 00:04:40 +01:00
|
|
|
BuildRequires: systemd-units
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
2010-04-05 20:58:57 +02:00
|
|
|
Requires: python, xen-runtime, pciutils, python-inotify, python-daemon, kernel-qubes-dom0
|
2013-03-25 02:48:50 +01:00
|
|
|
Requires: qubes-core-dom0-linux
|
2012-10-19 02:14:37 +02:00
|
|
|
Requires: python-lxml
|
2013-03-16 02:39:30 +01:00
|
|
|
# TODO: R: qubes-gui-dom0 >= 2.1.11
|
2011-02-09 22:15:00 +01:00
|
|
|
Conflicts: qubes-gui-dom0 < 1.1.13
|
2011-06-01 23:44:06 +02:00
|
|
|
Requires: xen >= 4.1.0-2
|
2012-03-01 10:57:34 +01:00
|
|
|
Requires: xen-hvm
|
2011-07-16 02:04:56 +02:00
|
|
|
Requires: createrepo
|
2011-08-02 13:04:09 +02:00
|
|
|
Requires: gnome-packagekit
|
2012-01-30 16:27:12 +01:00
|
|
|
Requires: cronie
|
2013-03-09 22:20:47 +01:00
|
|
|
# for qubes-hcl-report
|
|
|
|
Requires: dmidecode
|
2013-03-01 01:36:05 +01:00
|
|
|
|
|
|
|
# Prevent preupgrade from installation (it pretend to provide distribution upgrade)
|
|
|
|
Obsoletes: preupgrade < 2.0
|
|
|
|
Provides: preupgrade = 2.0
|
2012-12-12 04:12:59 +01:00
|
|
|
%define _builddir %(pwd)
|
2010-04-05 20:58:57 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Qubes core files for installation on Dom0.
|
|
|
|
|
2012-12-12 04:12:59 +01:00
|
|
|
%prep
|
|
|
|
# we operate on the current directory, so no need to unpack anything
|
|
|
|
# symlink is to generate useful debuginfo packages
|
|
|
|
rm -f %{name}-%{version}
|
|
|
|
ln -sf . %{name}-%{version}
|
|
|
|
%setup -T -D
|
|
|
|
|
2010-04-10 13:52:19 +02:00
|
|
|
%build
|
2013-03-16 19:56:51 +01:00
|
|
|
python -m compileall core core-modules qmemman
|
|
|
|
python -O -m compileall core dom/core-modules qmemman
|
|
|
|
for dir in dispvm qmemman; do
|
2012-12-12 04:12:59 +01:00
|
|
|
(cd $dir; make)
|
|
|
|
done
|
2010-04-10 13:52:19 +02:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
%install
|
|
|
|
|
2013-01-27 00:04:40 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system
|
2013-03-16 19:54:22 +01:00
|
|
|
cp linux/systemd/qubes-block-cleaner.service $RPM_BUILD_ROOT%{_unitdir}
|
|
|
|
cp linux/systemd/qubes-core.service $RPM_BUILD_ROOT%{_unitdir}
|
|
|
|
cp linux/systemd/qubes-setupdvm.service $RPM_BUILD_ROOT%{_unitdir}
|
|
|
|
cp linux/systemd/qubes-meminfo-writer.service $RPM_BUILD_ROOT%{_unitdir}
|
|
|
|
cp linux/systemd/qubes-netvm.service $RPM_BUILD_ROOT%{_unitdir}
|
|
|
|
cp linux/systemd/qubes-qmemman.service $RPM_BUILD_ROOT%{_unitdir}
|
2013-11-20 02:57:17 +01:00
|
|
|
cp linux/systemd/qubes-vm@.service $RPM_BUILD_ROOT%{_unitdir}
|
2010-04-05 20:58:57 +02:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
|
|
|
cp qvm-tools/qvm-* $RPM_BUILD_ROOT/usr/bin
|
2012-02-07 03:24:52 +01:00
|
|
|
cp qvm-tools/qubes-* $RPM_BUILD_ROOT/usr/bin
|
2010-06-02 15:50:22 +02:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/xen/scripts
|
2013-03-08 17:26:55 +01:00
|
|
|
cp dispvm/block.qubes $RPM_BUILD_ROOT/etc/xen/scripts
|
2013-03-16 19:54:22 +01:00
|
|
|
cp linux/system-config/vif-route-qubes $RPM_BUILD_ROOT/etc/xen/scripts
|
|
|
|
cp linux/system-config/block-snapshot $RPM_BUILD_ROOT/etc/xen/scripts
|
2011-02-26 03:42:55 +01:00
|
|
|
ln -s block-snapshot $RPM_BUILD_ROOT/etc/xen/scripts/block-origin
|
2010-04-05 20:58:57 +02:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
2013-03-14 04:44:08 +01:00
|
|
|
cp core/qubes.py $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp core/qubes.py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp core/qubesutils.py $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp core/qubesutils.py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp core/guihelpers.py $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp core/guihelpers.py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
2013-11-25 05:41:13 +01:00
|
|
|
cp core/backup.py $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp core/backup.py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
2013-03-14 04:44:08 +01:00
|
|
|
cp core/__init__.py $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp core/__init__.py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
2010-08-30 11:40:19 +02:00
|
|
|
cp qmemman/qmemman*py $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
|
|
|
cp qmemman/qmemman*py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes
|
2013-03-16 02:39:30 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/qubes/modules
|
|
|
|
cp core-modules/0*.py $RPM_BUILD_ROOT%{python_sitearch}/qubes/modules
|
|
|
|
cp core-modules/0*.py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes/modules
|
|
|
|
cp core-modules/__init__.py $RPM_BUILD_ROOT%{python_sitearch}/qubes/modules
|
|
|
|
cp core-modules/__init__.py[co] $RPM_BUILD_ROOT%{python_sitearch}/qubes/modules
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2012-03-29 16:17:10 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/qubes
|
2013-03-14 01:18:27 +01:00
|
|
|
cp qmemman/qmemman.conf $RPM_BUILD_ROOT%{_sysconfdir}/qubes/
|
2012-03-28 00:21:01 +02:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes
|
2013-03-16 19:54:22 +01:00
|
|
|
cp linux/aux-tools/unbind-pci-device.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
|
|
|
cp linux/aux-tools/cleanup-dispvms $RPM_BUILD_ROOT/usr/lib/qubes
|
|
|
|
cp linux/aux-tools/startup-dvm.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
|
|
|
cp linux/aux-tools/startup-misc.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
|
|
|
cp linux/aux-tools/prepare-volatile-img.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
2010-08-30 11:40:19 +02:00
|
|
|
cp qmemman/server.py $RPM_BUILD_ROOT/usr/lib/qubes/qmemman_daemon.py
|
2013-03-06 18:30:40 +01:00
|
|
|
cp qmemman/meminfo-writer $RPM_BUILD_ROOT/usr/lib/qubes/
|
2013-10-28 05:09:54 +01:00
|
|
|
cp qubes-rpc/qubes-notify-tools $RPM_BUILD_ROOT/usr/lib/qubes/
|
2013-03-14 01:22:43 +01:00
|
|
|
cp qubes-rpc/qubes-notify-updates $RPM_BUILD_ROOT/usr/lib/qubes/
|
2013-03-16 19:54:22 +01:00
|
|
|
cp linux/aux-tools/vusb-ctl.py $RPM_BUILD_ROOT/usr/lib/qubes/
|
|
|
|
cp linux/aux-tools/xl-qvm-usb-attach.py $RPM_BUILD_ROOT/usr/lib/qubes/
|
|
|
|
cp linux/aux-tools/xl-qvm-usb-detach.py $RPM_BUILD_ROOT/usr/lib/qubes/
|
|
|
|
cp linux/aux-tools/block-cleaner-daemon.py $RPM_BUILD_ROOT/usr/lib/qubes/
|
|
|
|
cp linux/aux-tools/fix-dir-perms.sh $RPM_BUILD_ROOT/usr/lib/qubes/
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2013-03-14 01:22:43 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/qubes-rpc/policy
|
|
|
|
cp qubes-rpc-policy/qubes.Filecopy.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.Filecopy
|
|
|
|
cp qubes-rpc-policy/qubes.OpenInVM.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.OpenInVM
|
|
|
|
cp qubes-rpc-policy/qubes.VMShell.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.VMShell
|
2013-10-28 05:09:54 +01:00
|
|
|
cp qubes-rpc-policy/qubes.NotifyTools.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.NotifyTools
|
|
|
|
cp qubes-rpc/qubes.NotifyTools $RPM_BUILD_ROOT/etc/qubes-rpc/
|
2013-03-14 01:22:43 +01:00
|
|
|
cp qubes-rpc-policy/qubes.NotifyUpdates.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.NotifyUpdates
|
|
|
|
cp qubes-rpc/qubes.NotifyUpdates $RPM_BUILD_ROOT/etc/qubes-rpc/
|
2011-07-05 18:35:03 +02:00
|
|
|
|
2013-03-08 17:26:55 +01:00
|
|
|
cp dispvm/xenstore-watch $RPM_BUILD_ROOT/usr/bin/xenstore-watch-qubes
|
2013-03-14 15:06:19 +01:00
|
|
|
cp dispvm/qubes-restore $RPM_BUILD_ROOT/usr/lib/qubes
|
|
|
|
cp dispvm/qubes-prepare-saved-domain.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
|
|
|
cp dispvm/qubes-update-dispvm-savefile-with-progress.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
2013-03-08 17:26:55 +01:00
|
|
|
cp dispvm/qfile-daemon-dvm $RPM_BUILD_ROOT/usr/lib/qubes
|
2010-07-16 10:26:55 +02:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/vm-templates
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/appvms
|
2011-03-11 01:38:04 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/servicevms
|
2011-06-30 01:07:47 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/vm-kernels
|
2010-04-05 20:58:57 +02:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/backup
|
2010-07-13 04:32:42 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/dvmdata
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2013-03-16 18:03:10 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/qubes
|
2013-03-16 19:54:22 +01:00
|
|
|
cp xen-vm-config/vm-template.conf $RPM_BUILD_ROOT/usr/share/qubes/
|
|
|
|
cp xen-vm-config/vm-template-hvm.conf $RPM_BUILD_ROOT/usr/share/qubes/
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2010-05-31 15:23:51 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
2010-07-06 16:22:34 +02:00
|
|
|
|
2010-10-06 11:00:52 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/log/qubes
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/run/qubes
|
|
|
|
|
2011-04-07 19:23:23 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/etc/xdg/autostart
|
2013-03-16 19:54:22 +01:00
|
|
|
install -m 0644 linux/system-config/qubes-guid.desktop $RPM_BUILD_ROOT/etc/xdg/autostart/
|
2011-09-02 16:55:39 +02:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
%post
|
2010-05-31 15:23:51 +02:00
|
|
|
|
2011-02-09 22:15:00 +01:00
|
|
|
# Create NetworkManager configuration if we do not have it
|
|
|
|
if ! [ -e /etc/NetworkManager/NetworkManager.conf ]; then
|
|
|
|
echo '[main]' > /etc/NetworkManager/NetworkManager.conf
|
|
|
|
echo 'plugins = keyfile' >> /etc/NetworkManager/NetworkManager.conf
|
|
|
|
echo '[keyfile]' >> /etc/NetworkManager/NetworkManager.conf
|
|
|
|
fi
|
2010-06-14 23:52:21 +02:00
|
|
|
|
2011-06-23 14:39:17 +02:00
|
|
|
sed '/^autoballoon=/d;/^lockfile=/d' -i /etc/xen/xl.conf
|
|
|
|
echo 'autoballoon=0' >> /etc/xen/xl.conf
|
|
|
|
echo 'lockfile="/var/run/qubes/xl-lock"' >> /etc/xen/xl.conf
|
|
|
|
|
2011-10-07 21:28:26 +02:00
|
|
|
sed 's/^PRELINKING\s*=.*/PRELINKING=no/' -i /etc/sysconfig/prelink
|
|
|
|
|
2012-03-11 21:12:49 +01:00
|
|
|
sed '/^\s*XENCONSOLED_LOG_\(HYPERVISOR\|GUESTS\)\s*=.*/d' -i /etc/sysconfig/xenconsoled
|
|
|
|
echo XENCONSOLED_LOG_HYPERVISOR=yes >> /etc/sysconfig/xenconsoled
|
|
|
|
echo XENCONSOLED_LOG_GUESTS=yes >> /etc/sysconfig/xenconsoled
|
2012-03-05 12:30:59 +01:00
|
|
|
|
2013-01-27 00:04:40 +01:00
|
|
|
|
|
|
|
systemctl --no-reload enable qubes-core.service >/dev/null 2>&1
|
|
|
|
systemctl --no-reload enable qubes-netvm.service >/dev/null 2>&1
|
|
|
|
systemctl --no-reload enable qubes-setupdvm.service >/dev/null 2>&1
|
|
|
|
|
|
|
|
# Conflicts with libxl stack, so disable it
|
|
|
|
systemctl --no-reload disable xend.service >/dev/null 2>&1
|
2013-02-13 16:54:29 +01:00
|
|
|
systemctl --no-reload disable xendomains.service >/dev/null 2>&1
|
2013-01-27 00:04:40 +01:00
|
|
|
systemctl demon-reload >/dev/null 2>&1 || :
|
|
|
|
|
2011-02-09 22:15:00 +01:00
|
|
|
HAD_SYSCONFIG_NETWORK=yes
|
|
|
|
if ! [ -e /etc/sysconfig/network ]; then
|
|
|
|
HAD_SYSCONFIG_NETWORK=no
|
|
|
|
# supplant empty one so NetworkManager init script does not complain
|
|
|
|
touch /etc/sysconfig/network
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Load evtchn module - xenstored needs it
|
2012-02-25 13:54:39 +01:00
|
|
|
modprobe evtchn 2> /dev/null || modprobe xen-evtchn
|
2011-06-23 20:04:27 +02:00
|
|
|
service xenstored start
|
2011-02-09 22:15:00 +01:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
if ! [ -e /var/lib/qubes/qubes.xml ]; then
|
|
|
|
# echo "Initializing Qubes DB..."
|
|
|
|
umask 007; sg qubes -c qvm-init-storage
|
|
|
|
fi
|
|
|
|
|
2011-04-06 13:27:01 +02:00
|
|
|
# Because we now have an installer
|
|
|
|
# this script is always executed during upgrade
|
|
|
|
# and we decided not to restart core during upgrade
|
|
|
|
#service qubes_core start
|
|
|
|
|
2011-02-09 22:15:00 +01:00
|
|
|
if [ "x"$HAD_SYSCONFIG_NETWORK = "xno" ]; then
|
|
|
|
rm -f /etc/sysconfig/network
|
|
|
|
fi
|
2010-10-04 14:21:14 +02:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2012-12-12 04:12:59 +01:00
|
|
|
rm -f %{name}-%{version}
|
2010-04-05 20:58:57 +02:00
|
|
|
|
|
|
|
%pre
|
|
|
|
if ! grep -q ^qubes: /etc/group ; then
|
|
|
|
groupadd qubes
|
|
|
|
fi
|
|
|
|
|
2010-10-04 15:25:58 +02:00
|
|
|
%triggerin -- xen-runtime
|
2010-10-06 13:08:17 +02:00
|
|
|
sed -i 's/\/block /\/block.qubes /' /etc/udev/rules.d/xen-backend.rules
|
2013-03-14 15:06:19 +01:00
|
|
|
/usr/lib/qubes/fix-dir-perms.sh
|
2010-10-04 15:25:58 +02:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
%preun
|
|
|
|
if [ "$1" = 0 ] ; then
|
2010-10-04 14:21:14 +02:00
|
|
|
# no more packages left
|
2013-01-27 00:04:40 +01:00
|
|
|
service qubes_netvm stop
|
|
|
|
service qubes_core stop
|
2010-04-05 20:58:57 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ "$1" = 0 ] ; then
|
|
|
|
# no more packages left
|
|
|
|
chgrp root /etc/xen
|
|
|
|
chmod 700 /etc/xen
|
|
|
|
groupdel qubes
|
2010-06-02 15:50:22 +02:00
|
|
|
sed -i 's/\/block.qubes /\/block /' /etc/udev/rules.d/xen-backend.rules
|
2010-04-05 20:58:57 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2012-03-29 16:17:10 +02:00
|
|
|
%config(noreplace) %attr(0664,root,qubes) %{_sysconfdir}/qubes/qmemman.conf
|
2010-04-05 20:58:57 +02:00
|
|
|
/usr/bin/qvm-*
|
2012-02-07 03:24:52 +01:00
|
|
|
/usr/bin/qubes-*
|
2013-02-21 04:32:55 +01:00
|
|
|
%dir %{python_sitearch}/qubes
|
2010-04-05 20:58:57 +02:00
|
|
|
%{python_sitearch}/qubes/qubes.py
|
|
|
|
%{python_sitearch}/qubes/qubes.pyc
|
|
|
|
%{python_sitearch}/qubes/qubes.pyo
|
2011-09-29 14:11:43 +02:00
|
|
|
%{python_sitearch}/qubes/qubesutils.py
|
|
|
|
%{python_sitearch}/qubes/qubesutils.pyc
|
|
|
|
%{python_sitearch}/qubes/qubesutils.pyo
|
2011-10-12 00:08:28 +02:00
|
|
|
%{python_sitearch}/qubes/guihelpers.py
|
|
|
|
%{python_sitearch}/qubes/guihelpers.pyc
|
|
|
|
%{python_sitearch}/qubes/guihelpers.pyo
|
2013-11-25 05:41:13 +01:00
|
|
|
%{python_sitearch}/qubes/backup.py
|
|
|
|
%{python_sitearch}/qubes/backup.pyc
|
|
|
|
%{python_sitearch}/qubes/backup.pyo
|
2010-04-05 20:58:57 +02:00
|
|
|
%{python_sitearch}/qubes/__init__.py
|
|
|
|
%{python_sitearch}/qubes/__init__.pyc
|
|
|
|
%{python_sitearch}/qubes/__init__.pyo
|
2010-08-30 11:40:19 +02:00
|
|
|
%{python_sitearch}/qubes/qmemman*.py*
|
2013-03-16 02:39:30 +01:00
|
|
|
%{python_sitearch}/qubes/modules/0*.py*
|
|
|
|
%{python_sitearch}/qubes/modules/__init__.py*
|
2013-03-14 15:06:19 +01:00
|
|
|
/usr/lib/qubes/unbind-pci-device.sh
|
|
|
|
/usr/lib/qubes/cleanup-dispvms
|
2010-08-30 11:40:19 +02:00
|
|
|
/usr/lib/qubes/qmemman_daemon.py*
|
|
|
|
/usr/lib/qubes/meminfo-writer
|
2011-03-14 10:43:09 +01:00
|
|
|
/usr/lib/qubes/qfile-daemon-dvm*
|
2013-10-28 05:09:54 +01:00
|
|
|
/usr/lib/qubes/qubes-notify-tools
|
2012-05-01 01:12:19 +02:00
|
|
|
/usr/lib/qubes/qubes-notify-updates
|
2013-03-14 15:06:19 +01:00
|
|
|
/usr/lib/qubes/block-cleaner-daemon.py*
|
2012-10-21 20:59:17 +02:00
|
|
|
/usr/lib/qubes/vusb-ctl.py*
|
|
|
|
/usr/lib/qubes/xl-qvm-usb-attach.py*
|
|
|
|
/usr/lib/qubes/xl-qvm-usb-detach.py*
|
2013-03-14 15:06:19 +01:00
|
|
|
/usr/lib/qubes/fix-dir-perms.sh
|
2013-01-27 00:04:40 +01:00
|
|
|
/usr/lib/qubes/startup-dvm.sh
|
|
|
|
/usr/lib/qubes/startup-misc.sh
|
2013-03-14 15:06:19 +01:00
|
|
|
/usr/lib/qubes/prepare-volatile-img.sh
|
2013-01-27 00:04:40 +01:00
|
|
|
%{_unitdir}/qubes-block-cleaner.service
|
|
|
|
%{_unitdir}/qubes-core.service
|
2013-02-13 16:52:38 +01:00
|
|
|
%{_unitdir}/qubes-setupdvm.service
|
2013-01-27 00:04:40 +01:00
|
|
|
%{_unitdir}/qubes-meminfo-writer.service
|
|
|
|
%{_unitdir}/qubes-netvm.service
|
|
|
|
%{_unitdir}/qubes-qmemman.service
|
2013-11-20 02:57:17 +01:00
|
|
|
%{_unitdir}/qubes-vm@.service
|
2012-10-23 05:46:25 +02:00
|
|
|
%attr(0770,root,qubes) %dir /var/lib/qubes
|
|
|
|
%attr(0770,root,qubes) %dir /var/lib/qubes/vm-templates
|
|
|
|
%attr(0770,root,qubes) %dir /var/lib/qubes/appvms
|
|
|
|
%attr(0770,root,qubes) %dir /var/lib/qubes/servicevms
|
|
|
|
%attr(0770,root,qubes) %dir /var/lib/qubes/backup
|
|
|
|
%attr(0770,root,qubes) %dir /var/lib/qubes/dvmdata
|
|
|
|
%attr(0770,root,qubes) %dir /var/lib/qubes/vm-kernels
|
2011-06-23 23:23:45 +02:00
|
|
|
/usr/share/qubes/vm-template.conf
|
2012-02-24 04:53:15 +01:00
|
|
|
/usr/share/qubes/vm-template-hvm.conf
|
2011-04-19 01:38:07 +02:00
|
|
|
/usr/bin/xenstore-watch-qubes
|
2013-03-14 15:06:19 +01:00
|
|
|
/usr/lib/qubes/qubes-restore
|
|
|
|
/usr/lib/qubes/qubes-prepare-saved-domain.sh
|
|
|
|
/usr/lib/qubes/qubes-update-dispvm-savefile-with-progress.sh
|
2010-06-02 15:50:22 +02:00
|
|
|
/etc/xen/scripts/block.qubes
|
2011-02-26 03:42:55 +01:00
|
|
|
/etc/xen/scripts/block-snapshot
|
|
|
|
/etc/xen/scripts/block-origin
|
2010-09-06 17:07:42 +02:00
|
|
|
/etc/xen/scripts/vif-route-qubes
|
2013-03-14 01:22:43 +01:00
|
|
|
%attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.Filecopy
|
|
|
|
%attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.OpenInVM
|
2013-10-28 05:09:54 +01:00
|
|
|
%attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.NotifyTools
|
2013-03-14 01:22:43 +01:00
|
|
|
%attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.NotifyUpdates
|
|
|
|
%attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.VMShell
|
2013-10-28 05:09:54 +01:00
|
|
|
/etc/qubes-rpc/qubes.NotifyTools
|
2013-03-14 01:22:43 +01:00
|
|
|
/etc/qubes-rpc/qubes.NotifyUpdates
|
2010-10-06 11:00:52 +02:00
|
|
|
%attr(2770,root,qubes) %dir /var/log/qubes
|
2012-10-23 05:46:25 +02:00
|
|
|
%attr(0770,root,qubes) %dir /var/run/qubes
|
2011-04-07 19:23:23 +02:00
|
|
|
/etc/xdg/autostart/qubes-guid.desktop
|