deploy tool for SamyGO Extensions

This is general talk area for things that NOT RELATED WITH TV! Instead, about internal works like web site, forum, wiki, or talking, etc...
Post Reply

User avatar
beatfreak
SamyGO Project Donor
Posts: 548
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

deploy tool for SamyGO Extensions

Post by beatfreak » Mon Aug 21, 2017 12:15 am

idk if something like this already exists or how things are handled on tizen based tvs but i thought it might be comfortable to have some kind of installer to fire up after successful rooting

thats what i was thinking of:
SpoilerShow
Automated
SamyGo
Extensions
and
Patch
Installer

execution condition:
right after successful root, launched same way as root check script, unattended install (maybe later: interactive update/upgrade mode)

Before dev start:
decide for transfer tool (rsync, wget, git clone, svn)
check if all patches are available with corresponding init script

contents of installer package:
conf-file (desired install path, what to do if already installed, which patches/libs/apps to install, wether to reconfigure kickoff script)
download tool for each architecture
list of available [stable?] patches/libs/apps
list of supported firmwares

procedure:
>detect platform/firmware version (e.g. on C-Series "cat /dtv/info")
--> prcocessor architecture
--> name and path of usb_mount/kickoff script

>check for existing sGO extensions (only for path mentioned in kickoff script or entire firmware image)
not found: start installer
found: check for settings in conf file (abort/make folder empty then install/just overwrite everything[update]/only write files not yet existing) [for proper updating all changeme-sections of init scripts would have to be exported to seperate files that do not exist in standard install]

>check server for available SamyGo extensions depending on firmware version
no: leave note in logfile on usb drive
yes:continue

>set desired install path from settings in conf-file (default: the path where the installer was started from)
>check for free space and if writable
--> create install folder
> download extensions
> download selected patches (config free patches enabled, patches that require user settings as .init.dis)
--> leave note in lofile wich patches need to be configured in order to work

> if chosen, reconfigure kickoff script to auto launch extensions
> if chosen, immediately start extensions
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

Post Reply

Return to “General”