Prechádzať zdrojové kódy

debian: Move creation of directories into debian.dirs configuration file

Jason Mehring 9 rokov pred
rodič
commit
51c94ccc2b

+ 2 - 0
debian/qubes-core-agent.dirs

@@ -0,0 +1,2 @@
+var/lib/qubes
+lib/modules

+ 0 - 7
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?
     # --------------------------------------------------------------------------