[pacman-dev] [PATCH 2/3] libalpm/trans.c : remove the DBPath <-> RootDir dependence in runscriptlet.
14 Oct
2007
14 Oct
'07
9:32 a.m.
This code assumed that DBPath was under RootDir, while this is not necessarily the case : pacman doesn't enforce anymore than DBPath is under RootDir. So now, all scriptlets will be put somewhere in RootDir/tmp/, so that when it chroots in RootDir, the scriptlets are still available inside the chroot. This also removes the need of normalizing both dbpath and rootdir, in order to do computation on the paths. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> --- lib/libalpm/trans.c | 36 +++++++++++++++++++++--------------- 1 files changed, 21 insertions(+), 15 deletions(-)
6237
Age (days ago)
6237
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chantry Xavier