I'll attach an updated ebuild for minit and a small patch for the makefile, so that minit won't overwrite /sbin/init of sysvinit.
Created attachment 105361 [details] sys-process/minit/minit-0.10.ebuild
Created attachment 105362 [details] Makefile patch (0.10-destdir.patch)
in portage, cheers btw you should test it ... i dont have/use dietlibc
(In reply to comment #3) > in portage, cheers Please add the patch above to the files directory, too. I'm already using minit as init on two machines. It boots a lot faster than the standard sysvinit :} (on my via c3 18sec vs. 63sec after grub)
(In reply to comment #4) > (In reply to comment #3) > > in portage, cheers > Please add the patch above to the files directory, too. Ah. I see, you're doing it in the ebuild. The minit-0.10 in portage doesn't compile. Please use the src_compile() from the ebuild above(it needs the libowfat includes). Moreover you should add "MANDIR="usr/share/man"" to the einstall in src_install(), so that the man-files aren't installed in /usr/man/
See comment #5, why i have reopened it.
i dislike hardcoding paths in ebuilds ... does liblowfat come with some config file we can query like pkgconfig ?
(In reply to comment #7) >does liblowfat come with some config file we can query like pkgconfig ? AFAIK: nope.
*** Bug 160487 has been marked as a duplicate of this bug. ***
Created attachment 106780 [details] minit-0.10 ebuild I made the changes which I proposed in comment #5. I've uploaded the updated ebuild, which works on my machines.
Here's a newer version of minit, it has now two use flags "keep_init" and "keep_shutdown", so that you can choose whether you want to delete the default init/shutdown or not. The default behaviour. There's also a new feature from upstream, so that you can set the niceness of a process.
Created attachment 126935 [details] minit-0.10-r1 -added the use flags keep_init/keep_shutdown -included cvs patch
Created attachment 126936 [details, diff] cvs patch
Created attachment 126938 [details, diff] minit-0.10-shutdown.diff Adds -r to the umount call when you use shutdown and it calls /etc/minit/halt/run before shutdown
# ChangeLog for sys-process/minit # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sys-process/minit/ChangeLog,v 1.7 2007/01/05 02:30:44 vapier Exp $ *minit-0.10 (05 Jan 2007) 05 Jan 2007; Mike Frysinger <vapier@gentoo.org> +minit-0.10.ebuild: Version bump #159936 by Frank Zschockelt.