bbito / meta-doctor

The Meta-Doctor is a Makefile which can modify a copy of the Palm webOS Doctor before it is flashed onto a webOS device. It accomplishes this by reaching into Palm's distributed Doctor JAR file and making changes to it.
http://www.webos-internals.org/wiki/Application:MetaDoctor
2 stars 0 forks source link

Allow pre-installs of ipks and patches #2

Open bbito opened 7 years ago

bbito commented 7 years ago

@Herrie82 I have gotten a little more familiar with makefile and bash scripts, but I still have no idea how to implement this feature. I found references to JayCanuck's MetaDoctorX project from years ago which was to implement these features, but he never went very far with it. I reached out to him to ask if he had anything to share and he has nothing. rwhitby used to have an AUTO_INTALL_PREWARE flag in the makefile that he removed because it "often doesn't work" See https://github.com/webos-internals/meta-doctor/commit/c257419dcb1b8082e66919774eaabd9efad33357 and https://github.com/webos-internals/meta-doctor/commit/aacb67238b8ecae87578f53b8c5c8bc23f3670b4

bbito commented 7 years ago

@Herrie82 ... Although... @rwhitby left open a possibility with commit message: "There's a better way to do it.": in that first commit I referenced

Herrie82 commented 7 years ago

@bbito Great stuff! Sorry I haven't been around much. It's been pretty hectic here last couple of weeks. Anyway I managed to talk to some of the Internals guys and got access to the Patches repo of Internals to merge stuff, same for meta-doctor :)

Herrie82 commented 7 years ago

@bbito in general the Preware install was a bit weird it was adding certificates. Installing the IPK should suffice. For patches should be straight forward, the bypass activation is also a patch file: https://github.com/bbito/meta-doctor/blob/palmsi/patches/webos-3.0.0/bypass-activation.patch.

Adding additional patches to the repo and including them in the Makefile with new flags shouldn't be hard really.

I'm trying to get latest LuneOS release out of the door then I should have some time to look into this hopefully.

bbito commented 7 years ago

Hi @Herrie82 , Thanks for replying! I check-in on the webos-ports irc log fairly often, so I saw lots of activity and I didn't want to bug you too much, just wanted to let you know I've been trying, but hit a wall... I look forward to your help when time becomes available.