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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1