diff --git a/Makefile b/Makefile index 2e30ff9..b318c3b 100644 --- a/Makefile +++ b/Makefile @@ -169,4 +169,9 @@ install-common: install -d $(DESTDIR)/var/run/qubes install -d $(DESTDIR)/home_volatile/user +install-deb: + mkdir -p $(DESTDIR)/etc/apt/sources.list.d + sed -e "s/@DIST@/`cat /etc/debian_version | cut -d/ -f 1`/" misc/qubes-r2.list.in > $(DESTDIR)/etc/apt/sources.list.d/qubes-r2.list + install -D -m 644 misc/qubes-archive-keyring.gpg $(DESTDIR)/etc/apt/trusted.gpg.d/qubes-archive-keyring.gpg + install-vm: install-rh install-common diff --git a/debian/rules b/debian/rules index b9fd0e7..9ce9ce4 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,6 @@ override_dh_auto_build: make all override_dh_auto_install: - make install-common + make install-common install-deb make -C qrexec install diff --git a/misc/qubes-archive-keyring.gpg b/misc/qubes-archive-keyring.gpg new file mode 100644 index 0000000..f8e60d2 Binary files /dev/null and b/misc/qubes-archive-keyring.gpg differ diff --git a/misc/qubes-r2.list.in b/misc/qubes-r2.list.in new file mode 100644 index 0000000..77a444f --- /dev/null +++ b/misc/qubes-r2.list.in @@ -0,0 +1,11 @@ +# Main qubes updates repository +deb http://deb.qubes-os.org/r2/vm @DIST@ main +deb-src http://deb.qubes-os.org/r2/vm @DIST@ main + +# Qubes updates candidates repository +#deb http://deb.qubes-os.org/r2/vm @DIST@-testing main +#deb-src http://deb.qubes-os.org/r2/vm @DIST@-testing main + +# Qubes experimental/unstable repository +#deb http://deb.qubes-os.org/r2/vm @DIST@-unstable main +#deb-src http://deb.qubes-os.org/r2/vm @DIST@-unstable main