How to install self compiled image?

Received my vero today and i’m totally happy with it! :smile: But there’s one question, the one from the topic, how could i on one hand install the .xz or on the other hand converting it to .img. Think with dd, but without information, it’s too dangerous! :sunglasses::wink:
Could someone help me out pls?

cu

Is there a specific reason you need to use your own image?
After building the target installer, you can write it to a USB or SD card.

Hi Sam,

i know that, but do i have to rename it for the installer to be recognized? Or just extract to usb?

Ok, got it :wink:

Are vero2 and 3 identical? Because in gmc-18 vero3 doesn’t exist! :wink:

No, different SoC.

Does it mean, i can’t build gmc-18 for vero3, or is there a way to do that?

Well?

Thanks for answering, i’ve meant building the git for vero3, need just a little hint. :slight_smile:

Why are you trying to build it? It’s been pre-built for you.

Because i would like to go more into it, that’s all, compiling all my devices, if it’s possible, by myself. :wink:

cu

Look at mediacenter-next-osmc package.

Not sure why you want to build your own image as you will end up with the same .deb file, unless you want to do some custom compiling.

If you really want to do it yourself though you check out this wiki with the steps:
(Still need to update the wiki for stretch but should be enough to get you going)

Thx for the information! I’ll give it a try. :wink:

cu

Complains about libmariadbclient:

 Package libmodplug-dev is already installed in the environment
Package libmpeg2-4-dev is already installed in the environment
Package libmpeg3-dev is already installed in the environment
Package libmariadbclient-dev-compat is not found on the system, checking APT
Can't find the package in APT repo. It needs to be built first or you need to wait for upstream to add it
Makefile:20: recipe for target 'vero3' failed
make: *** [vero3] Error 1
make: Leaving directory '/mnt/package/mediacenter-next-osmc'
Makefile:20: die Regel für Ziel „vero3“ scheiterte
make: *** [vero3] Fehler 2

any clues?

Have you upgraded to stretch?

yes, i did, but i compile on my stretch workstation, which is amd64. :wink:

I’ve replaced jessie in the makefile through stretch later on for osmc-tc, but then the tc fails.

Enabling networking
Adding apt key
--2018-01-05 18:47:44--  http://apt.osmc.tv/apt.key
Auflösen des Hostnamens »apt.osmc.tv (apt.osmc.tv)« … 159.253.212.250
Verbindungsaufbau zu apt.osmc.tv (apt.osmc.tv)|159.253.212.250|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: http://ftp.fau.de/osmc/osmc/apt/apt.key [folgend]
--2018-01-05 18:47:44--  http://ftp.fau.de/osmc/osmc/apt/apt.key
Auflösen des Hostnamens »ftp.fau.de (ftp.fau.de)« … 131.188.12.211, 2001:638:a000:1021:21::1
Verbindungsaufbau zu ftp.fau.de (ftp.fau.de)|131.188.12.211|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 1727 (1,7K) [application/pgp-keys]
Wird in »»opt/osmc-tc/armv7-toolchain-osmc/tmp/key«« gespeichert.

opt/osmc-tc/armv7-toolch 100%[================================>]   1,69K  --.-KB/s    in 0s      

2018-01-05 18:47:44 (216 MB/s) - »»opt/osmc-tc/armv7-toolchain-osmc/tmp/key«« gespeichert [1727/1727]

E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
Exiting build with return code 255
Makefile:2: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 1

Try building on the vero3. Going to be a lot simpler and quicker.

Ok :wink::sunglasses:

Hi gmc,

now complaining about -lpthreads, and u were right, much faster on the vero! :wink:

/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e67fa.dir/link.txt --verbose=1
/usr/bin/cc  -O3 -fomit-frame-pointer -I/usr/osmc/include -L/usr/osmc/lib -I/opt/vero3/include -Wl,-rpath=/usr/osmc/lib -L/usr/osmc/lib -DCHECK_FUNCTION_EXISTS=pthread_create  -L/opt/vero3/lib  CMakeFiles/cmTC_e67fa.dir/CheckFunctionExists.c.o  -o cmTC_e67fa -rdynamic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_e67fa.dir/build.make:97: recipe for target 'cmTC_e67fa' failed
make[1]: *** [cmTC_e67fa] Error 1
make[1]: Leaving directory '/mnt/package/mediacenter-next-osmc/src/xbmc-a4ad91e06a77b05ea5c7804cfe1707fe52596be2/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e67fa/fast' failed
make: *** [cmTC_e67fa/fast] Error 2

A whole log might give some clues. A snippet unfortunately won’t.