- Apr 05, 2017
-
-
Luke Shumaker authored
This involves extending the signature of lib/common.sh's `stat_busy()`, `lock()`, and `slock()`. The `mesg=$1; shift` in stat_busy even suggests that this is what was originally intended from it.
-
Luke Shumaker authored
In cases where there is no license specified, the file is tagged as "License: Unspecified". Obviously, that is not ideal, but it highlights the fact, and I hope that it encourages whoever has the authority to specify the license to do so. On that note, to anyone who may have the authority to specify the license of files in devtools: the current licence of many files is GPLv2 with no option for later versions; I impore you to re-license them to have the "or any later version" option.
-
Luke Shumaker authored
`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).
-
- Mar 07, 2017
-
-
Jan Alexander Steffens (heftig) authored
The systemd package creates a subvolume at /var/lib/machines (through tmpfiles), if it can. We need to delete this subvolume before we can delete the parent subvolume. Look through the root for inodes with the number 256. These identify subvolume roots.
-
Jan Alexander Steffens (heftig) authored
-
Jan Alexander Steffens (heftig) authored
Move the function and save the orig_argv right along it.
-
- Oct 19, 2014
-
-
Dave Reisner authored
Fixes FS#42277.
-
- Sep 22, 2014
-
-
Luke Shumaker authored
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.
-
- May 10, 2014
-
-
Sébastien Luttringer authored
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>
-
- May 11, 2013
-
-
Jan Alexander Steffens (heftig) authored
The user-passed makechrootpkg_args may contain a "--" to pass arguments to makepkg. In this case, the order is wrong.
-
- May 05, 2013
-
-
Jan Alexander Steffens (heftig) authored
Allows calling makechrootpkg without worrying about the architecture
-
- May 03, 2013
-
-
Jan Alexander Steffens (heftig) authored
Reduces code duplication. With makechrootpkg not calling mkarchroot anymore, the lock handover protocol is unneeded. arch-nspawn does not do any locking, so add protection to archbuild.
-
- May 02, 2013
-
-
Jan Alexander Steffens (heftig) authored
Separates the two features of mkarchroot. Provides users of the new arch-nspawn with the full feature set of systemd-nspawn. For example, this can be used to bind custom directories into the chroot.
-
- Apr 06, 2013
-
-
Pierre Schmitz authored
-
- Mar 17, 2013
-
-
Sébastien Luttringer authored
Since TODO [1] which state: It would be good for base-devel to install everything needed for a build chroot we can remove base and sudo [1] https://www.archlinux.org/todo/add-more-to-base-devel/ Signed-off-by:
Sébastien Luttringer <seblu@seblu.net> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Jan 22, 2013
-
-
Pierre Schmitz authored
-
- Jan 20, 2013
-
-
Sébastien Luttringer authored
This will allow, by example, to easily build a package with a custom pkg. staging-x86_64-build -- -cI /var/cache/pacman/pkg/ldoc-1.2.0-1-any.pkg.tar.xz staging-x86_64-build -- -n Signed-off-by:
Sébastien Luttringer <seblu@seblu.net> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Nov 15, 2012
-
-
Eric Bélanger authored
The usage messages now begins with a "Usage:", i.e. capitalized and with a colon. Fixes FS#26956. Signed-off-by:
Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Oct 03, 2012
-
-
Pierre Schmitz authored
-
- Jun 16, 2012
-
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
- Jun 12, 2012
-
-
Pierre Schmitz authored
/var/tmp is cleaned up by tmpfiels by default which we cannot handle gracefully.
-
- Jan 18, 2012
-
-
Pierre Schmitz authored
Commit ee4edefa reverted too much and left pacman.conf unset
-
Pierre Schmitz authored
-
- Dec 04, 2011
-
-
Dave Reisner authored
This fixes a compound command such as the one below from continuing even if the first fails. extra-x86_64-build && extra-i686-build The problem is that 'cleanup 0' is triggered in archbuild even after an unsucessful call to makechrootpkg. Since both archbuild and makechrootpkg share the exact same cleanup function (from lib/common), we simply force the shell to exit with the true return value by exec'ing the call to makechrootpkg. Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Nov 06, 2011
-
-
Pierre Schmitz authored
-
- Nov 01, 2011
-
-
Pierre Schmitz authored
* common.sh is included on build time * most functions are copied from makepkg
-
- Oct 29, 2011
-
-
Pierre Schmitz authored
Pacman 3 refuses to work with the pacman 4 SigLevel config entry Also related: https://bugs.archlinux.org/task/26555
-
- Oct 07, 2011
-
-
Lukas Fleischer authored
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 35fc83ce. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- Aug 29, 2011
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Mar 22, 2011
-
-
Jan Steffens authored
This is much faster than using Rsync to clone. Rsync stays available when the chroots are not on a Btrfs.
-
Jan Steffens authored
This prevents accidents when chroots are shared between multiple users.
-
- Mar 18, 2011
-
-
Jan Steffens authored
Archbuild should be called via sudo.
-
Jan Steffens authored
-
- Mar 14, 2011
-
-
Jan Steffens authored
No functional change.
-
- Dec 02, 2010
-
-
Pierre Schmitz authored
This avoids updating the chroot on every call. See https://bugs.archlinux.org/task/21930
-
- Nov 22, 2010
-
-
Andrea Scarpino authored
Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Nov 17, 2010
-
-
Pierre Schmitz authored
-