]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
templates: remove creation of bogus directory 1163/head
authorMaxime BESSON <maxime.besson@smile.fr>
Thu, 1 Sep 2016 14:09:37 +0000 (16:09 +0200)
committerMaxime BESSON <maxime.besson@smile.fr>
Thu, 1 Sep 2016 14:09:37 +0000 (16:09 +0200)
An incorrect quoting introduced in bf39edb caused a /{lib,etc} folder to
appear in Debian templates

The very next line :
    mkdir -p "${rootfs}/etc/systemd/system/getty.target.wants

makes creating ${rootfs}/etc/systemd/system/ unnecessary in the first
place

Signed-off-by: Maxime Besson <maxime.besson@smile.fr>
templates/lxc-debian.in

index e5ad10d5a612fc742e259849d224e81c11197a4e..6420b39c852f4c9665bc13e6e96e504db46006f4 100644 (file)
@@ -239,7 +239,7 @@ configure_debian_systemd()
     fi
 
     # just in case systemd is not installed
-    mkdir -p "${rootfs}/{lib,etc}/systemd/system"
+    mkdir -p "${rootfs}/lib/systemd/system"
     mkdir -p "${rootfs}/etc/systemd/system/getty.target.wants"
 
     # Fix getty-static-service as debootstrap does not install dbus