[ 
https://issues.apache.org/jira/browse/BIGTOP-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051232#comment-14051232
 ] 

Guo Ruijing commented on BIGTOP-1363:
-------------------------------------

new function in package.mk:

1. create new file in 
$(BASE_DIR)/bigtop-packages/src/common/$($(PKG)_NAME)/patches

2. file patches example:

HADOOP-10110.patch  p0
HDFS-2139.patch     p1

3. read patch file and strip level from patches and patch one file by one file



> Bigtop may manage apache patches
> --------------------------------
>
>                 Key: BIGTOP-1363
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1363
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Guo Ruijing
>
> Bigtop may manage apache patches.
> Motivation 1: component build fails due to some apache patches
> Example 1) Hadoop build fails in bigtop-0.6.0/bigtop-0.7.0 build fails due to 
> HADOOP-10110.patch missing.
> Example 2) flume 1.4.0 build fails due to Flume-2172
> Motivation 2: third party can use bigtop to manage apache or vendor patches 
> (Not bigtop goal, but if more people use bigtop to do distribution, bigtop is 
> more stable)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to