|
2014-02-04
, 01:03
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#392
|
|
2014-02-04
, 17:48
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#393
|
Hey, would it be unreasonable to add a "provides: less" or something along those lines to the packaging for busybox power, including all of the other utilities that busybox provides? Because I'm getting rather tired of having packages insist that they /must/ install packages that our busybox provides, for example the aforementioned less command. (Like really, why does the packaging for git insist that it needs less? And/or nano of all things? In all my life of using git, nano has never been necessary. Admittedly the latter is nothing to do with busybox, power or otherwise, I'm just lightly venting now... but that's a separate topic.)
Thanks for your PM and support. Adding the 'provides' in our packaging is a tricky issue, one I've pondered about on several occasions before.
By adding the provides, installing unnecessary dependencies for other applications could be avoided. However, most of busybox' utilities don't provide all of the functionality of their (GNU) counterparts. For example, if busybox-power would provide 'adduser' and package XYZ depends on 'adduser', package XYZ could fail because it uses some (obscure) parameter not supported by busybox' adduser. Compare the output of adduser --help and busybox adduser --help and see for yourself.
I therefore always erred on the safe side and didn't declare the provides. From a user's perspective, I think it's better to just install package XYZ's dependencies which may or may not be actually necessary when you got bb-power than to take the aforementioned risk (which the user may not be aware of) for the sake of saving some space. Besides, I know at least one user who would very vocally oppose against the idea of having 'messybox' posing to provide (GNU's) full utilities ;-).
Another option would be to generate dummy packages that just contain a provide line and depend on busybox-power (e.g. busybox-power-adduser), but I'm not really a fan of putting those in the repos. I could, however, generate those and put them up at busybox-power's garage page and link to them from our thread at TMO; they won't ever need to be updated anyway. Power users could then cherry pick those debs they are sure of will provide everything package XYZ depends on. Or the really brave could do a dpkg busybox-power-* ;-).
The Following 3 Users Say Thank You to iDont For This Useful Post: | ||
|
2014-02-04
, 20:11
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#394
|
The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
|
2014-02-08
, 05:57
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#395
|
I have no problem generating empty busybox-power-xyz packages that provide xyz and depend on busybox-power (or alternatively a single deb that provides them all). Let me know what you think about this!
The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
|
2014-02-08
, 06:12
|
Posts: 204 |
Thanked: 423 times |
Joined on Jan 2011
|
#396
|
The Following 2 Users Say Thank You to hxka For This Useful Post: | ||
|
2014-02-08
, 08:55
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#397
|
I already thought about that, but dpkg -b passes --format=gnu parameter to tar, which busybox's one doesn't know. So you have to either install gnu-tar or binutils (for ar), or package something else with shell script. The irony here.
|
2014-02-08
, 09:51
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#398
|
I already thought about that, but dpkg -b passes --format=gnu parameter to tar, which busybox's one doesn't know. So you have to either install gnu-tar or binutils (for ar), or package something else with shell script. The irony here.
The Following 4 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
|
2014-02-09
, 03:47
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#399
|
The Following 3 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
|
2014-02-09
, 21:28
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#400
|
~ $ fkdep adduser
Did not have root permissions, can't install the deb file.
You may install it manually instead, it's located at:
/tmp/fkdep-adduser/fkdep-adduser.deb
~/temp $ dpkg -x /tmp/fkdep-adduser/fkdep-adduser.deb fkdep
dpkg-deb: file `/tmp/fkdep-adduser/fkdep-adduser.deb' is corrupt - bad magic at end of first header
~/temp $ dpkg -e /tmp/fkdep-adduser/fkdep-adduser.deb fkdep
dpkg-deb: file `/tmp/fkdep-adduser/fkdep-adduser.deb' is corrupt - bad magic at end of first header
The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
A total of seven hotfixes appeared since the 1.22.0 release. These hotfixes are what's changed in busybox-power 1.22.1power1 vs the staging 1.22.0power1 release. Also see http://busybox.net/downloads/fixes-1.22.0/ and http://busybox.net/downloads/fixes-1.22.1/.
I still got issues pushing to Maemo's garage repo, so the sources (temporarily) reside at Github: https://github.com/iDont/busybox-power
Update: the updated busybox-power for Diablo has just been pushed to Diablo's repositories!
Last edited by iDont; 2014-02-02 at 11:51.