The-going / armbian-build

Armbian build tools
https://www.armbian.com
GNU General Public License v2.0
1 stars 0 forks source link

Repeat build setting not working ! #23

Open AaronNGray opened 9 months ago

AaronNGray commented 9 months ago
[ o.k. ] Repeat Build Options [ ./compile.sh  BOARD=bananapim3 BRANCH=edge RELEASE=bookworm BUILD_MINIMAL=yes BUILD_DESKTOP=no BUILD_ONLY=u-boot,kernel,armbian-zsh,armbian-config,armbian-firmware,plymouth-theme-armbian,armbian-bsp-cli,bootstrap KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img  ]
./compile.sh \
 BOARD=bananapim3 \
 BRANCH=edge \
 RELEASE=bookworm \
 BUILD_MINIMAL=yes \
 BUILD_DESKTOP=no \
 BUILD_ONLY=u-boot,kernel,armbian-zsh,armbian-config,armbian-firmware,plymouth-theme-armbian,armbian-bsp-cli,bootstrap \ 
 KERNEL_CONFIGURE=no \
 COMPRESS_OUTPUTIMAGE=sha,gpg,img

Original configuration steps :-

git clone --depth=120 --branch=pbs-master https://github.com/The-going/armbian-build
cd armbian-build

mkdir userpatches
cp config/templates/config-test.conf userpatches

edit userpatches/config-test.conf setting KERNEL_CONFIGURE="yes"

./compile.sh test BUILD_ONLY=default
AaronNGray commented 9 months ago

@going sorry to be bombarding you with issues but there are serious inconsistencies with Armbian/build

The-going commented 9 months ago

sorry to be bombarding you with issues but there are serious inconsistencies with Armbian/build

Any problems that you find or that you want to solve will be considered for a possible solution. Maybe you just write down for what purposes you use these bananas.

A little explanation: https://github.com/armbian/build/tree/master pbs-master based on this after the development stopped.

I need more maneuver or opportunity. In the main branch, I need to be very resourceful in order to build a kernel for debugging or change some parameters that are encoded in the build system itself. This entails changing the source code of the build system itself, rather than setting certain parameter values.

Today I am rewriting the algorithm of the build system and the user interface. Therefore, support for kernel changes in this branch of mine has been suspended.

AaronNGray commented 9 months ago

What I meant by this issue which I did not make clear which I should have was using your build instructions that you gave to me :-

git clone --depth=120 --branch=pbs-master https://github.com/The-going/armbian-build
cd armbian-build

mkdir userpatches
cp config/templates/config-test.conf userpatches

edit userpatches/config-test.conf setting KERNEL_CONFIGURE="yes"

./compile.sh test BUILD_ONLY=default

Then at the end of this build there is a outputted "repeat build settings" :-

[ o.k. ] Repeat Build Options [ ./compile.sh  BOARD=bananapim3 BRANCH=edge RELEASE=bookworm BUILD_MINIMAL=yes BUILD_DESKTOP=no BUILD_ONLY=u-boot,kernel,armbian-zsh,armbian-config,armbian-firmware,plymouth-theme-armbian,armbian-bsp-cli,bootstrap KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img  ]

trying them then produces a build which does not build, and comes up with errors.

As you say these are not very good build settings, and the settings printed at the end need updating to the true settings. But taking the settings from your config/templates/config-test.conf file on their own on the command line does not produce a build that works either. So there are inconsistencies that ideally need solving and dealing with !

AaronNGray commented 9 months ago

Regarding the BananaPi-M3's I bought them 5 or so years ago as low power replacement servers instead of HP DL-145's. I am now looking at using them as a small server farm again for a green social media/collaboration system I am working on. I could use RPi5's but that would mean spending out on new hardware.