Hi,

I am looking at building bigtop with patches from few Jira under review at
apache.

I saw in

/home/jj/source/bigtop/bigtop*/package.mk*


# Untar and patch
$(BUILD_DIR)/%/.tar:
    -rm -rf $(PKG_BUILD_DIR)/tar/
    mkdir -p
$(PKG_BUILD_DIR)/tar/$($(PKG)_NAME)-$(PKG_PKG_VERSION)$(BIGTOP_BUILD_STAMP)
    if [ -n "$($(PKG)_TARBALL_SRC)" ]; then \
      cp $($(PKG)_DOWNLOAD_DST)
$(PKG_BUILD_DIR)/tar/$($(PKG)_PKG_NAME)_$(PKG_PKG_VERSION)$(BIGTOP_BUILD_STAMP).orig.tar.gz
;\
      tar -C
$(PKG_BUILD_DIR)/tar/$($(PKG)_NAME)-$(PKG_PKG_VERSION)$(BIGTOP_BUILD_STAMP)
\
              --strip-components 1 -xzvf
$(PKG_BUILD_DIR)/tar/$($(PKG)_PKG_NAME)_$(PKG_PKG_VERSION)$(BIGTOP_BUILD_STAMP).orig.tar.gz;
\
    fi
    if [ -f $(BASE_DIR)/bigtop-packages/src/common/$($(PKG)_NAME)/series ];
then    \
      PATCHES="`cat
$(BASE_DIR)/bigtop-packages/src/common/$($(PKG)_NAME)/series`" ;\
    elif [ -f $(BASE_DIR)/bigtop-packages/src/common/$($(PKG)_NAME)/*patch*];
then   \

PATCHES="patch"
;\
    else


My question is if i create patch named directory under bigtop at following
locations for hadoop , then would bigtop apply all patches in patch
directory to build ?

/home/jj/source/bigtop/bigtop/bigtop-packages/src/common/hadoop/*patch*

I created manually the patch directory and copied the patch from Apache
jira to this directory/

Second question

If i want to build without downloading new tar from net , how can i tell
bigtop to not to download and use existing.

Thanks in advance.

Reply via email to