Makefile 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. RPMS_DIR=rpm/
  2. VERSION := $(shell cat version)
  3. DIST ?= fc18
  4. KDESERVICEDIR ?= /usr/share/kde4/services
  5. SBINDIR ?= /usr/sbin
  6. BINDIR ?= /usr/bin
  7. LIBDIR ?= /usr/lib
  8. SYSLIBDIR ?= /lib
  9. PYTHON = /usr/bin/python2
  10. PYTHON_SITEARCH = `python2 -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1)'`
  11. PYTHON2_SITELIB = `python2 -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()'`
  12. PYTHON3_SITELIB = `python3 -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())'`
  13. # This makefile uses some bash-isms, make uses /bin/sh by default.
  14. SHELL = /bin/bash
  15. help:
  16. @echo "make rpms -- generate binary rpm packages"
  17. @echo "make rpms-vm -- generate binary rpm packages for VM"
  18. @echo "make clean -- cleanup"
  19. @echo "make install-vm -- install VM related files"
  20. @echo ""
  21. @echo "You must have lsb_release, rpm-sign and pandoc installed."
  22. rpms: rpms-vm
  23. rpms-vm:
  24. [ "$$BACKEND_VMM" != "" ] || { echo "error: you must define variable BACKEND_VMM" >&2 ; exit 1 ; }
  25. lsb_release >/dev/null 2>&1 || { echo "error: you need lsb_release (package lsb) installed" >&2 ; exit 1 ; }
  26. type pandoc >/dev/null 2>&1 || { echo "error: you need pandoc installed" >&2 ; exit 1 ; }
  27. type rpmsign >/dev/null 2>&1 || { echo "error: you need rpm-sign installed" >&2 ; exit 1 ; }
  28. rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-vm.spec
  29. rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-vm-doc.spec
  30. [ "$$SKIP_SIGNING" != "" ] || rpm --addsign \
  31. $(RPMS_DIR)/x86_64/qubes-core-vm-*$(VERSION)*.rpm \
  32. $(RPMS_DIR)/x86_64/qubes-core-vm-doc-*$(VERSION)*.rpm
  33. rpms-dom0:
  34. @true
  35. clean:
  36. make -C misc clean
  37. make -C qrexec clean
  38. make -C qubes-rpc clean
  39. all:
  40. make -C misc
  41. make -C qrexec
  42. make -C qubes-rpc
  43. # Dropin Directory
  44. SYSTEM_DROPIN_DIR ?= "lib/systemd/system"
  45. USER_DROPIN_DIR ?= "usr/lib/systemd/user"
  46. SYSTEM_DROPINS := chronyd.service crond.service cups.service cups.path cups.socket ModemManager.service
  47. SYSTEM_DROPINS += NetworkManager.service NetworkManager-wait-online.service getty@tty.service
  48. SYSTEM_DROPINS += tinyproxy.service
  49. SYSTEM_DROPINS += tmp.mount
  50. SYSTEM_DROPINS += org.cups.cupsd.service org.cups.cupsd.path org.cups.cupsd.socket
  51. SYSTEM_DROPINS += systemd-random-seed.service
  52. SYSTEM_DROPINS += tor.service tor@default.service
  53. SYSTEM_DROPINS += systemd-timesyncd.service
  54. USER_DROPINS := pulseaudio.service pulseaudio.socket
  55. # Ubuntu Dropins
  56. ifeq ($(shell lsb_release -is), Ubuntu)
  57. # 'crond.service' is named 'cron.service in Debian
  58. SYSTEM_DROPINS := $(strip $(patsubst crond.service, cron.service, $(SYSTEM_DROPINS)))
  59. SYSTEM_DROPINS += anacron.service
  60. SYSTEM_DROPINS += anacron-resume.service
  61. endif
  62. # Debian Dropins
  63. ifeq ($(shell lsb_release -is), Debian)
  64. # 'crond.service' is named 'cron.service in Debian
  65. SYSTEM_DROPINS := $(strip $(patsubst crond.service, cron.service, $(SYSTEM_DROPINS)))
  66. # Wheezy System Dropins
  67. # Disable sysinit 'network-manager.service' since systemd 'NetworkManager.service' is already installed
  68. SYSTEM_DROPINS += $(strip $(if $(filter wheezy, $(shell lsb_release -cs)), network-manager.service,))
  69. # handled by qubes-iptables service now
  70. SYSTEM_DROPINS += netfilter-persistent.service
  71. SYSTEM_DROPINS += anacron.service
  72. SYSTEM_DROPINS += anacron-resume.service
  73. SYSTEM_DROPINS += exim4.service
  74. SYSTEM_DROPINS += avahi-daemon.service
  75. endif
  76. install-systemd-dropins:
  77. # Install system dropins
  78. @for dropin in $(SYSTEM_DROPINS); do \
  79. install -d $(DESTDIR)/$(SYSTEM_DROPIN_DIR)/$${dropin}.d ;\
  80. install -m 0644 vm-systemd/$${dropin}.d/*.conf $(DESTDIR)/$(SYSTEM_DROPIN_DIR)/$${dropin}.d/ ;\
  81. done
  82. # Install user dropins
  83. @for dropin in $(USER_DROPINS); do \
  84. install -d $(DESTDIR)/$(USER_DROPIN_DIR)/$${dropin}.d ;\
  85. install -m 0644 vm-systemd/user/$${dropin}.d/*.conf $(DESTDIR)/$(USER_DROPIN_DIR)/$${dropin}.d/ ;\
  86. done
  87. install-init:
  88. install -d $(DESTDIR)$(LIBDIR)/qubes/init
  89. # FIXME: do a source code move vm-systemd/*.sh to init/
  90. # since those scripts are shared between sysvinit and systemd.
  91. install -m 0755 init/*.sh vm-systemd/*.sh $(DESTDIR)$(LIBDIR)/qubes/init/
  92. install -m 0644 init/functions $(DESTDIR)$(LIBDIR)/qubes/init/
  93. install-systemd: install-init
  94. install -d $(DESTDIR)$(SYSLIBDIR)/systemd/system{,-preset} $(DESTDIR)$(LIBDIR)/qubes/init $(DESTDIR)$(SYSLIBDIR)/modules-load.d
  95. install -m 0644 vm-systemd/qubes-*.service $(DESTDIR)$(SYSLIBDIR)/systemd/system/
  96. install -m 0644 vm-systemd/qubes-*.timer $(DESTDIR)$(SYSLIBDIR)/systemd/system/
  97. install -m 0644 vm-systemd/qubes-*.socket $(DESTDIR)$(SYSLIBDIR)/systemd/system/
  98. install -m 0644 vm-systemd/75-qubes-vm.preset $(DESTDIR)$(SYSLIBDIR)/systemd/system-preset/
  99. install -m 0644 vm-systemd/qubes-core.conf $(DESTDIR)$(SYSLIBDIR)/modules-load.d/
  100. install -m 0755 network/qubes-iptables $(DESTDIR)$(LIBDIR)/qubes/init/
  101. install -D -m 0644 vm-systemd/qubes-core-agent-linux.tmpfiles \
  102. $(DESTDIR)/usr/lib/tmpfiles.d/qubes-core-agent-linux.conf
  103. install-sysvinit: install-init
  104. install -d $(DESTDIR)/etc/init.d
  105. install vm-init.d/qubes-sysinit $(DESTDIR)/etc/init.d/
  106. install vm-init.d/qubes-core-early $(DESTDIR)/etc/init.d/
  107. install vm-init.d/qubes-core $(DESTDIR)/etc/init.d/
  108. install vm-init.d/qubes-core-netvm $(DESTDIR)/etc/init.d/
  109. install vm-init.d/qubes-firewall $(DESTDIR)/etc/init.d/
  110. install vm-init.d/qubes-qrexec-agent $(DESTDIR)/etc/init.d/
  111. install vm-init.d/qubes-updates-proxy $(DESTDIR)/etc/init.d/
  112. install vm-init.d/qubes-updates-proxy-forwarder $(DESTDIR)/etc/init.d/
  113. install -D vm-init.d/qubes-core.modules $(DESTDIR)/etc/sysconfig/modules/qubes-core.modules
  114. install network/qubes-iptables $(DESTDIR)/etc/init.d/
  115. install-rh: install-systemd install-systemd-dropins install-sysvinit
  116. install -D -m 0644 misc/qubes-r4.repo $(DESTDIR)/etc/yum.repos.d/qubes-r4.repo
  117. install -d $(DESTDIR)$(LIBDIR)/yum-plugins/
  118. install -m 0644 misc/yum-qubes-hooks.py* $(DESTDIR)$(LIBDIR)/yum-plugins/
  119. install -D -m 0644 misc/yum-qubes-hooks.conf $(DESTDIR)/etc/yum/pluginconf.d/yum-qubes-hooks.conf
  120. install -d -m 755 $(DESTDIR)/etc/pki/rpm-gpg
  121. install -m 644 misc/RPM-GPG-KEY-qubes* $(DESTDIR)/etc/pki/rpm-gpg/
  122. install -D -m 644 misc/session-stop-timeout.conf $(DESTDIR)$(LIBDIR)/systemd/system/user@.service.d/90-session-stop-timeout.conf
  123. install -d $(DESTDIR)/etc/yum.conf.d
  124. touch $(DESTDIR)/etc/yum.conf.d/qubes-proxy.conf
  125. install -D -m 0644 misc/qubes-trigger-sync-appmenus.action $(DESTDIR)/etc/yum/post-actions/qubes-trigger-sync-appmenus.action
  126. install -D -m 0644 misc/grub.qubes $(DESTDIR)/etc/default/grub.qubes
  127. install -D -m 0644 misc/serial.conf $(DESTDIR)/usr/share/qubes/serial.conf
  128. install -D misc/qubes-serial-login $(DESTDIR)/$(SBINDIR)/qubes-serial-login
  129. install -D -m 0644 misc/dracut-qubes.conf \
  130. $(DESTDIR)/usr/lib/dracut/dracut.conf.d/30-qubes.conf
  131. install -D -m 0644 misc/dnf-qubes-hooks.py \
  132. $(DESTDIR)$(PYTHON2_SITELIB)/dnf-plugins/qubes-hooks.py
  133. install -D -m 0644 misc/dnf-qubes-hooks.py \
  134. $(DESTDIR)$(PYTHON3_SITELIB)/dnf-plugins/qubes-hooks.py
  135. install -D -m 0644 misc/dnf-qubes-hooks.conf $(DESTDIR)/etc/dnf/plugins/qubes-hooks.conf
  136. install-doc:
  137. $(MAKE) -C doc install
  138. install-common: install-doc
  139. $(MAKE) -C autostart-dropins install
  140. install -m 0644 -D misc/fstab $(DESTDIR)/etc/fstab
  141. # force /usr/bin before /bin to have /usr/bin/python instead of /bin/python
  142. PATH="/usr/bin:$(PATH)" python setup.py install $(PYTHON_PREFIX_ARG) -O1 --root $(DESTDIR)
  143. mkdir -p $(DESTDIR)$(SBINDIR)
  144. mv $(DESTDIR)/usr/bin/qubes-firewall $(DESTDIR)$(SBINDIR)/qubes-firewall
  145. install -d -m 0750 $(DESTDIR)/etc/sudoers.d/
  146. install -D -m 0440 misc/qubes.sudoers $(DESTDIR)/etc/sudoers.d/qubes
  147. install -D -m 0440 misc/sudoers.d_qt_x11_no_mitshm $(DESTDIR)/etc/sudoers.d/qt_x11_no_mitshm
  148. install -D -m 0644 misc/20_tcp_timestamps.conf $(DESTDIR)/etc/sysctl.d/20_tcp_timestamps.conf
  149. install -d $(DESTDIR)/var/lib/qubes
  150. install -D misc/xenstore-watch $(DESTDIR)$(BINDIR)/xenstore-watch-qubes
  151. install -d $(DESTDIR)/etc/udev/rules.d
  152. install -m 0644 misc/udev-qubes-misc.rules $(DESTDIR)/etc/udev/rules.d/50-qubes-misc.rules
  153. install -d $(DESTDIR)$(LIBDIR)/qubes/
  154. install misc/qubes-trigger-sync-appmenus.sh $(DESTDIR)$(LIBDIR)/qubes/
  155. install -d -m 0750 $(DESTDIR)/etc/polkit-1/rules.d
  156. install -D -m 0644 misc/polkit-1-qubes-allow-all.pkla $(DESTDIR)/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
  157. install -D -m 0644 misc/polkit-1-qubes-allow-all.rules $(DESTDIR)/etc/polkit-1/rules.d/00-qubes-allow-all.rules
  158. install -D -m 0644 misc/mime-globs $(DESTDIR)/usr/share/qubes/mime-override/globs
  159. install misc/qubes-download-dom0-updates.sh $(DESTDIR)$(LIBDIR)/qubes/
  160. install -d $(DESTDIR)/usr/share/glib-2.0/schemas/
  161. install -m 0644 \
  162. misc/20_org.gnome.settings-daemon.plugins.updates.qubes.gschema.override \
  163. misc/20_org.gnome.nautilus.qubes.gschema.override \
  164. misc/20_org.mate.NotificationDaemon.qubes.gschema.override \
  165. misc/20_org.gnome.desktop.wm.preferences.qubes.gschema.override \
  166. $(DESTDIR)/usr/share/glib-2.0/schemas/
  167. install -g user -m 2775 -d $(DESTDIR)/var/lib/qubes/dom0-updates
  168. install -D -m 0644 misc/qubes-master-key.asc $(DESTDIR)/usr/share/qubes/qubes-master-key.asc
  169. install misc/close-window $(DESTDIR)$(LIBDIR)/qubes/close-window
  170. install misc/upgrades-installed-check $(DESTDIR)$(LIBDIR)/qubes/upgrades-installed-check
  171. install misc/upgrades-status-notify $(DESTDIR)$(LIBDIR)/qubes/upgrades-status-notify
  172. install -m 0644 network/udev-qubes-network.rules $(DESTDIR)/etc/udev/rules.d/99-qubes-network.rules
  173. install network/qubes-setup-dnat-to-ns $(DESTDIR)$(LIBDIR)/qubes
  174. install network/qubes-fix-nm-conf.sh $(DESTDIR)$(LIBDIR)/qubes
  175. install network/setup-ip $(DESTDIR)$(LIBDIR)/qubes/
  176. install network/network-manager-prepare-conf-dir $(DESTDIR)$(LIBDIR)/qubes/
  177. install -d $(DESTDIR)/etc/dhclient.d
  178. ln -s /usr/lib/qubes/qubes-setup-dnat-to-ns $(DESTDIR)/etc/dhclient.d/qubes-setup-dnat-to-ns.sh
  179. install -d $(DESTDIR)/etc/NetworkManager/dispatcher.d/
  180. install network/{qubes-nmhook,30-qubes-external-ip} $(DESTDIR)/etc/NetworkManager/dispatcher.d/
  181. install -d $(DESTDIR)/usr/lib/NetworkManager/conf.d
  182. install -m 0644 network/nm-30-qubes.conf $(DESTDIR)/usr/lib/NetworkManager/conf.d/30-qubes.conf
  183. install -D network/vif-route-qubes $(DESTDIR)/etc/xen/scripts/vif-route-qubes
  184. install -D network/vif-qubes-nat.sh $(DESTDIR)/etc/xen/scripts/vif-qubes-nat.sh
  185. install -m 0644 -D network/tinyproxy-updates.conf $(DESTDIR)/etc/tinyproxy/tinyproxy-updates.conf
  186. install -m 0644 -D network/updates-blacklist $(DESTDIR)/etc/tinyproxy/updates-blacklist
  187. install -m 0755 -D network/iptables-updates-proxy $(DESTDIR)$(LIBDIR)/qubes/iptables-updates-proxy
  188. install -d $(DESTDIR)/etc/xdg/autostart
  189. install -m 0755 network/show-hide-nm-applet.sh $(DESTDIR)$(LIBDIR)/qubes/show-hide-nm-applet.sh
  190. install -m 0644 network/show-hide-nm-applet.desktop $(DESTDIR)/etc/xdg/autostart/00-qubes-show-hide-nm-applet.desktop
  191. install -m 0400 -D network/iptables $(DESTDIR)/etc/qubes/iptables.rules
  192. install -m 0400 -D network/ip6tables $(DESTDIR)/etc/qubes/ip6tables.rules
  193. install -m 0755 network/update-proxy-configs $(DESTDIR)$(LIBDIR)/qubes/
  194. install -d $(DESTDIR)$(BINDIR)
  195. install -m 0755 misc/qubes-session-autostart $(DESTDIR)$(BINDIR)/qubes-session-autostart
  196. install -m 0755 misc/qvm-features-request $(DESTDIR)$(BINDIR)/qvm-features-request
  197. install -m 0755 qubes-rpc/qvm-sync-clock $(DESTDIR)$(BINDIR)/qvm-sync-clock
  198. install qubes-rpc/{qvm-open-in-dvm,qvm-open-in-vm,qvm-copy-to-vm,qvm-run-vm} $(DESTDIR)/usr/bin
  199. ln -s qvm-copy-to-vm $(DESTDIR)/usr/bin/qvm-move-to-vm
  200. install qubes-rpc/qvm-copy-to-vm.kde $(DESTDIR)$(LIBDIR)/qubes
  201. install qubes-rpc/qvm-copy-to-vm.gnome $(DESTDIR)$(LIBDIR)/qubes
  202. install qubes-rpc/qvm-move-to-vm.kde $(DESTDIR)$(LIBDIR)/qubes
  203. install qubes-rpc/qvm-move-to-vm.gnome $(DESTDIR)$(LIBDIR)/qubes
  204. install qubes-rpc/xdg-icon $(DESTDIR)$(LIBDIR)/qubes
  205. install qubes-rpc/{vm-file-editor,qfile-agent,qopen-in-vm} $(DESTDIR)$(LIBDIR)/qubes
  206. install qubes-rpc/qubes-open $(DESTDIR)$(BINDIR)
  207. install qubes-rpc/tar2qfile $(DESTDIR)$(LIBDIR)/qubes
  208. # Install qfile-unpacker as SUID - because it will fail to receive files from other vm
  209. install -m 4755 qubes-rpc/qfile-unpacker $(DESTDIR)$(LIBDIR)/qubes
  210. install qubes-rpc/qrun-in-vm $(DESTDIR)$(LIBDIR)/qubes
  211. install qubes-rpc/prepare-suspend $(DESTDIR)$(LIBDIR)/qubes
  212. install qubes-rpc/qubes-sync-clock $(DESTDIR)$(LIBDIR)/qubes
  213. install -m 0644 misc/qubes-suspend-module-blacklist $(DESTDIR)/etc/qubes-suspend-module-blacklist
  214. install -d $(DESTDIR)/$(KDESERVICEDIR)
  215. install -m 0644 qubes-rpc/{qvm-copy.desktop,qvm-move.desktop,qvm-dvm.desktop} $(DESTDIR)/$(KDESERVICEDIR)
  216. install -d $(DESTDIR)/etc/qubes-rpc
  217. install -m 0755 qubes-rpc/{qubes.Filecopy,qubes.OpenInVM,qubes.VMShell} $(DESTDIR)/etc/qubes-rpc
  218. install -m 0755 qubes-rpc/qubes.VMRootShell $(DESTDIR)/etc/qubes-rpc
  219. install -m 0755 qubes-rpc/qubes.OpenURL $(DESTDIR)/etc/qubes-rpc
  220. install -m 0755 qubes-rpc/{qubes.SuspendPre,qubes.SuspendPost,qubes.GetAppmenus} $(DESTDIR)/etc/qubes-rpc
  221. install -m 0755 qubes-rpc/qubes.SuspendPreAll $(DESTDIR)/etc/qubes-rpc
  222. install -m 0755 qubes-rpc/qubes.SuspendPostAll $(DESTDIR)/etc/qubes-rpc
  223. install -m 0755 qubes-rpc/qubes.WaitForSession $(DESTDIR)/etc/qubes-rpc
  224. install -m 0755 qubes-rpc/qubes.DetachPciDevice $(DESTDIR)/etc/qubes-rpc
  225. install -m 0755 qubes-rpc/qubes.{Backup,Restore} $(DESTDIR)/etc/qubes-rpc
  226. install -m 0755 qubes-rpc/qubes.Select{File,Directory} $(DESTDIR)/etc/qubes-rpc
  227. install -m 0755 qubes-rpc/qubes.GetImageRGBA $(DESTDIR)/etc/qubes-rpc
  228. install -m 0755 qubes-rpc/qubes.SetDateTime $(DESTDIR)/etc/qubes-rpc
  229. install -m 0755 qubes-rpc/qubes.InstallUpdatesGUI $(DESTDIR)/etc/qubes-rpc
  230. install -m 0755 qubes-rpc/qubes.ResizeDisk $(DESTDIR)/etc/qubes-rpc
  231. install -m 0755 qubes-rpc/qubes.StartApp $(DESTDIR)/etc/qubes-rpc
  232. install -m 0755 qubes-rpc/qubes.UpdatesProxy $(DESTDIR)/etc/qubes-rpc
  233. install -m 0755 qubes-rpc/qubes.PostInstall $(DESTDIR)/etc/qubes-rpc
  234. install -m 0755 qubes-rpc/qubes.GetDate $(DESTDIR)/etc/qubes-rpc
  235. install -d $(DESTDIR)/etc/qubes/suspend-pre.d
  236. install -m 0644 qubes-rpc/suspend-pre.README $(DESTDIR)/etc/qubes/suspend-pre.d/README
  237. install -d $(DESTDIR)/etc/qubes/suspend-post.d
  238. install -m 0644 qubes-rpc/suspend-post.README $(DESTDIR)/etc/qubes/suspend-post.d/README
  239. ln -s $(BINDIR)/qvm-sync-clock $(DESTDIR)/etc/qubes/suspend-post.d/qvm-sync-clock.sh
  240. install -d $(DESTDIR)/etc/qubes/post-install.d
  241. install -m 0644 post-install.d/README $(DESTDIR)/etc/qubes/post-install.d/
  242. install -m 0755 post-install.d/*.sh $(DESTDIR)/etc/qubes/post-install.d/
  243. install -d $(DESTDIR)/usr/share/nautilus-python/extensions
  244. install -m 0644 qubes-rpc/*_nautilus.py $(DESTDIR)/usr/share/nautilus-python/extensions
  245. install -D -m 0755 misc/qubes-desktop-run $(DESTDIR)$(BINDIR)/qubes-desktop-run
  246. mkdir -p $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
  247. ifeq ($(shell lsb_release -is), Debian)
  248. install -m 0644 misc/qubesxdg.py $(DESTDIR)/$(PYTHON2_SITELIB)/
  249. else
  250. install -m 0644 misc/py2/qubesxdg.py* $(DESTDIR)/$(PYTHON2_SITELIB)/
  251. endif
  252. install -d $(DESTDIR)/mnt/removable
  253. install -D -m 0644 misc/xorg-preload-apps.conf $(DESTDIR)/etc/X11/xorg-preload-apps.conf
  254. install -d $(DESTDIR)/usr/lib/qubes-bind-dirs.d
  255. install -D -m 0644 misc/30_cron.conf $(DESTDIR)/usr/lib/qubes-bind-dirs.d/30_cron.conf
  256. install -d $(DESTDIR)/var/run/qubes
  257. install -d $(DESTDIR)/rw
  258. install-deb: install-common install-systemd install-systemd-dropins
  259. mkdir -p $(DESTDIR)/etc/apt/sources.list.d
  260. sed -e "s/@DIST@/`lsb_release -cs`/" misc/qubes-r4.list.in > $(DESTDIR)/etc/apt/sources.list.d/qubes-r4.list
  261. install -D -m 644 misc/qubes-archive-keyring.gpg $(DESTDIR)/etc/apt/trusted.gpg.d/qubes-archive-keyring.gpg
  262. install -D -m 644 network/00notify-hook $(DESTDIR)/etc/apt/apt.conf.d/00notify-hook
  263. install -d $(DESTDIR)/etc/sysctl.d
  264. install -m 644 network/80-qubes.conf $(DESTDIR)/etc/sysctl.d/
  265. install -D -m 644 misc/profile.d_qt_x11_no_mitshm.sh $(DESTDIR)/etc/profile.d/qt_x11_no_mitshm.sh
  266. install -D -m 440 misc/sudoers.d_umask $(DESTDIR)/etc/sudoers.d/umask
  267. install -d $(DESTDIR)/etc/pam.d
  268. install -m 0644 misc/pam.d_su.qubes $(DESTDIR)/etc/pam.d/su.qubes
  269. install -d $(DESTDIR)/etc/needrestart/conf.d
  270. install -D -m 0644 misc/50_qubes.conf $(DESTDIR)/etc/needrestart/conf.d/50_qubes.conf
  271. install -D -m 0644 misc/grub.qubes $(DESTDIR)/etc/default/grub.d/30-qubes.cfg
  272. mkdir -p $(DESTDIR)/etc/systemd/system/
  273. install -m 0644 vm-systemd/haveged.service $(DESTDIR)/etc/systemd/system/
  274. install-vm: install-rh install-common