Thread: iLiad Registry modifications
View Single Post
Old 03-27-2008, 09:49 AM   #7
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I looked through the strings in liberregxml, but it doesn't seem like there's anything in there about adding or removing registry parts. It's mostly about updating sections of the registry and is likely called by the settings program...

However this could be useful:

Code:
root@ereader:/usr/bin# awk -f merge_registry_parts.awk 
Usage: awk -v REGISTRY_NEW=registry_new \
           -v delete_sections=sectionlist \
           -v update_sections=sectionlist \
           -v tweak_sections=sectionlist \
           -f merge_registry_parts.awk registry_old registry_template

    registry_new      = registry after update
    delete_sections   = semicolon separated list of registry sections, see more as below
    update_sections   = semicolon separated list of registry sections, see more as below
    tweak_sections    = semicolon separated list of registry sections, see more as below
    registry_old      = registry before update
    registry_template = registry template

Merge algorithm for registry sections:
    1. delete_sections sections are excluded from registry_new
    2. update_sections sections are copied from registry_template to registry_new
    3. tweak_sections sections in registry_old and registry_template are tweaked together to registry_new
    4. other sections present in registry_old are copied to registry_new
    5. other sections not present in registry_old are copied from registry_template to registry_new
I believe this script is used when updating to new firmware versions.
Adam B. is offline   Reply With Quote