debian: Move creation of directories into debian.dirs configuration file
This commit is contained in:
parent
45cbeda244
commit
51c94ccc2b
2
debian/qubes-core-agent.dirs
vendored
Normal file
2
debian/qubes-core-agent.dirs
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
var/lib/qubes
|
||||
lib/modules
|
7
debian/qubes-core-agent.preinst
vendored
7
debian/qubes-core-agent.preinst
vendored
@ -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?
|
||||
# --------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user