Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#9196 - makechrootpkg: don't clear build dir at the end
Attached to Project:
Pacman
Opened by Jaroslaw Swierczynski (swiergot) - Sunday, 13 January 2008, 16:25 GMT
Last edited by Dan McGee (toofishes) - Friday, 08 February 2008, 05:52 GMT
Opened by Jaroslaw Swierczynski (swiergot) - Sunday, 13 January 2008, 16:25 GMT
Last edited by Dan McGee (toofishes) - Friday, 08 February 2008, 05:52 GMT
|
DetailsIMHO it's not a good idea to clear the build directory just before exit, even if the build succeeded. Clearing it makes -R option of makepkg virtually useless. Attached is a patch that makes the behavior of makechrootpkg better.
|
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 08 February 2008, 05:52 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in devtools 0.5, although we are going to need a 0.5.1 release soon for a small bug Simo found.
Friday, 08 February 2008, 05:52 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in devtools 0.5, although we are going to need a 0.5.1 release soon for a small bug Simo found.
makechrootpkg-builddir.patch
Look ok?
rm -rf "$uniondir/build/*"
will not work. It's like:
$ ls "/tmp/*"
ls: cannot access /tmp/*: No such file or directory
I intentionally wrote:
"$uniondir/build/"*
Note the asterisk _after_ the double quote.