Skip to content

Commit

Permalink
export rpm macros also for kiwi builds (issue #138)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Oct 9, 2014
1 parent fbb3536 commit e40a520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-recipe-kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e40a520

Please sign in to comment.