View Single Post
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#12
Originally Posted by iDont View Post
Unfortunately, the source of the metapackage, mp-fremantle-generic-pr, is not available.
I'm not talkibng about replacing the mentioned metapackage, but creating a new one which offers the name (busybox) and the needed version string and simply depends on your package name (busybox-abcd) and probably a version string. So there would be three packages in the end:
  • the original metapackage which depends on old busybox
  • your metapackage which "provides" old busybox and
  • your updated busybox package
.... However, not everybody has got the CSSU installed, so this is no option (or I have to make this updated BusyBox depend on the CSSU).
Please don't depend on CSSU! I'm one of the mentioned users who don't have it activated (yet). So it would be a pitty if such a great package would force me to do it now.

The problem with this is that only one BusyBox binary can be installed (as there is just one /bin/busybox). I either have to make my package available as an alternative shell (which invalidates the whole 'replacement' thing), or the packages would overwrite each other their binaries.
You're right with that filename. but you could backup the old busybox and replace it with your new one. In case of uninstallation you could simply restore the old one again. It could be tricky to step in when original busybox should get updated but using a checksum of backed up binary and own binary and comparing it to actual binary in case of uninstallation should suffice.
 

The Following User Says Thank You to x-lette For This Useful Post: