Thread
:
[Announce] Enhanced BusyBox package
View Single Post
iDont
2012-10-17 , 21:31
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#
311
Alright, who wants to test busybox-power for Harmattan?
You'll need to incept the deb, or install it with AEGIS_FIXED_ORIGIN=com.nokia.maemo if you're running Open Mode*. I previously
said
this wouldn't be necessary, but although I did got it working that way, I learned that busybox-power will be a lot less cleaner and less user friendly if we go that route.
Busybox-power for Harmattan has two dependencies not found in busybox-power for Fremantle: aegisctl and meego-confirm-text.
Aegisctl is used to temporarily disable the source origin check for binaries during the period between (un)installing busybox-power and a reboot**. We could do away with this dependency by reloading Harmattan's refhashlist after (un)installation (which we do ayway), but then there would be a very brief period in which /bin/busybox would be inaccessible (!). As brief as this period is, I can't guarantee that no script on the entire device will try to access /bin/busybox in that period, hence the dependency.
Meego-confirm-text is a small (~20KiB) QML/C++ application I made to provide a maemo-confirm-text implementation for Harmattan. It is used to display the warning you'll have to agree with during the first busybox-power installation and displaying encountered issues during uninstallation, just like on Fremantle. This application might be useful for other packages or scripts as well (for displaying Licence agreements or warnings).
Please go forth and test this testing release. I've tried the most obscure (un)install situations I could think of and did not encounter any issues, so I have good faith in the current (un)install framework. Furthermore, since Harmattan ships with a pretty recent BusyBox version, little problems should arise from using busybox-power (I have yet to encounter any
). If you do find a regression however, don't hesitate to let me know!
Obligatory warning:
Prepare for the worst, backup your important data
. Download links:
Meego-confirm-text:
https://garage.maemo.org/frs/downloa....0.1_armel.deb
Aegisctl:
http://talk.maemo.org/showthread.php?t=82991
Busybox-power for Harmattan (needs to be incepted):
https://garage.maemo.org/frs/downloa...tan0_armel.deb
On other news: I've integrated dpkg-divert in busybox-power for Fremantle. I was previously unaware of this nifty little utility (I don't run a Debian-based OS on my laptop), hence it was not used before. By creating a diversion for /bin/busybox, future BusyBox updates (e.g. by CSSU) won't overwrite our binary.
Unfortunately Nokia has disallowed diversions on Harmattan, so we can't use them there.
All changes made to busybox-power, as well as meego-confirm-text's source, will be pushed shortly to busybox-power's garage page.
* I have not tested busybox-power in Open Mode yet, but I can't think of any issues that would arise. Please hold off installing the deb for a while until I've tested it myself if you want verification. I'll have to read up on entering Open Mode first though
.
** I do have some code ready to re-enable the check accordingly to its previous state, but I'm not sure it'll work in Open Mode and is therefore not included yet. I plan to include this feature as soon as my device gets into Open Mode. Until then, it is best to reboot your device after (un)installing busybox-power for maximum security.
Edit: heh, forgot that this topic is posted in the "Maemo 5 / Fremantle" subforum. Well, I suppose that this thread will need to be moved to "Applications" once busybox-power for Harmattan sees its final release.
Last edited by iDont; 2012-10-17 at
21:40
.
Quote & Reply
|
The Following 7 Users Say Thank You to iDont For This Useful Post:
don_falcone
,
Estel
,
Hurrian
,
hxka
,
ivgalvez
,
peterleinchen
,
TMavica
iDont
View Public Profile
Send a private message to iDont
Find all posts by iDont