From 51c94ccc2bd8ee231035b5d9a357a07ea325b994 Mon Sep 17 00:00:00 2001 From: Jason Mehring Date: Thu, 12 Feb 2015 11:29:00 -0500 Subject: [PATCH] debian: Move creation of directories into debian.dirs configuration file --- debian/qubes-core-agent.dirs | 2 ++ debian/qubes-core-agent.preinst | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) create mode 100644 debian/qubes-core-agent.dirs diff --git a/debian/qubes-core-agent.dirs b/debian/qubes-core-agent.dirs new file mode 100644 index 0000000..fa73b65 --- /dev/null +++ b/debian/qubes-core-agent.dirs @@ -0,0 +1,2 @@ +var/lib/qubes +lib/modules diff --git a/debian/qubes-core-agent.preinst b/debian/qubes-core-agent.preinst index e99f74a..93e33d1 100755 --- a/debian/qubes-core-agent.preinst +++ b/debian/qubes-core-agent.preinst @@ -52,13 +52,6 @@ if [ "$1" = "install" ] ; then usermod -p '' root usermod -L --groups qubes,sudo user - # -------------------------------------------------------------------------- - # Create required directories - # -------------------------------------------------------------------------- - mkdir -p /var/lib/qubes - mkdir -p /lib/modules - #mkdir -p -m 0700 /var/log/xen # xen-utils-common should do this - # -------------------------------------------------------------------------- # Remove `mesg` from root/.profile? # --------------------------------------------------------------------------