public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] Local post_install script
@ 2003-12-08 10:14 Yannick Le Saint (kyncani)
  0 siblings, 0 replies; only message in thread
From: Yannick Le Saint (kyncani) @ 2003-12-08 10:14 UTC (permalink / raw
  To: gentoo-portage-dev


 What about having local post_install scripts (something like debian
hooks, if i remember well) ?

 For example, it would be sooo cool to have a
/etc/portage/portage.d/sys-kernel/vanilla-sources/post_install file of
my own which would have access of every variable you can have in an
ebuild.

 This is how my post_install script for vanilla-sources would look like
:

 cd /usr/src || die
 rm -f linux &>/dev/null
 ln -s linux-$KV linux || die
 cp -f /etc/kernels/myconfig /etc/kernels/config-$KV || die
 nice -n 20 genkernel || die



--
gentoo-portage-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-08 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-08 10:14 [gentoo-portage-dev] Local post_install script Yannick Le Saint (kyncani)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox