index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-15 | lib/common.sh: Make it safe to include multiple times. | Luke Shumaker | |
This is similar to common C #ifdef guards. I was tempted to wrap the entire thing in the if/fi (rather than use 'return' to bail early. However, that means it won't execute anything until after it reaches 'fi'. And if `shopt -s extglob` isn't executed before parsing, then it will syntax-error on the extended globs. One solution would have been to move `shopt -s extglob` up above the include-guard. But the committed solution is all-around simpler. | |||
2017-02-15 | Add a "License:" tag to all code files. | Luke Shumaker | |
2017-02-15 | Apply patches from libretools. | Luke Shumaker | |
2017-02-06 | lib/common.sh: Make setup_workdir()/cleanup() safe for programs to not use | Luke Shumaker | |
2017-02-06 | lib/common.sh: lock, slock: Create directories for locks if necessary. | Luke Shumaker | |
2017-02-06 | lib/common.sh: lock, slock: Allow locks to be inherited. | Luke Shumaker | |
Allow for locks to be inherited. Inheriting the lock is something that mkarchroot could do previously, but has since lost the ability to do. This allows for the programs to be more compos-able. Do this by instead of unconditionally opening $file on $fd, first check if $file is already open on $fd; and go ahead use it if it is. The naive way of doing this would be to `$(readlink /dev/fd/$fd)` and compare that to `$file`. However, if `$file` is itself a symlink; or there is a symlink somewhere in the path to `$file`, then this could easily fail. Instead, check `[[ "/dev/fd/$fd" -ef "$file" ]]`. Even though the Bash documentation (`help test`) says that `-ef` checks for if the two files are hard links to eachother, because it uses stat(3) (which resolves symlinks) to do this check, it also works with the /dev/fd/ soft links. | |||
2017-02-06 | lib/common.sh: add 'lock_close'; use it as appropriate. | Luke Shumaker | |
`lock_close FD` is easier to remember than 'exec FD>&-`; and is especially easier if FD is a variable (though that isn't actually taken advantage of here). This uses Bash 4.1+ `exec {var}>&-`, rather than the clunkier `eval exec "$var>&-"` that was necessary in older versions of Bash. Thanks to Dave Reisner for pointing this new bit of syntax out to me the last time I submitted this (back in 2014, 4.1 had just come out). | |||
2017-01-29 | makechrootpkg: Be recursive when deleting subvolumes. | Luke Shumaker | |
This fixes https://labs.parabola.nu/issues/1201 | |||
2016-10-08 | makechrootpkg: Reset environment for builduser | Jan Alexander Steffens (heftig) | |
The gnustep-base package ships a profile.d script that adds "$HOME/GNUstep/Tools" to the PATH, which breaks when the user changes and causes meson to exit with a "permission denied" error. | |||
2016-06-13 | makechrootpkg: Shorten user-config loading code | Jan Alexander Steffens (heftig) | |
Make use of load_vars returning 1 when the file is missing. Avoids introducing another variable. | |||
2016-06-13 | makechrootpkg: Use XDG_CONFIG_HOME for makepkg.conf | Johannes Löthberg | |
Implemented the same way as in makepkg. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> | |||
2016-06-09 | Merge tag '20160527.1'libretools-20160609 | Luke Shumaker | |
2016-05-28 | Version 2016052820160528 | Jan Alexander Steffens (heftig) | |
2016-05-28 | arch-nspawn: Work around pacman master returning file-URLs from the cache | Jan Alexander Steffens (heftig) | |
2016-05-28 | makechrootpkg: Install packages in one step | Jan Alexander Steffens (heftig) | |
Avoids having to specify them in dependency order. | |||
2016-05-28 | makechrootpkg: Simplify chroot preparation (v2) | Jan Alexander Steffens (heftig) | |
Copy both UID and primary GID of the invoker to the builduser. Mount srcdest and startdir read-write. v2: Fixed GnuPG keyring owner and moved running namcap from a heredoc to a function. | |||
2016-05-28 | Merge branch 'master' of git.archlinux.org:/srv/git/devtools | Pierre Schmitz | |
2016-05-27 | This is 20160527.120160527.1 | Sven-Hendrik Haase | |
2016-05-27 | mkarchroot: Manually generate machine-id because nspawn expects it | Sven-Hendrik Haase | |
2016-05-27 | Makefile: change version to 20160527 | Sven-Hendrik Haase | |
2016-05-27 | Use repos.archlinux.org everywhere instead of hostname based domains20160527 | Sven-Hendrik Haase | |
This makes it a lot easier to swap out the host that actually serves the repos in the future. | |||
2016-05-11 | arch-nspawn: add a table of CARCH/setarch overrides (just armv7h->armv7llibretools-20160511 | Luke Shumaker | |
for now) | |||
2016-05-11 | Revert "remove setarch for non-i686 to support qemu-static" since Libretools ↵ | André Fabian Silva Delgado | |
arch-nspawn has the `-s` flag to turn off setarch This reverts commit c3819bb4224622c6d10ab7a3511472f314e026ba. | |||
2016-05-10 | remove setarch for non-i686 to support qemu-static | coadde [Márcio Alexandre Silva Delgado] | |
2016-05-09 | arch-nspawn: two spaces after a periodlibretools-20160510 | Luke Shumaker | |
2016-05-07 | Set target vendor to pc for usge with gcc 6 | Pierre Schmitz | |
2016-02-07 | Update bundled pacman and makepkg configuration | Pierre Schmitz | |
2016-02-04 | Merge tag '20151129'libretools-20160208 | Luke Shumaker | |
tag 20151129 | |||
2016-01-09 | makechrootpkg: set builduser's shell to /bin/bash | Evangelos Foutras | |
Having it set to nologin breaks a couple of tests in Git and Python. | |||
2016-01-09 | makechrootpkg: use /build as HOME for the builduser | Levente Polyak | |
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-29 | Bump version to 2015112920151129 | Evangelos Foutras | |
2015-11-29 | arch-nspawn: preserve systemd-nspawn's stderr | Evangelos Foutras | |
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-02 | Bump version to 2015100220151002 | Evangelos Foutras | |
2015-10-02 | Sync makepkg.conf files with pacman 4.2.1-4 | Evangelos Foutras | |
2015-09-25 | Layer gnome-unstable above staging, not testing | Jan Alexander Steffens (heftig) | |
2015-06-06 | Reverse the previous commit--passing in makepkg_args as args is better.libretools-20150607 | Luke Shumaker | |
2015-06-06 | makechrootpkg: remove extra arguments to /chrootbuild | Luke Shumaker | |
They have been part of the file itself via %q for a while. | |||
2015-06-06 | Merge branch 'archlinux' | Luke Shumaker | |
2015-06-06 | Bump version to 2015060620150606 | Evangelos Foutras | |
2015-06-06 | makechrootpkg: verify sources before preparing chroot | Evangelos Foutras | |
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-06 | commitpkg: Force unarmored signatures | Johannes Löthberg | |
Pacman cannot handle armored signatures, so force a generation of a binary one using the --no-armor flag. | |||
2015-05-17 | Merge branch 'archlinux'libretools-20150526 | Luke Shumaker | |
2015-05-14 | Prepare release20150514 | Pierre Schmitz | |
2015-05-14 | fix handling of public keyring | Christian 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-13 | Merge branch 'archlinux' | Luke Shumaker | |
2015-02-28 | prepare 20150228 release20150228 | Dave Reisner | |
2015-02-28 | handle gnupg 2.1.x public keyring | Christian Hesse | |
2015-02-15 | makechrootpkg: keep all function defs together | Dave Reisner | |
2015-01-01 | Merge branch 'archlinux'libretools-20150104 | Luke Shumaker | |
2014-12-24 | prepare 20141224 release20141224 | Dave Reisner | |
It's an xmas miracle! |