Age | Commit message (Collapse) | Author | Files | Lines |
|
This build system overhaul allows for adding (define-style) macros to
our scripts. All source files are now suffixed with ".in" to clarify
that they might contain unprocessed defines. The Makefile provides a new
rule to preprocess source files and generate proper output scripts.
Also, add a "@pkgdatadir@" define (as used in GNU Autotools) and use it
instead of hardcoded paths to "/usr/share/devtools" everywhere. We
missed this when adding PREFIX support to the build system in commit
35fc83ce7d8dc26cd424321f2e8638d05da0a6d4.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
This reverts commit 9b33a29ea549e91ec0a3c4e28a333083dc7e8c2e.
This was a bad idea as bsdtar cannot read pacakges create with this locale.
|
|
|
|
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
Eases usage when chroots are shared between multiple users.
|
|
This is much faster than using Rsync to clone.
Rsync stays available when the chroots are not on a Btrfs.
|
|
This prevents accidents when chroots are shared between multiple users.
|
|
Repeatedly reusing the same chroot kept adding lines to makepkg.conf.
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
|
|
|
|
It is often useful to go back through build logs after building a
package and it is removed at the start of the next run anyway.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
This makes it possible to use e.g. install=$pkgname.install
|
|
also set some sane default options
|
|
Fixes FS#20041
|
|
|
|
|
|
Thise code was copied from makepkg
|
|
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
|
|
CARCH might be used within the PKGBUILD to select correct sources
|
|
|
|
implementes FS#18437
|
|
|
|
|
|
this fixes commit 7ce9cd696515c9baf13f2181e64c2ea8df6a4b02
|
|
|
|
working copy
|
|
|
|
Use rsync to create a (clean) working copy of the root dir instead of using aufs.
|
|
|
|
In makechrootpkg, build dirs are chowned to nobody before we move files
to "$uniondir/build". This could lead to failure If the files are
supposed to be dynamically upgraded when we run makepkg.
A common use-case is when we upgrade $pkgver in git,svn PKGBUILDS.
Signed-off-by: Nezmer <Nezmer@allurelinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This prevents problems when running with a umask that masks permissions
for others.
Signed-off-by: Byron Clark <byron@theclarkfamily.name>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This is replaced by commit marked "Use the host's SRCDEST and PKGDEST if
defined"
Noticed-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Original-by: Eric Bélanger <snowmaniscool@gmail.com>
|
|
Move this inside the split packages loop
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This patch fixed copying of packages with splitting (FS#16181)
It also adds missing quotes around chrootdir variable.
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
- Do *not* overwrite the makepkg.conf in the chroot
- Source global makepkg configs for SRCDEST and PKGDEST
Original commit 4bc819a20e4029a53d97cfa3cff164b3a497f7fe
by Evangelos Foutras <foutrelis@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Leftovers from when we used to bind-mount PKGDEST and SRCDEST
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This reverts commit 4bc819a20e4029a53d97cfa3cff164b3a497f7fe.
Temporary revert until we get this sorted out
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|