diff options
author | Evangelos Foutras <evangelos@foutrelis.com> | 2016-02-17 09:11:38 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-23 12:50:04 +1000 |
commit | c034a3322b2a53fce51ffce144e36361892abeac (patch) | |
tree | 0d14613dbb2f685e9cf11f8b019886e466f902cd /lib/libalpm | |
parent | a724235b6127f9655708614d1e44f9b5c661a506 (diff) |
makepkg: do not run prepare() with --noextract
This is partial revert of 8454daa7feef (makepkg: run pkgver() and
prepare() with --noextract).
Reasoning for the reversion (copied from FS#43498):
Running prepare() when --noextract is used no longer allows running
'makepkg -o && makepkg -e' with any PKGBUILD that applies patches in
prepare(). [1]
Sure there's --noprepare which restores the old behavior, but that's
a lot of extra typing for what I believe is a much more common use
of --noextract.
For OP's use case of doing git bisects, you can specify the commit
in the source array and thus skip --noextract since makepkg will
checkout the correct commit each time.
[1] I often extract the sources using 'makepkg -o', manually edit
some source files, and then use 'makepkg -e' to package it (while
possibly repeating the edit/package steps).
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions