diff --git a/Makefile b/Makefile index 0cd29e7..1b53112 100644 --- a/Makefile +++ b/Makefile @@ -74,8 +74,6 @@ install-sysvinit: install-rh: install-systemd install-sysvinit - install -m 0644 -D misc/fstab $(DESTDIR)/etc/fstab - install -D -m 0644 misc/qubes-r3.repo $(DESTDIR)/etc/yum.repos.d/qubes-r3.repo install -d $(DESTDIR)/usr/share/glib-2.0/schemas/ install -m 0644 misc/org.gnome.settings-daemon.plugins.updates.gschema.override $(DESTDIR)/usr/share/glib-2.0/schemas/ @@ -102,6 +100,8 @@ install-rh: install-systemd install-sysvinit install -m 0400 -D network/ip6tables $(DESTDIR)/usr/lib/qubes/init/ip6tables install-common: + install -m 0644 -D misc/fstab $(DESTDIR)/etc/fstab + install -D -m 0440 misc/qubes.sudoers $(DESTDIR)/etc/sudoers.d/qubes install -d $(DESTDIR)/var/lib/qubes diff --git a/debian/qubes-core-agent.preinst b/debian/qubes-core-agent.preinst index a6b96e2..fa05241 100755 --- a/debian/qubes-core-agent.preinst +++ b/debian/qubes-core-agent.preinst @@ -41,10 +41,6 @@ if [ "$1" = "install" ] ; then mkdir -p /lib/modules #mkdir -p -m 0700 /var/log/xen # xen-utils-common should do this - if [ -e /etc/fstab ] ; then - mv /etc/fstab /var/lib/qubes/fstab.orig - fi - # -------------------------------------------------------------------------- # Many Qubes scripts reference /bin/sh expecting the shell to be bash but # in Debian it is dash so some scripts will fail so force an alternate for @@ -62,26 +58,6 @@ if [ "$1" = "install" ] ; then # -------------------------------------------------------------------------- sed -i -e '/^mesg n/d' /root/.profile - # -------------------------------------------------------------------------- - # Update /etc/fstab - # -------------------------------------------------------------------------- - cat > /etc/fstab <