Moode Forum
[PROBLEM] Build from source - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [PROBLEM] Build from source (/showthread.php?tid=4025)



Build from source - Meestor_X - 07-15-2021

It's probably here somewhere, but I couldn't find the instructions for building from source.
I can obviously clone the repository, but what is/are the command(s) for building?

I would like to update my (much) older Moode build without wiping the SD card.


RE: Build from source - Tim Curtis - 07-15-2021

There are two build methods but neither of these support building over the top of an old image. They are designed to create a new image using the specified base versions of RaspiOS, Linux kernel, component softwares and binaries.

Manual build recipes
https://github.com/moode-player/moode/tree/develop/other/build

Automated builder
https://github.com/moode-player/mosbuild


RE: Build from source - Meestor_X - 07-15-2021

(07-15-2021, 09:34 PM)Tim Curtis Wrote: There are two build methods but neither of these support building over the top of an old image. They are designed to create a new image using the specified base versions of RaspiOS, Linux kernel, component softwares and binaries.

Manual build recipes
https://github.com/moode-player/moode/tree/develop/other/build

Automated builder
https://github.com/moode-player/mosbuild

Thank you, Tim.

I'm not sure I understand. Why would someone build manually or using this script instead of just downloading the image and flashing the SD card if you can't keep the SD card contents no matter what you do?


RE: Build from source - Tim Curtis - 07-15-2021

They wouldn't.

The automated build is used as part of maintaining the moOde project for example when a new major version of RaspiOS is released a new image is built and an image-only release of moOde is published. In-between major OS versions we use Gulp to load updated sources and configs onto the existing image. There are also various other dependent changes that are made that are outside the Gulp process including changes to the file/folder structure, new versions of components, etc, etc. All of these changes are reflected in the build recipe and auto-builder at the time of release.

Also note that the build recipe and corresponding automated builder are part of satisfying a key requirement of Open Source that involves providing the build recipes.


RE: Build from source - Meestor_X - 07-16-2021

(07-15-2021, 10:32 PM)Tim Curtis Wrote: They wouldn't.

The automated build is used as part of maintaining the moOde project for example when a new major version of RaspiOS is released a new image is built and an image-only release of moOde is published. In-between major OS versions we use Gulp to load updated sources and configs onto the existing image. There are also various other dependent changes that are made that are outside the Gulp process including changes to the file/folder structure, new versions of components, etc, etc. All of these changes are reflected in the build recipe and auto-builder at the time of release.

Also note that the build recipe and corresponding automated builder are part of satisfying a key requirement of Open Source that involves providing the build recipes.


Copy. Thank you for the explanation.