2007/12/11, Dan McGee <dan@archlinux.org>:
commit 9558639d8009483fbf422b138d020745986f82f1 Author: Aaron Griffin <aaronmgriffin@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@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
commit 565d2eeed5fdd85b516cbc76bc48be439e42c41f Author: Aaron Griffin <aaronmgriffin@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@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Wow, these commits are such a nice surprise. :-) Great work! -- Roman Kyrylych (Роман Кирилич)