TheKikGen / MPC-LiveXplore

Akai MPC Live/X/Force/One technical explorations and hacks
220 stars 25 forks source link

Create build script to make custom img from original img #23

Open egandro opened 2 years ago

egandro commented 2 years ago

I have suggestion.

Can we add a shell script (for nerds!) to create the custom firmware from the original img?

Do you have such a builder somewhere in your project?

TheKikGen commented 2 years ago

I have this script on my Linux dev platform, not in the github, and it was more made on a table corner than to produce modified images in an industrial way !

You have summarized the steps quite well:

egandro commented 2 years ago

That is cool!

egandro commented 2 years ago

Btw. Yesterday I found out how to run a arm32/aarm64 Dockerfile on x86_64.

You have to install qemu and do some simple stuff (2 lines of code).

We can make a cross compiler plattform here.

The steps you explain here with copy stuff can be done without mounting.

It would be awesome to have a non binary distribution system (for nerds).

I am trying to hack something up, as soon as I can diff the 2.10.0 orig and your image :)

TheKikGen commented 2 years ago

I will post the diff for you ...

egandro commented 2 years ago

Here my diff so far.

find . -type f -print0 | sort -z | xargs -r0 sha256sum in vanilla + your stuff and a diff to that

diffs.txt

Is it possible for you to create two zip files and put it here in the repo?

Arp Patterns and FX Racks

(just keep the directory structure)

If this is not possible (because of copyright issues - please let me know and we will find a solution for that)

egandro commented 2 years ago

Sorry - maybe the question was stupid :)

Are that the files from here? https://github.com/TheKikGen/MPC-LiveXplore/tree/master/assets

egandro commented 2 years ago

We also need to kill / replace this file ... and/or a builder option to set your own ssh file or your own root password.

/root/.ssh/authorized_keys

egandro commented 2 years ago

My pull request is ready for review: https://github.com/TheKikGen/MPC-LiveXplore/pull/29

egandro commented 2 years ago

It needs more testing / flashing.