[haiku-bugs] Re: [Haiku] #10041: [PM] cannot override 'system' driver (was: [PM] system unbootable after driver tweak (and /still/ unbootable after removing the offending driver ?!))

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Mon, 30 Sep 2013 20:19:12 -0000

#10041: [PM] cannot override 'system' driver
-------------------------+-----------------------------------
   Reporter:  ttcoder    |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:  - General  |    Version:  R1/Package Management
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+-----------------------------------

Comment (by ttcoder):

 Go figure:

 I've re-added the ''full'' previous contents of /boot/home, chunk by
 chunk, and the system still boots up fine. Boot timing issues are clearly
 back though. So probably it's more bermuda triangle weirdness from this
 system.

 Now to the interesting bit:

 I've even tried to re-add the '''hda''' driver build, and the system boots
 up fine, so the whole premise of the ticket lays on nothing it seems...
 '''However''', the hda driver is completely ignored.

 Only the 'stock' hda driver runs (see syslog to be attached soon). Running
 {{{pkgman search hda}}} yields no result, so obviously the drivers live in
 haiku.hpkg or something.

 It will be kinda hard for driver developers to develop drivers if they
 can't uninstall system ones and can't overrule them either by placing
 newer ones in home/config ;-)

 I'll wait a few more days for the nightlies to mature up (and maybe
 rebuild my 'custom' hda driver from source, though it ought to be binary
 compatible) before I start pinging again :-)

 @axel: used to work, that's how I worked on the hda driver, before the PM
 merge ..?! So what is the approved way of adding a driver to home/... I
 thought it was possible to add drivers in home/, even if they 'override'
 system ones ? Or do you have to delete the system one first ? (hard to do
 now that system is read-only ;-)

 @bonefish if you read this, you might want to add a "Changes for driver
 developers" in this document (if that is indeed the right place):
 [https://dev.haiku-os.org/wiki/PackageManagement/Migration] , for people
 wondering how to remove a system driver (since it seems they are now
 monolithic with the whole OS, cannot be "detached" from the rest?) and how
 to override a system driver with another version of it, in home/ or
 elsewhere.

 Or maybe I'm just missing something obvious...

--
Ticket URL: <http://dev.haiku-os.org/ticket/10041#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #10041: [PM] cannot override 'system' driver (was: [PM] system unbootable after driver tweak (and /still/ unbootable after removing the offending driver ?!)) - ttcoder