-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
Had to revert latest patch, 055909f4a7b27 "Update autobuild script to create new targets" in order to be able to install the homescreen service, manually. The last patch will generate incorrect homescreen config.xml and configuration layout. Upon installing I see an error related to incorrect id chars.
Still unsure how exactly this works when the image it self built (using agl-demo-platform for instance).
Here's how it looks without this patch:
unzip -l oe-workdir/image/usr/AGL/apps/autoinstall/homescreen-service.wgt Archive: oe-workdir/image/usr/AGL/apps/autoinstall/homescreen-service.wgt Length Date Time Name --------- ---------- ----- ---- 1273 2020-04-26 17:27 config.xml 11665 2020-04-26 17:27 icon.svg 0 2020-04-26 17:27 lib/ 1778440 2020-04-26 17:27 lib/homescreen-service.so --------- ------- 1791378 4 files
config.xml
cat config.xml <?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" id="homescreen-service" version="0.1"> <name>homescreen-service</name> <icon src="icon.svg"/> <content src="config.xml" type="application/vnd.agl.service"/> <description>HomeScreen Binding service</description> <author>TOYOTA</author> <license>APL 2.0</license> <feature name="urn:AGL:widget:required-permission"> <param name="urn:AGL:permission::public:hidden" value="required" /> <param name="urn:AGL:permission::system:run-by-default" value="required" /> <param name="http://tizen.org/privilege/internal/dbus" value="required" /> <param name="urn:AGL:permission:afm:system:widget" value="required" /> <param name="urn:AGL:permission:afm:system:runner" value="required" /> <param name="urn:AGL:permission:afm:system:widget:start" value="required" /> </feature> <feature name="urn:AGL:widget:provided-api"> <param name="homescreen" value="ws" /> </feature> <feature name="urn:AGL:widget:required-api"> <param name="afm-main" value="ws" /> <param name="windowmanager" value="ws" /> </feature> <feature name="urn:AGL:widget:required-binding"> <param name="lib/homescreen-service.so" value="local" /> </feature> </widget>
But with that patch in:
There's no "homescreen-service.wgt" but only "homescreen service.wgt" notice the missing "hypen"
unzip -l "oe-workdir/image/usr/AGL/apps/autoinstall/homescreen service.wgt" Archive: oe-workdir/image/usr/AGL/apps/autoinstall/homescreen service.wgt Length Date Time Name --------- ---------- ----- ---- 0 2020-04-27 08:20 htdocs/ 0 2020-04-27 08:20 bin/ 0 2020-04-27 08:20 root/ 11665 2020-04-27 08:20 root/icon.svg 0 2020-04-27 08:20 root/lib/ 1782504 2020-04-27 08:20 root/lib/homescreen-service.so 1273 2020-04-27 08:20 root/config.xml 0 2020-04-27 08:20 etc/ 10651 2020-04-27 08:20 icon.png 0 2020-04-27 08:20 var/ 0 2020-04-27 08:20 lib/ 372 2020-04-27 08:20 config.xml --------- ------- 1806465 12 files
The config.xml now displays:
cat config.xml <?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" id="HomeScreen Service" version="1.0-055909f-dirty"> <name>HomeScreen Service</name> <icon src="icon.png"/> <content src="EntryPoint_Path_Not_Set" type="MimeType_Not_Set"/> <description>HomeScreen Service</description> <author> <></author> <license></license> </widget>
The correct now is now in the root directory (see the package).
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
24574,2 | Fix CMake files and non-debug crashes | master | apps/agl-service-homescreen | Status: MERGED | +2 | +1 |
24676,2 | agl-service-homescreen: use AGL_APP_REVISION as SRCREV | master | AGL/meta-agl | Status: MERGED | +2 | +1 |
24776,2 | afb-test: use AGL_APP_REVISION as SRCREV | master | AGL/meta-agl | Status: MERGED | +2 | +1 |