Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
replace coreutils and others with busybox?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Mon Aug 13, 2007 12:56 pm    Post subject: replace coreutils and others with busybox? Reply with quote

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
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Aug 13, 2007 1:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Mon Aug 13, 2007 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Aug 13, 2007 1:19 pm    Post subject: Reply with quote

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 :wink:
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Mon Aug 13, 2007 1:28 pm    Post subject: Reply with quote

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 :wink:


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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9635
Location: beyond the rim

PostPosted: Tue Aug 14, 2007 3:21 am    Post subject: Reply with quote

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
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Tue Aug 14, 2007 1:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Sat Aug 25, 2007 11:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum