- Aug 18, 2013
-
-
Dave Reisner authored
We can't rely on PKGEXT since it's not sourced from a controlled location. Case in point, if a user sets PKGEXT=.pkg.tar.gz, checkpkg fails and offers no easy workaround. Instead, use glob expansion to resolve the name of the tarball, bailing if it can't be found definitively. This involves some refactoring to avoid modifying PWD (which is advisable regardless). Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
Fixes FS#36378. Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
This fixes various errors one might encounter when trying to use a build root or cachedir with whitespace in it. Note that the cachedir fix is not a complete one, as pacman's output is unreliable (and not meant for parsing here). Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
eval is no longer involved in the execution of systemd-nspawn, so we no longer need a layer of escaping on the arguments. Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Aug 08, 2013
-
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Dave Reisner authored
For example... $ make GEN checkpkg GEN commitpkg GEN archco archco: line 179: unexpected EOF while looking for matching `"' archco: line 181: syntax error: unexpected end of file make: *** [archco] Error 2 Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
Now that die() properly forwards arguments to error(), we can expect that the first arg is a format string and not the entirety of the output. Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
Also allow this function to be called without arguments, in which case, don't call error at all. Some uses of this function wrongly assumed that this was already allowed. Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- May 25, 2013
-
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Jan Alexander Steffens (heftig) authored
-
Jan Alexander Steffens (heftig) authored
Nymeria's HTTP mirror is now password-protected and crossrepomove broke.
-
Jan Alexander Steffens (heftig) authored
-
- May 11, 2013
-
-
Jan Alexander Steffens (heftig) authored
-
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.
-
Jan Alexander Steffens (heftig) authored
systemd-nspawn always outputs some debug messages over stderr. Both stdout and stderr from inside the chroot are sent through a pty to stdout.
-
Jan Alexander Steffens (heftig) authored
Now syntax highlighting works properly! :D
-
- May 05, 2013
-
-
Jan Alexander Steffens (heftig) authored
For pkgver updates.
-
Jan Alexander Steffens (heftig) authored
Allows calling makechrootpkg without worrying about the architecture
-
- May 03, 2013
-
-
Jan Alexander Steffens (heftig) authored
- Ensure sources are available before entering chroot - Bind STARTDIR and SRCDEST into the chroot read-only - Refactor makechrootpkg and introduce meaningful functions Avoids copying stuff from/to the chroot as much as possible. With VCS sources these copies can get quite expensive.
-
Jan Alexander Steffens (heftig) authored
I don't think this is much use in our common workflow. Our pacman configs don't even make a reference to /repo.
-
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.
-
Jan Alexander Steffens (heftig) authored
Recent changes to systemd-nspawn have it take the machine name from the chroot dir name, which isn't unique enough for our setup.
-
- 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 08, 2013
-
-
Pierre Schmitz authored
-
Sébastien Luttringer authored
Add option -T to build in a temporary chroot. This apply to any kind of filesytem and allow to easily parrallelize builds. This patch also simplify how $default_copy and $copy are defined. Signed-off-by:
Sébastien Luttringer <seblu@seblu.net> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Apr 07, 2013
-
-
Pierre Schmitz authored
-
- Apr 06, 2013
-
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Dave Reisner authored
systemd-nspawn is capable of doing this as of systemd-198. Doing this means we can remove all of our home grown chroot mount/umount logic, as it's all performed by pacstrap or systemd-nspawn. Signed-off-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Mar 17, 2013
-
-
Sébastien Luttringer authored
Move detection of chrootdir type after have check if the directory exists. This avoid the following messages when -r is not given stat: cannot read file system information for '': No such file or directory Signed-off-by:
Sébastien Luttringer <seblu@seblu.net> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
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>
-
- Mar 10, 2013
-
-
Sébastien Luttringer authored
Signed-off-by:
Sébastien Luttringer <seblu@seblu.net> Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-