summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-17Merge branch 'archlinux'libretools-20150526Luke Shumaker
2015-05-14Prepare release20150514Pierre Schmitz
2015-05-14fix handling of public keyringChristian Hesse
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-04-13Merge branch 'archlinux'Luke Shumaker
2015-02-28prepare 20150228 release20150228Dave Reisner
2015-02-28handle gnupg 2.1.x public keyringChristian Hesse
2015-02-15makechrootpkg: keep all function defs togetherDave Reisner
2015-01-01Merge branch 'archlinux'libretools-20150104Luke Shumaker
2014-12-24prepare 20141224 release20141224Dave Reisner
It's an xmas miracle!
2014-12-23makepkg-*.conf: add VCSCLIENTS definitionDave Reisner
Needed for makepkg 4.2
2014-11-05Merge branch 'archlinux'libretools-20141128Luke Shumaker
Conflicts: arch-nspawn.in archbuild.in makechrootpkg.in
2014-10-25checkpkg: mask errors from lib-providesDave Reisner
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 Reisner
2014-10-24prepare release 2014102420141024Dave Reisner
2014-10-20makechrootpkg: treat makepkg_args as arrayDave Reisner
2014-10-20makechrootpkg: don't run namcap if makepkg failsDave Reisner
Fixes a regression introduced by 285a4e94cd, which made namcap a "compile time" option.
2014-10-19makechroot: die if we encounter an unexpected optionDave Reisner
2014-10-19save and reuse original argv when auto-elevatingDave Reisner
Fixes FS#42277.
2014-10-01checkpkg: improve soname checkingDoug Newgard
This makes soname checking much more robust and is explicit when a soname change is found.
2014-09-30makechrootpkg: make running namcap a "compile time" choiceDave Reisner
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-09-30makechrootpkg: build as same UID as invokerDave Reisner
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 Shumaker
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 Shumaker
The "app" hasn't been an option since arch-nspawn was created.
2014-09-22archbuild: Fix a variable name mistake. ($copydir -> $copy)Luke Shumaker
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 Reisner
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 Reisner
2014-09-22arch-nspawn: Fix a grammar mistake (a/an) in an error message.Luke Shumaker
2014-09-22nspawn: skip machine registrationDave Reisner
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 Reisner
Fixes a breakage introduced in 6db31cc16a80442 which leads to errors being masked from makechrootpkg.
2014-07-05commitpkg: Use printf-formatterslibretools-testing-20140726libretools-20141001Luke Shumaker
Also, the quoting on one line confused xgettext.
2014-05-15arch-nspawn: use getconf to find HOST_NAME_MAX at runtime.libretools-20140515Luke Shumaker
This is at the suggestion of Roman Neuhauser, who emailed Dave Reisner and me.
2014-05-11Add changes discussed with Dave Reisner on the arch-projects list.libretools-20140511Luke Shumaker
- Simplify the commented out call to find HOST_NAME_MAX - Use `systemd-nspawn -q` instead of 2>/dev/null - Use Bash 4.1's new {var}>&- syntax in lock_close()
2014-05-10Tidy up.Luke Shumaker
2014-05-10arch-nspawn: go back to hiding stderrLuke Shumaker
2014-05-10lib/common.sh: Use `[[ a -ef b ]]` instead of double calls to `readlink -f`Luke Shumaker
2014-05-10Merge remote-tracking branch 'arch/master'Luke Shumaker
Conflicts: lib/common.sh makechrootpkg.in
2014-05-10Prepare release20140510Pierre Schmitz
2014-05-10Switch to root when started as regular userSébastien Luttringer
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 checkBlackEagle
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 0BlackEagle
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 outBlackEagle
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)
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 Teichroeb
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 McRae
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-01-05makechrootpkg: fix the btrfs check in both placeslibretools-20140106Luke Shumaker
Upstream only fiex it in one place.
2014-01-04Merge branch 'devtools'Luke Shumaker
Conflicts: checkpkg.in lib/common.sh makechrootpkg.in
2013-11-07Prepare release20131107Pierre Schmitz
2013-11-07FS#37656 - [devtools] add SRCPKGDEST to makechrootpkgMarkus M. May
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)
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-11-04find_cached_package: avoid adding duplicatesDave Reisner
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>