Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159936 - sys-process/minit-0.10 version bump
Summary: sys-process/minit-0.10 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://fefe.de/minit/
Whiteboard:
Keywords:
: 160487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-04 03:25 UTC by Frank Zschockelt
Modified: 2009-05-21 22:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-process/minit/minit-0.10.ebuild (minit-0.10.ebuild,744 bytes, text/plain)
2007-01-04 03:29 UTC, Frank Zschockelt
Details
Makefile patch (0.10-destdir.patch) (0.10-destdir.patch,599 bytes, text/plain)
2007-01-04 03:30 UTC, Frank Zschockelt
Details
minit-0.10 ebuild (minit-0.10.ebuild,747 bytes, text/plain)
2007-01-13 10:56 UTC, Frank Zschockelt
Details
minit-0.10-r1 (minit-0.10-r1.ebuild,946 bytes, text/plain)
2007-08-05 12:09 UTC, Frank Zschockelt
Details
cvs patch (minit-0.10-cvs-20070805.diff,3.01 KB, patch)
2007-08-05 12:10 UTC, Frank Zschockelt
Details | Diff
minit-0.10-shutdown.diff (minit-0.10-shutdown.diff,670 bytes, patch)
2007-08-05 12:11 UTC, Frank Zschockelt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Zschockelt 2007-01-04 03:25:57 UTC
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.
Comment 1 Frank Zschockelt 2007-01-04 03:29:41 UTC
Created attachment 105361 [details]
sys-process/minit/minit-0.10.ebuild
Comment 2 Frank Zschockelt 2007-01-04 03:30:32 UTC
Created attachment 105362 [details]
Makefile patch (0.10-destdir.patch)
Comment 3 SpanKY gentoo-dev 2007-01-04 18:30:46 UTC
in portage, cheers

btw you should test it ... i dont have/use dietlibc
Comment 4 Frank Zschockelt 2007-01-05 04:46:07 UTC
(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)
Comment 5 Frank Zschockelt 2007-01-05 05:00:05 UTC
(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/
Comment 6 Frank Zschockelt 2007-01-05 07:49:54 UTC
See comment #5, why i have reopened it.
Comment 7 SpanKY gentoo-dev 2007-01-05 17:14:50 UTC
i dislike hardcoding paths in ebuilds ... does liblowfat come with some config file we can query like pkgconfig ?
Comment 8 Frank Zschockelt 2007-01-06 10:13:49 UTC
(In reply to comment #7)
>does liblowfat come with some config file we can query like pkgconfig ?

AFAIK: nope. 

Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-01-06 16:15:09 UTC
*** Bug 160487 has been marked as a duplicate of this bug. ***
Comment 10 Frank Zschockelt 2007-01-13 10:56:41 UTC
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.
Comment 11 Frank Zschockelt 2007-08-05 12:08:28 UTC
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.
Comment 12 Frank Zschockelt 2007-08-05 12:09:50 UTC
Created attachment 126935 [details]
minit-0.10-r1

-added the use flags keep_init/keep_shutdown
-included cvs patch
Comment 13 Frank Zschockelt 2007-08-05 12:10:24 UTC
Created attachment 126936 [details, diff]
cvs patch
Comment 14 Frank Zschockelt 2007-08-05 12:11:35 UTC
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
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-21 22:39:57 UTC
# 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.