--- setup.py.orig +++ setup.py @@ -58,8 +58,8 @@ def tiny_p(cmd, capture=True): def pkg_config_read(library, var): fallbacks = { 'systemd': { - 'systemdsystemunitdir': '/lib/systemd/system', - 'systemdsystemgeneratordir': '/lib/systemd/system-generators', + 'systemdsystemunitdir': '/usr/lib/systemd/system', + 'systemdsystemgeneratordir': '/usr/lib/systemd/system-generators', } } cmd = ['pkg-config', '--variable=%s' % var, library] --- systemd/cloud-init-generator.orig +++ systemd/cloud-init-generator @@ -7,7 +7,7 @@ LOG_D="/run/cloud-init" ENABLE="enabled" DISABLE="disabled" RUN_ENABLED_FILE="$LOG_D/$ENABLE" -CLOUD_SYSTEM_TARGET="/lib/systemd/system/cloud-init.target" +CLOUD_SYSTEM_TARGET="/usr/lib/systemd/system/cloud-init.target" CLOUD_TARGET_NAME="cloud-init.target" # lxc sets 'container', but lets make that explicitly a global CONTAINER="${container}"