drop bootmanager:lxc_devel now that it's merged back in master/5.2
[build.git] / vbuild-init-lxc.sh
index 02ee3f5..9e1dd8b 100755 (executable)
@@ -273,7 +273,7 @@ function configure_fedora_systemd() {
 #   #dependency on a device unit fails it specially that we disabled udev
 #    sed -i 's/After=dev-%i.device/After=/' ${rootfs_path}/lib/systemd/system/getty\@.service
     ln -s /dev/null ${rootfs_path}/etc/systemd/system/"getty@.service"
-    rm /etc/systemd/system/getty.target.wants/*service
+    rm -f ${rootfs_path}/etc/systemd/system/getty.target.wants/*service || :
 # can't seem to handle this one with systemctl
     chroot ${rootfs_path} chkconfig network on
 }