Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
Quote from: phenigma on November 28, 2018, 07:05:27 AM
All my builds are in Virtual Box. I have one builder with multiple chroots. I also have an armhf builder (that I need to resurrect) as I need to get the RPi3+ booting.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
I'm very interested in exactly how you've got this setup and launching.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
QEmu == Ewww, I can agree with that. Not sure if you're referring to automated 'modeling'/testing of distributed lmce network or the exact specifics. All my 'live' testing has so far been done using VMWare or VirtualBox and snapshot systems to install/test/revert/repeat.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
Add 'NUM_JOBS=XX' to /etc/lmce-build/builder.custom.conf to set the number of cores used during the build.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
Using the above will avoid building anything that fails multi-core builds.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
This is something that needs to be looked into going forward, our current build system is outdated, but it's not as simple as in many projects due to the database system we rely on.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
Most everything is sacred but the knx/eib stuff has to work. Everything we do here is supported and enabled by someone that relies on knx and that must be maintained. Oh... and VDR too
Quote from: phenigma on November 28, 2018, 07:05:27 AM
Right now database changes have to be made by one of a few devs, some that haven't been seen for a while. Changes in mysql forced updates in sqlCVS that seem to have broken anonymous commits/approvals. I can work with you to get things input if necessary.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
Official builds are all produced on one machine for all i386 and X86_64 builds and all official armhf builds have been made on my armhf builder. Essentially all our build scripts cater to this primary builder. I've added lots of speed-ups and I skip many steps in the build process in my chroot environments but that depends on not destroying the environments and knowing how to reset those steps to occur, none of these things are documented anywhere.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
The firewall is severely broken and you're best option is to disable it entirely.
Quote from: phenigma on November 28, 2018, 07:05:27 AM
Things are pretty quiet but you might try to join #linuxmce-devel on freenode irc. I try to get on daily and if I'm around then it can be easier to converse and 'brain dump'
Quote from: phenigma on November 28, 2018, 07:05:27 AM
Keep having fun!
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
The way I have build LinuxMCE so far is through packer and vagrant
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
Docker is probably the fastest method I have tried due to the least overhead
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
however compiling pthsem fails in the container.
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
VirtualBox while working, is unusable in my opinion for the size of LinuxMCE. Qemu does work but takes a fair few hours to do a complete build on a quad core under kvm but does work great for compiling and providing a functional test environment in vagrant. To model a LinuxMCE network system, even OpenGL with virgl and networking between systems, netboot, disked md etc. I have found this invaluable tool to test LinuxMCE more. I have used lxc in the past but have not tested this path yet but will do so as these are lightweight like a chroot. VMWare and several others are possible.
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
parallel building
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
There are obviously some packages that will need fixing due to this change too, some packages will fail when make is invoked as parallel. some linking methods are different, I think --as-needed flag, so some libs will need juggling around with the link ordering, this is where I stopped, I reverted it because I knew it would break trusty and time better spent elsewhere.
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
So anyway, back to the original answer a change like this would break pre bionic builds and the only way I see is another branch. Knowing how LinuxMCE deals with this would be useful to move foward.
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
Another option was to look at way to remove pthsem with more updated software that depended on it but it looks like it's used by some core things I cannot test due to lack of knx/eib hardware so that isn't an option currently for me.
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
can be made. At the moment I am looking at ways to get my database changes in using this method but I am not going to lie I am struggling with LinuxMCE as you can well imagine.
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
I would like to know more about how you work and how this all fits because I do not want to interfere with current build methods, so I am trying to make this an extension if you like, a wrapper around the buildscripts. I would welcome and help with this I don't want to waste your time the only thing stopping me uploading at the moment is it being so rough and cutting corners but I hope to work these out.
Quote from: Gavlee on November 27, 2018, 12:13:41 PM
P.S. While I think of it, I have just managed to install a hybrid in vagrant with the debs from deb.linuxmce.org, I got access the vm by disabling the firewall in /etc/pluto.conf with a hack in the Vagrantfile but this is hardly optimal so wondered if there was a way to enable ssh access by the cli after apt install lmce-mybrid. the firewall comes up and blocks access so i had to disable the firewall because I don't know how to enable programmatically, the outside ssh access in LinuxMCE settings to stick. Phew. Thanks!