summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-24Merge commit '0dc255' into completeLuke Shumaker
Conflicts: makechrootpkg.in
2013-04-24Merge commit '0c6264' into completeLuke Shumaker
2013-04-24Merge commit 'b807c' into completeLuke Shumaker
Conflicts: makechrootpkg.in
2013-04-24Merge commit '280d55' into completeLuke Shumaker
2013-04-24Merge commit '8281' into completeLuke Shumaker
Conflicts: mkarchroot.in
2013-03-10makechrootpkg: use var instead of file in $copydirSébastien Luttringer
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-03-10makechrootpkg: Properly detect filesystem typeSébastien Luttringer
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>
2013-03-10makechrootpkg: Display uniform $copy in messagesSébastien Luttringer
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-03-10makechrootpkg: -I to handle multiple packagesSébastien Luttringer
Since commit cb3a6ce, 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>
2013-01-27Fix crossrepomove for use on nymeria20130127Pierre Schmitz
2013-01-22archbuild: fix default build flags20130122Pierre Schmitz
2013-01-20Use nymeria instead of gerolde20130120Pierre Schmitz
2013-01-20-I ends early if there is nothing to buildSébastien Luttringer
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>
2013-01-20Allow makechroot options in archbuildSébastien Luttringer
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>
2013-01-20Drop initscripts supportPierre Schmitz
2012-12-02mkarchroot: redo option parsing to make more sense.Luke Shumaker
It is still compatable with the old way, with some hacks.
2012-12-02mkarchroot: fix bug where a umount error would abort all umountsLuke Shumaker
2012-12-02mkarchroot: fix bug with lock file nameLuke Shumaker
2012-12-02lib/common.sh: create directories for locks if they don't existLuke Shumaker
2012-12-02fix a bug in makechrootpkg.inLuke Shumaker
2012-11-28Merge remote-tracking branch 'devtools/master' into completeLuke Shumaker
Conflicts: mkarchroot.in
2012-11-26mkarchroot: learn -N to disable networking in the chrootLuke Shumaker
Also, fix quoting in chroot_run
2012-11-26makechrootpkg: read $MAKEPKGLuke Shumaker
2012-11-25Use common functions to handle file lockingLuke Shumaker
* lib/common.sh: implement - lock_open_write() - lock_open_read() - lock_close() * archbuild.in, makechrootpkg.in, mkarchroot.in: use said functions This has two benefits: 1. All programs using these methods gain the ability to inherit locks, something that only mkarchroot could do before. This allows the commands to be more compos-able. 2. It is more readable. File locking isn't obvious.
2012-11-25fix locking bug in archbuild (likely bad copy-paste)Luke Shumaker
2012-11-15Make sure the usage functions are consistentEric Bélanger
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>
2012-11-15prepare release20121115Pierre Schmitz
2012-11-15crossrepomove: Fix dbscripts path for [community] move to nymeriaEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-11-15mkarchroot: Remove unnecessary parameter for usage functionEric Bélanger
Fixes FS#28973 Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-11-15checkpkg: replace wget usage by curlEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-11-12prepare release20121112Pierre Schmitz
2012-11-11For now only packages and svn from sigurd will be moved to nymeriaPierre Schmitz
2012-11-03prepare release20121103Pierre Schmitz
2012-11-03Use nymeria.archlinux.org as shared host for developers and trusted usersPierre Schmitz
2012-10-27Prepare release20121027Pierre Schmitz
2012-10-27Use sigurd.archlinux.org instead of the now moved aur.archlinux.org hostnamePierre Schmitz
2012-10-27Fix return code handlingJan Alexander Steffens (heftig)
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>
2012-10-13prepare release20121013Pierre Schmitz
2012-10-13Fix releasing files with '@' in nameDan McGee
SVN treats '@' as a revision specifier, so with the addition of systemd spawning service files, we need to ensure it doesn't screw things up. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-10-13mkarchroot: do not try to bind /etc/timezone from hostPierre Schmitz
/etc/timezone is no longer used. We only need /etc/localtime. This fixes FS#31929
2012-10-04prepare release20121004Pierre Schmitz
2012-10-04mkarchroot: use a helper function to simplify bind mountsPierre Schmitz
2012-10-03prepare release20121003Pierre Schmitz
2012-10-03mkarchroot: Use systemd's nspawn if availablePierre Schmitz
* If we are running systemd use nspawn instead of our own chroot setup * Use pacstrap to setup our chroot environment * Make sure the common trap is still called * Bind resolve.conf, timezone and lcoaltime from the host if nspawn is not used * Run ldconfig within the chroot
2012-10-03Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup ↵Pierre Schmitz
is called
2012-10-03makechrootpkg: do not run namcap as rootPierre Schmitz
2012-10-03archbuild: abort if update or creation of the chroot failsPierre Schmitz
2012-09-14Fix ownership when copying files from chroot to systemFlorian Pritz
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>
2012-07-20prepare release20120720Pierre Schmitz
2012-06-25Fix bash completionsEric Bélanger
With bash-completion 2.0, the completion must have the same name as the binary. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>