WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: processing pkg in alphabetic order causes problems  (Read 1751 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
processing pkg in alphabetic order causes problems
« on: October 22, 2015, 06:44:26 AM »
Hi
I've connman in my base sce, but the daemon is not starting, so I changed the file name
/usr/local/tce.installed/ connman to zconnman, repacked the sce and like this it's working.
Thanks
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: processing pkg in alphabetic order causes problems
« Reply #1 on: October 22, 2015, 06:56:40 PM »
In this case, we need to find what startup script need to run first to allow connman to run it's succussfully, then add that script to connman's custom startup script.  This is the nature of a monolithic SCE as opposed to individual TCZs.  In the case of dCore, the TCZ approach was tried but as Debian has so many packages factored out, performance is much better with one SCE and we just fix cases like this as we see them.  I will help look into what need to happen, on viewing the deps it appears it is dbus that needs to be started.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: processing pkg in alphabetic order causes problems
« Reply #2 on: October 23, 2015, 04:23:18 AM »
Hi
modifying connman startup script like this:
Code: [Select]
/usr/local/tce.installed/dbus
/usr/local/postinst/connman configure
connmand starts.
Jason, Could you please make a connman.deb2sce?
Thanks
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: processing pkg in alphabetic order causes problems
« Reply #3 on: October 24, 2015, 08:55:46 AM »
Ok, done.  It should be there now.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: processing pkg in alphabetic order causes problems
« Reply #4 on: October 24, 2015, 10:47:35 AM »
Hi
the deb2sce is missing the 2nd line.
thanks
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: processing pkg in alphabetic order causes problems
« Reply #5 on: October 24, 2015, 11:02:04 AM »
That line is placed there by the import routine, it is not found in the deb2sce files on the server.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: processing pkg in alphabetic order causes problems
« Reply #6 on: October 28, 2015, 03:28:17 AM »
connmand autostarts now.
Thanks
dCore user