Hi Eswanran,
On Wed, Oct 25, 2017 at 4:26 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL)
<Vinothkumar.Eswaran(a)de.bosch.com> wrote:
Hello,
I need some information regarding the path in which Connman saves the information.
Connman saves the settings of each network under /var/lib/connman.
We are planning to use Over the air software update for our product. Since this
information are stored under /var/lib/ directories, these informations are lost after the
software update. Is it possible to change this directory in Connman to some other
location. We have a data partition which is not modified during the software update. It
would be helpful, if we store the connman and ofono related information in this
partition.
Any information on this topic would be useful.
I use the same setup and my rootfs is set as read only.
I suggest to create a /data/var/lib directory at runtime.
You can
- have a symbolic link from /var/lib to /data/var/lib
- do a mount --bind
- use an overlay file system
I personnally use the 3rd solution
You can look at the systemd unit which mount this folder
https://pastebin.com/raw/XyuQd5YY
Best regards,
Julien
--
*This email and any attachment thereto are confidential and intended solely
for the use of the individual or entity to whom they are addressed.If you
are not the intended recipient, please be advised that disclosing, copying,
distributing or taking any action in reliance on the contents of this email
is strictly prohibited. In such case, please immediately advise the sender,
and delete all copies and attachment from your system.This email shall not
be construed and is not tantamount to an offer, an acceptance of offer, or
an agreement by SoftBank Robotics Europe on any discussion or contractual
document whatsoever. No employee or agent is authorized to represent or
bind SoftBank Robotics Europe to third parties by email, or act on behalf
of SoftBank Robotics Europe by email, without express written confirmation
by SoftBank Robotics Europe’ duly authorized representatives.*
------------------------------
*Ce message électronique et éventuelles pièces jointes sont confidentiels,
et exclusivement destinés à la personne ou l'entité à qui ils sont
adressés.Si vous n'êtes pas le destinataire visé, vous êtes prié de ne pas
divulguer, copier, distribuer ou prendre toute décision sur la foi de ce
message électronique. Merci d'en aviser immédiatement l'expéditeur et de
supprimer toutes les copies et éventuelles pièces jointes de votre
système.Ce message électronique n'équivaut pas à une offre, à une
acceptation d’offre, ou à un accord de SoftBank Robotics Europe sur toute
discussion ou document contractuel quel qu’il soit, et ne peut être
interprété comme tel. Aucun employé ou agent de SoftBank Robotics Europe
n'est autorisé à représenter ou à engager la société par email, ou à agir
au nom et pour le compte de la société par email, sans qu’une confirmation
écrite soit donnée par le représentant légal de SoftBank Robotics Europe ou
par toute autre personne ayant reçu délégation de pouvoir appropriée.*