--- setup.py.orig +++ setup.py @@ -49,8 +49,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 @@ -9,7 +9,7 @@ DISABLE="disabled" FOUND="found" NOTFOUND="notfound" 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}"