mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-29 15:55:36 +00:00
templates: remove creation of bogus directory
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>
This commit is contained in:
parent
1f42bbcec5
commit
c45df3b8db
@ -239,7 +239,7 @@ configure_debian_systemd()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# just in case systemd is not installed
|
# 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"
|
mkdir -p "${rootfs}/etc/systemd/system/getty.target.wants"
|
||||||
|
|
||||||
# Fix getty-static-service as debootstrap does not install dbus
|
# Fix getty-static-service as debootstrap does not install dbus
|
||||||
|
Loading…
Reference in New Issue
Block a user