Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Linux application update with manual offline distribution

Linux application update with manual offline distribution

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 442 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    justdad
    wrote on last edited by
    #1

    I am working with a customer who needs to send updates to customers via a flash or a zip file. The raspberry Linux box will not be connected to the internet or any network so we will need to do the update from a flash drive.

    Will the simplest method be to just write a script that the customer can execute from the execution directory that will go poll the flash drive for an update and then copy the data over and over write the current execution directory (after doing version checks, etc)?

    I am trying to make this as simple as possible but also reliable.

    Ken

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Beside your application, do you have any control on the target device content ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Beside your application, do you have any control on the target device content ?

        J Offline
        J Offline
        justdad
        wrote on last edited by
        #3

        @SGaist Yes. I am updating the SW so I can make changes or add content.

        Ken

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          There might be several options:

          • Use udev to trigger a helper script that will mount the usb drive when plugged, check the content of the drive and apply the update.

          • Have an update mode in your main application that will trigger the update.

          Does the update require a reboot of the system ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved