Gentoo Archives: gentoo-dev

From: Jan Krueger <jk@×××××××××××.net>
To: Gentoo-Dev <gentoo-dev@g.o>
Subject: [gentoo-dev] suggestion pkg_postinst
Date: Sun, 07 Sep 2003 16:07:18
Message-Id: 200309071812.47423.jk@microgalaxy.net
In Reply to: Re: [gentoo-dev] Some suggestions by Jan Krueger
1 As is i already mentioned in mail before i see
2 pkg_postinst and collegues as a risk that makes the sandbox of portage pretty
3 useless.
4
5 I understand that after transfering an image to the life filesystem sometimes
6 additional steps are required to make the software function well.
7
8 If this tasks are very special, this task should be triggered manually
9 (eg. via ebuild bla.ebuild config or such)
10 It should be possible to preview what task this command would execeute.
11
12 There is a variety of comman tasks that are triggered in pkg_postinst, like
13 depmod -a or so. for these common things a secure abstraction should be
14 available (an api similar to dodir and collegues).
15
16 It must not be possible to modify the life filesystem from within an ebuild.
17 (Maybe it would make sense to make this switchable, on or off.
18 On - ebuilds can modify the life filesystem - for desktops
19 Off - ebuilds can not modify the life filesystem - for those who care)
20
21 Jan
22
23
24 --
25 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] suggestion pkg_postinst Martin Schlemmer <azarah@g.o>