- Oct 21, 2014
-
-
Dave Reisner authored
-
- Oct 20, 2014
-
-
Dave Reisner authored
Fixes a regression introduced by 285a4e94, which made namcap a "compile time" option.
-
- Oct 19, 2014
-
-
Dave Reisner authored
-
Dave Reisner authored
Fixes FS#42277.
-
- Sep 30, 2014
-
-
Dave Reisner authored
We don't need to pass _chrootbuild this information at runtime -- we can just generate the build script to do exactly what we want.
-
Dave Reisner authored
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.
-
- Sep 22, 2014
-
-
Luke Shumaker authored
Commit 59e348fc added a btrfs subvolume check, but only used it in create_chroot(); it missed clean_temporary().
-
Dave Reisner authored
-
- May 10, 2014
-
-
Seblu 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>
-
Jan Alexander Steffens (heftig) authored
Makes the chroot mtime a useful indicator of last usage. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Joel Teichroeb authored
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>
-
- Nov 07, 2013
-
-
Markus M. May authored
Signed-off-by: Markus M. May <mmay@javafreedom.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Jan Alexander Steffens (heftig) authored
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Nov 01, 2013
-
-
Maxime Gauduin authored
Fixes FS#36654: https://bugs.archlinux.org/task/36654 . Signed-off-by: Maxime Gauduin <alucryd@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
WorMzy Tykashi authored
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
We shouldn't be in the business of reparsing makepkg's arguments, but since we have to treat the case of repackaging separately, do a better job of trying to find signs of it happening. This change lets you pass the longopt, --repackage, or multiple shortopts such as -RA, and still get the intended effect. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 19, 2013
-
-
Dave Reisner authored
Piggyback on systemd-nspawn's --bind and --bind-ro flags to allow arbitrary mount points to be added to the build container. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 08, 2013
-
-
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>
-
- May 25, 2013
-
-
Jan Alexander Steffens (heftig) authored
-
- May 11, 2013
-
-
Jan Alexander Steffens (heftig) authored
-
Jan Alexander Steffens (heftig) authored
Now syntax highlighting works properly! :D
-
- May 05, 2013
-
-
Jan Alexander Steffens (heftig) authored
For pkgver updates.
-
- 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.
-
- 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
-
-
Seblu 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>
-
- Mar 17, 2013
-
-
Seblu 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>
-
Seblu 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
-
-
Seblu authored
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Seblu authored
Enable btrfs features only if the underlying filesystem is btrfs and not rely on the presence of the btrfs tools. Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Seblu authored
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Seblu authored
Since commit cb3a6ce1 , running makechroot 2 times to insert a package in a build directory require to find a directory without PKGBUILD cd /var/empty makechrootpkg -cu -I virtualbox-host-dkms-*-i686.pkg.tar.xz -r <dir> makechrootpkg -I virtualbox-host-dkms-*-i686.pkg.tar.xz -r <dir> cd - makechrootpkg -n -r <dir> This patch allow makechrootpkg to handle more than one package to be installed before the build is run and simplify the previous case in makechrootpkg -ncu -I virtualbox-host-dkms-*-i686.pkg.tar.xz -I virtualbox-guest-dkms-*-i686.pkg.tar.xz -r <dir> Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Jan 20, 2013
-
-
Seblu authored
This allow to build in one shot a package depending of a missing package 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 27, 2012
-
-
Jan Alexander Steffens (heftig) authored
Stop trap_exit from forcing a 0 exit code. This fixes makechrootpkg, which used to always return success, even if the build failed. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Oct 03, 2012
-
-
Pierre Schmitz authored
-
- Sep 14, 2012
-
-
Florian Pritz authored
Previously files were always owned by nobody which means trying to write to them directly would fail because only the owner has +w. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Jun 11, 2012
-
-
Pierre Schmitz authored
* bind /sys and /dev/pts from host * drop support for devtmpfs as it is no longer needed * add /run and /dev/rtc0 * clone own ipc, uts and mount namespaces for chroot * set localtime, timezone and locale within chroot environment * copy /etc/pacman.d/gnupg from host
-
- Mar 05, 2012
-
-
Pierre Schmitz authored
makechrootpkg: Install the built packages before running namcap to reduce false positives and check inter split package dependencies.
-