guysoft / ZynthianOS

Disto to build a Zynthian image ready to ship
GNU General Public License v3.0
17 stars 9 forks source link

Copy soundfonts after finishing the build #5

Closed jofemodo closed 5 years ago

jofemodo commented 5 years ago

Hi @guysoft !

As we are really close, i would like to start including soundfonts in the build. Perhaps it will be better if we could have 2 different builds:

What is the best way of achieving this? CustomPiOS variants? Or better to have 2 different modules? Or perhaps having 2 projects in Jenkins and using an environment variable for configuring this?

guysoft commented 5 years ago

Hey, this assumes you have the soundfonts copied from somewhere - I suggest that is added to the docs and it needs to be a command before the build.

jofemodo commented 5 years ago

Yes. I've copied the files by hand. As it's not overwriten by the "git pull", i don't think is needed to do that on every build. The soundfonts are more than 3GB ... We could do an "if [ ! -d blablabla ]" ...

Also, is a problem to do it the "unpack" call after the building process? I hope no ...

Regards,

jofemodo commented 5 years ago

Regarding the copying of soundfont files ... is really needed to make a hard-copy or it would work with a soft link?

jofemodo commented 5 years ago

I'm cancelling this PR and will create a new one ...

guysoft commented 5 years ago
  1. You need a hard-copy. Otherwise it would just copy the symlink. Those are technically files too.
  2. You need to add to the instructions here where the files should be placed.