1 1
Rfreire

Build framework: Allow to skip patching when running compile.sh

Recommended Posts

Hello there Maintainers! o/

 

I have found something while builiding my image and would like to ask for your opinion on that :-)

 

I have built a Docker build environment where things are going real smooth (After some tinkering ;-)

 

In order to save everyone's bandwidth (and be able to do builds while offline), I was tinkering with IGNORE_UPDATES=yes FORCE_CHECKOUT=no compile option.

 

Well.

 

That causes the build to fail, because after the first compile and its patch, a second round with these flags will cause the patch to be applied again and potentially breaking stuffs.

 

I'm circumventing it by moving the patch dir, by:

 

# Move the patch directory somewhere else
# mv ./patch/kernel/rockchip-default/ ./patch/kernel/rockchip-default.orig

# And then retry the compile op
# ./compile.sh KERNEL_KEEP_CONFIG=yes CLEAN_LEVEL=debs BOARD=tinkerboard BRANCH=default IGNORE_UPDATES=yes FORCE_CHECKOUT=no

 

Thoughts?

 

Have a great weekend (I'm have a great one! ;-D)

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1