remsnet Posted June 20, 2015 Share Posted June 20, 2015 @dear Igior and others My R1 fw1 run fine past 2 month with the 3.19.3. now its time to move to 4.0.xIgor - many thanks for KERNEL_CONFIGURE at your scripting implementing . This shortcut my work with automated rebuild kernel an bit -- but not fully. I have the need to been able to push my own kernel .config into your https://github.com/igorpecovnik/lib in an automated way.But how about to push an custom .config into that? welll ... My suggestion are here top add i.e at your compile.sh : KERNEL_CUSTOM_CONFIG="/path/file" if file env set , use it instead from default patched kernel .configHow you think about this Idea ? 1 Link to comment Share on other sites More sharing options...
Decker Posted June 22, 2015 Share Posted June 22, 2015 Haha, I am using "CUSTOM_KERNEL_CONFIG" for a while now in my edited script, but it need more testing and I need to add comments before making pull request... Simply, my script does not load default .config when CUSTOM_KERNEL_CONFIG is set to "yes" AND .config exist in kernel directory. It does not have the ability to change path to .config. Link to comment Share on other sites More sharing options...
tkaiser Posted June 23, 2015 Share Posted June 23, 2015 I have the need to been able to push my own kernel .config into your https://github.com/igorpecovnik/lib in an automated way. Why don't you just do it? Search for "# Load libraries" in main.sh and add cat "/path/to/my/config" >"$SRC/config/linux-sunxi-next.config" or replace in common.sh cp $SRC/lib/config/$LINUXCONFIG.config $DEST/$LINUXSOURCE/.config with if [ "/path/to/my/config" -nt "$SRC/lib/config/$LINUXCONFIG.config" ]; then cp -p "/path/to/my/config" "$DEST/$LINUXSOURCE/.config" else cp -p "$SRC/lib/config/$LINUXCONFIG.config" "$DEST/$LINUXSOURCE/.config" fi Link to comment Share on other sites More sharing options...
Recommended Posts