GNOME Bugzilla – Bug 746679
Its not possible to programatically set the serial number
Last modified: 2015-04-05 10:20:12 UTC
Created attachment 300190 [details] [review] Patch adding a setter for the serial number The attached patch adds a setter for the serial number.
Is there a use-case for doing this programmatically instead of modifying the deployed device template? Does the serial number change during the life-time of the device?
In the case I'm working at the serial number is stored far away from the file system. During production the units will all have the same file system. During start of rygel the serial is read from the storage location and the xml is modified and put in a R/W area. The .xml needs to be updated multiple time during the device lifetime since the template might change during a firmware update. Another program could be written to update the .xml, but that overhead is quite big compared to add in this setter. ...and there are setters for other tags already like modelNumber and modelDescription, so of symmetry reasons this could be nice too ;)