diff options
author | Adrian Schröter <adrian@suse.de> | 2014-10-09 10:10:22 +0200 |
---|---|---|
committer | Adrian Schröter <adrian@suse.de> | 2014-10-09 10:10:22 +0200 |
commit | e40a520a5a560282e7df8e7249b1f43b9750ab91 (patch) | |
tree | 1e66490428c11d1bcb3048a71e0cc8b26f5ab4c3 | |
parent | fbb353690da2e4eeca0661e0e8f5f1141bee41ce (diff) |
export rpm macros also for kiwi builds (issue #138)
-rw-r--r-- | build-recipe-kiwi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-recipe-kiwi b/build-recipe-kiwi index c45e459..2b46673 100644 --- a/build-recipe-kiwi +++ b/build-recipe-kiwi @@ -277,6 +277,10 @@ recipe_setup_kiwi() { cleanup_and_exit 1 fi fi + + # extract macros from configuration + # some post scripts might call rpm-build and rely on the macros + queryconfig rawmacros --dist "$BUILD_DIST" --archpath "$BUILD_ARCH" --configdir "$CONFIG_DIR" > $BUILD_ROOT/root/.rpmmacros } recipe_prepare_kiwi() { |