Gentoo Archives: gentoo-dev

From: Alex Alexander <wired@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] openrc portage news item
Date: Fri, 29 Apr 2011 17:17:34
Message-Id: 20110429171825.GA5451@lust
In Reply to: Re: [gentoo-dev] openrc portage news item by Ciaran McCreesh
1 On Fri, Apr 29, 2011 at 12:28:03PM +0100, Ciaran McCreesh wrote:
2 > On Fri, 29 Apr 2011 07:21:23 -0400
3 > Rich Freeman <rich0@g.o> wrote:
4 > > Perhaps a future/in-progress EAPI could define a mechanism where an
5 > > ebuild can indicate that a particular update or set of circumstances
6 > > is a system-critical change, and that the package manager should
7 > > consequently alert the user and ensure that they have confirmed the
8 > > action.
9 >
10 > pkg_pretend can do that...
11
12 indeed. it works quite well too. please have a look at the attached
13 patch. it forces the user to acknowledge and verify that he has read the
14 printed message by prepending a variable to the emerge command.
15
16 I know it is a bit nasty, but it accomplishes our goal by making sure
17 the users read the message.
18
19 --
20 Alex Alexander | wired
21 + Gentoo Linux Developer
22 ++ www.linuxized.com

Attachments

File name MIME type
openrc-0.8.2-r1.ebuild.require.verification.patch text/plain

Replies

Subject Author
Re: [gentoo-dev] openrc portage news item Ulrich Mueller <ulm@g.o>