AsteroidOS / meta-smartwatch

OpenEmbedded layer that provides support for various smartwatches.
25 stars 18 forks source link

Make a system specific /system directory build #38

Open R0NAM1 opened 2 years ago

R0NAM1 commented 2 years ago

Right now Skipjack uses a generic System Directory, while this seems to be working fine for now, eventually I would like to make it system specific, especially as I already have the stock partition dumps.

R0NAM1 commented 2 years ago

After copying how swift does it's system builds (Excluding the retrieving of a compatible WearOS) a system dir has been sucessfully build, will test when conventient (Motivation: Getting bluetooth working and needing certain binaries and libraries)

R0NAM1 commented 2 years ago

After a long battle with bitbake preferring it's cached tars over the ones I wanted it to actually use, I took a system build specifically for bluetooth as of now (AKA, originally for sawfish, but with skipjack stuff added / replacing sawfish stuff) It does work perfect, and bluetooth even works now, keeping this open though as I would like to get a more non-iterative build finalized so that everything is already in the tar for the future.

R0NAM1 commented 2 years ago

Got a tar made that's just the system and vendor dir from skipjack, seems to be working perfectly, and shouldn't need any maintenance, (It is 355 Mb however, which is large, but I did not trim anything down, which might be the next step, I'll look at what the guides say)

R0NAM1 commented 2 years ago

Running rm -rf app/ fonts/ framework/ media/ priv-app/ xbin/ brings it down to 110.9 Mb, which is what I was expecting, with that, I'll figure out somewhere to upload this, then this can be closed!

For future reference, Skipjack-System.tar.gz's hash's: MD5: 8a6b2cbc86b2d388328562340d80b82f SHA256: 133ccc317254f2771677c31166cb2ac76f3af84df3ab4c7bb2f250783480eee8

R0NAM1 commented 2 years ago

Got another working one that actually future proofs, taking the base system extract and overwriting it with the working bluetooth dump, hash's are: MD5: 61756e5e971eb0d3a8d925f4eb9230da SHA256: d458178a2909077a107b93d7e589d6ba336958e2953f779ea7b7e7f722055177

R0NAM1 commented 2 years ago

Sensor System Changes at AsteroidOS/meta-smartwatch#39 Sensors-Skipjack.tar.gz: MD5: 5be9e5a44de5ae229f3af131810c0578 SHA256: a0437c7313e0c7e1a1839567b5b21c420fe5c496422f65b38cccc18c81020b8c

R0NAM1 commented 2 years ago

WiFi System Changes at AsteroidOS/meta-smartwatch#42 WiFi-Skipjack.tar.gz: MD5: d28a0dce537f996ce475ff729b4ee74d SHA256: f5253b286c90f94a23158290c1df8cc9a9a8962148a0249cd7314a3762b89e8a