View previous topic :: View next topic |
Author |
Message |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Mon Aug 13, 2007 12:56 pm Post subject: replace coreutils and others with busybox? |
|
|
Hi,
is it possible on a (KDE) desktop to replace coreutils, sed and others with busybox? It is installed anyway - and I really don't need the more arcane options of sed or hdparm.
My biggest concern, does the gentoo init-files work with busybox? And portage? Or does portage need functionality busybox does not include? _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
 |
mark_alec Bodhisattva


Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Mon Aug 13, 2007 1:03 pm Post subject: |
|
|
Code: | mark@tyrone ~ $ equery depends coreutils
[ Searching for packages depending on coreutils... ]
app-admin/eselect-1.0.10 (sys-apps/coreutils)
sys-apps/baselayout-2.0.0_rc2-r1 (!build & !bootstrap & kernel_linux? >=sys-apps/coreutils-5.2.1)
sys-apps/portage-2.1.3.5 (userland_GNU? >=sys-apps/coreutils-6.4) | Don't think you will have much luck in removing coreutils. Baselayout2 should be able to boot with busybox as its shell, but that doesn't mean you can remove coreutils from your computer. _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
 |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Mon Aug 13, 2007 1:16 pm Post subject: |
|
|
Hm, I should be able to work around the depends with package.provided?
My question is not so much 'what depends on coreutils because ebuild says so' but 'what depends on coreutils/sed/awk/... that would totally break with busybox'? _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
 |
mark_alec Bodhisattva


Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Mon Aug 13, 2007 1:19 pm Post subject: |
|
|
You are welcome to test out if portage lives without coreutils, but better try it in a chroot so you don't break your system  _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
 |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Mon Aug 13, 2007 1:28 pm Post subject: |
|
|
mark_alec wrote: | You are welcome to test out if portage lives without coreutils, but better try it in a chroot so you don't break your system  |
yeah, I think I wait for the weekend and have a nice ,complete rescue-cd in the drive - just in case  _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9635 Location: beyond the rim
|
Posted: Tue Aug 14, 2007 3:21 am Post subject: |
|
|
I won't rule it out completely that a system may work witout coreutils, but I'd consider it very unlikely that busybox implements all features used by portage, ebuilds and other regular system apps. |
|
Back to top |
|
 |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Tue Aug 14, 2007 1:30 pm Post subject: |
|
|
Genone wrote: | I won't rule it out completely that a system may work witout coreutils, but I'd consider it very unlikely that busybox implements all features used by portage, ebuilds and other regular system apps. |
yeah, that is what I am afraid of. I will quickpkg everything important and have a rescue-cd ready - just in case. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
 |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sat Aug 25, 2007 11:46 pm Post subject: |
|
|
well, I moved almost everything in from /bin into a backup dir and created symlinks to busybox.
I mounted and umounted a cdrom, emerged mbuffer, so far so good.
On reboot:
complaint about unknown options with ps, mount and sleept.
hung at alsasound and smartd
I moved everything back
... _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
 |
|