[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.0.6-675-gf5478d6
Roman Kyrylych
roman.kyrylych at gmail.com
Tue Dec 11 04:32:07 EST 2007
2007/12/11, Dan McGee <dan at archlinux.org>:
> commit 9558639d8009483fbf422b138d020745986f82f1
> Author: Aaron Griffin <aaronmgriffin at gmail.com>
> Date: Thu Nov 29 23:30:57 2007 -0600
>
> popen does NOT require /bin/sh in a subchroot
>
> I appears that when chrooted, the /bin/sh used by popen is that of the parent
> process. This is true until the process forks once chrooted, which we do not
> want to do.
>
> As such, this actually makes things nicer. We don't need a /bin/sh in a chroot
> to run install scriptlets, and don't need to check for it in the root directory
>
> Signed-off-by: Aaron Griffin <aaronmgriffin at gmail.com>
> Signed-off-by: Dan McGee <dan at archlinux.org>
>
> commit 565d2eeed5fdd85b516cbc76bc48be439e42c41f
> Author: Aaron Griffin <aaronmgriffin at gmail.com>
> Date: Thu Nov 29 13:58:00 2007 -0600
>
> Correct scriptlet usage pattern
>
> The new pattern is as follows:
> . /path/to/scriptlet
> post_upgrade X Y
>
> This requires less frameworking in the install scripts (the three lines that
> shift and eval a function are nasty)
>
> Signed-off-by: Aaron Griffin <aaronmgriffin at gmail.com>
> Signed-off-by: Dan McGee <dan at archlinux.org>
Wow, these commits are such a nice surprise. :-)
Great work!
--
Roman Kyrylych (Роман Кирилич)
More information about the pacman-dev
mailing list