summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-27Use repos.archlinux.org everywhere instead of hostname based domains20160527Sven-Hendrik Haase5-6/+7
This makes it a lot easier to swap out the host that actually serves the repos in the future.
2016-02-07Update bundled pacman and makepkg configurationPierre Schmitz10-4/+14
2016-01-09makechrootpkg: set builduser's shell to /bin/bashEvangelos Foutras1-1/+1
Having it set to nologin breaks a couple of tests in Git and Python.
2016-01-09makechrootpkg: use /build as HOME for the builduserLevente Polyak1-1/+1
This way the HOME dir is writable and no ugly hacks are required in the PKGBUILD if $HOME is accessed (f.e. maven, gradle and also some python tests etc.)
2015-11-29Bump version to 2015112920151129Evangelos Foutras1-1/+1
2015-11-29arch-nspawn: preserve systemd-nspawn's stderrEvangelos Foutras1-1/+1
It is passed down to the container when stdin/stdout is not a tty; this is the case when archbuild's output is redirected to a pipe or file.
2015-10-02Bump version to 2015100220151002Evangelos Foutras1-1/+1
2015-10-02Sync makepkg.conf files with pacman 4.2.1-4Evangelos Foutras2-12/+10
2015-09-25Layer gnome-unstable above staging, not testingJan Alexander Steffens (heftig)1-0/+6
2015-06-06Bump version to 2015060620150606Evangelos Foutras1-1/+1
2015-06-06makechrootpkg: verify sources before preparing chrootEvangelos Foutras1-2/+2
This is needed in order to use GPG's auto-key-retrieve keyserver option, otherwise the keyring will get copied to the chroot before the required keys are retrieved during 'makepkg --verifysource'.
2015-06-06commitpkg: Force unarmored signaturesJohannes Löthberg1-1/+1
Pacman cannot handle armored signatures, so force a generation of a binary one using the --no-armor flag.
2015-05-14Prepare release20150514Pierre Schmitz1-1/+1
2015-05-14fix handling of public keyringChristian Hesse1-1/+2
Chances are that pubring.kbx has been created by gpgsm but pubring.gpg is still around with valid data. We do not know what file contains what we need, so just copy both. Signed-off-by: Christian Hesse <mail@eworm.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2015-02-28prepare 20150228 release20150228Dave Reisner1-1/+1
2015-02-28handle gnupg 2.1.x public keyringChristian Hesse1-4/+5
2015-02-15makechrootpkg: keep all function defs togetherDave Reisner1-54/+54
2014-12-24prepare 20141224 release20141224Dave Reisner1-1/+1
It's an xmas miracle!
2014-12-23makepkg-*.conf: add VCSCLIENTS definitionDave Reisner2-0/+14
Needed for makepkg 4.2
2014-10-25checkpkg: mask errors from lib-providesDave Reisner1-2/+2
bsdtar doesn't consider it an error when your --include doesn't match anything in the archive, so we're forced to dump stderr to /dev/null here. Fixes: https://bugs.archlinux.org/task/42551
2014-10-25find-libdeps: cleanup some quoting/array concernsDave Reisner1-7/+7
2014-10-24prepare release 2014102420141024Dave Reisner1-1/+1
2014-10-21makechrootpkg: treat makepkg_args as arrayDave Reisner1-8/+11
2014-10-21makechrootpkg: don't run namcap if makepkg failsDave Reisner1-1/+1
Fixes a regression introduced by 285a4e94cd, which made namcap a "compile time" option.
2014-10-20makechroot: die if we encounter an unexpected optionDave Reisner1-1/+1
2014-10-19save and reuse original argv when auto-elevatingDave Reisner4-6/+14
Fixes FS#42277.
2014-10-02checkpkg: improve soname checkingDoug Newgard1-6/+5
This makes soname checking much more robust and is explicit when a soname change is found.
2014-10-01makechrootpkg: make running namcap a "compile time" choiceDave Reisner1-14/+14
We don't need to pass _chrootbuild this information at runtime -- we can just generate the build script to do exactly what we want.
2014-10-01makechrootpkg: build as same UID as invokerDave Reisner1-9/+15
Changing UID to that of 'nobody' is arbitrary at best, and an information leak at worst. Let's just drop back to the same UID of the invoker.
2014-09-22makechrootpkg: Use the btrfs mountpoint/subvolume check consistently.Luke Shumaker1-1/+1
Commit 59e348fc3c5dd086331d884a6dd76fb43a92b7eb added a btrfs subvolume check, but only used it in create_chroot(); it missed clean_temporary().
2014-09-22mkarchroot: Correct "Usage:" text.Luke Shumaker1-1/+1
The "app" hasn't been an option since arch-nspawn was created.
2014-09-22archbuild: Fix a variable name mistake. ($copydir -> $copy)Luke Shumaker1-1/+1
It tried to lock `$copydir.lock`, which was the ONLY mention of $copydir in the entire file. Surely it meant `$copy.lock`; the line was probably originally copy/pasted from makechrootpkg or similar, where $copydir is used.
2014-09-22common: remove unreachable statementDave Reisner1-2/+1
We run from a non-interactive shell, so the exec which is inevitably called will replace the current process and 'die' will never run under any circumstances. This also fixes a bug with the su fallback which would cause multiple arguments to be concatenated without any whitespace between them.
2014-09-22makechrootpkg: use a simpler/safer expression with evalDave Reisner1-1/+1
2014-09-22arch-nspawn: Fix a grammar mistake (a/an) in an error message.Luke Shumaker1-1/+1
2014-09-22nspawn: skip machine registrationDave Reisner1-4/+1
No need to do this since we don't run an init system in the build root.
2014-09-22common.sh: propagate error through trap_exitDave Reisner1-1/+2
Fixes a breakage introduced in 6db31cc16a80442 which leads to errors being masked from makechrootpkg.
2014-05-10Prepare release20140510Pierre Schmitz1-1/+1
2014-05-10Switch to root when started as regular userSĂ©bastien Luttringer5-6/+18
In collaborative builder machine, these scripts are often allowed to become root via sudo. This patch avoid to prefix them by sudo each time or call su. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-05-10get_full_version :: remove duplicated epoch checkBlackEagle1-1/+1
Signed-off-by: BlackEagle <ike.devolder@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-05-10when cleanup is called without code exit with 0BlackEagle1-1/+1
Signed-off-by: BlackEagle <ike.devolder@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-05-10abort and die are serious errors so throw 255 outBlackEagle1-3/+3
Signed-off-by: BlackEagle <ike.devolder@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-05-10Update mtime of chroot when buildingJan Alexander Steffens (heftig)1-0/+3
Makes the chroot mtime a useful indicator of last usage. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-05-10Remove broken unknown arguments check and fix usageJoel Teichroeb1-3/+2
If getopts comes across an unknown argument, $arg it set to '?' and $OPTARG is unset. Therefore the getopts line detecting unknown arguments doesn't work. Arguments to pass to makepkg are already handled by passing all the aguments after the end-of-options marker (--), but this wasn't documented in the usage text. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-05-04Use -fstack-protector-strongAllan McRae2-4/+4
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-11-07Prepare release20131107Pierre Schmitz1-1/+1
2013-11-07FS#37656 - [devtools] add SRCPKGDEST to makechrootpkgMarkus M. May1-5/+16
Signed-off-by: Markus M. May <mmay@javafreedom.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-11-07makechrootpkg: Don't copy the logpipeJan Alexander Steffens (heftig)1-0/+1
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-11-04find_cached_package: avoid adding duplicatesDave Reisner1-2/+7
If PKGDEST is set when makepkg was run, the package will be present in find_cached_package's search path by default, causing an error. This also fixes a display bug which causes no output to be shown when multiple packages are found. Fixes FS#37626. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-11-01checkpkg: Fix usage of local mirrors20131101Pierre Schmitz1-10/+8