summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-02lib/common.sh: use gettext for WARNING/ERROR/done hardcoded text.Luke Shumaker
2013-05-02mkarchroot: rename mode -i (install) to -m (make)Luke Shumaker
2013-04-30makechrootpkg.in: make lock waiting messages more clear, fix .lock.lock bugLuke Shumaker
2013-04-30makechrootpkg.in: adjust mkarchroot usage to our versionLuke Shumaker
2013-04-25lib/common.sh: Make setup_workdir()/cleanup() safe for programs to not useLuke Shumaker
2013-04-24Merge tag '20130408' into completeLuke Shumaker
tagging Conflicts: mkarchroot.in
2013-04-24Merge tag '20130406' into completeLuke Shumaker
tagging
2013-04-24Merge commit '71b1' into completeLuke Shumaker
Conflicts: mkarchroot.in
2013-04-24once again re-do option handling for mkarchrootLuke Shumaker
2013-04-24Merge commit '4bca' into completeLuke Shumaker
Conflicts: mkarchroot.in
2013-04-24Merge commit '1f037' into completeLuke Shumaker
2013-04-24Merge commit 'f03086' into completeLuke Shumaker
Conflicts: mkarchroot.in
2013-04-24Merge commit '35dc74' into completeLuke Shumaker
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-04-08Prepare release20130408Pierre Schmitz
2013-04-08makechrootpkg: Add option to build in temp chrootSébastien Luttringer
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>
2013-04-07mkarchroot: Fix creation of btrfs snapshot and remove force optionPierre Schmitz
2013-04-06Prepare release20130406Pierre Schmitz
2013-04-06Bump the chroot version as we changed the default package setPierre Schmitz
2013-04-06Only try to use btrfs snapshots if chroots are on a btrfs partitionPierre Schmitz
2013-04-06Sync pacman.conf and makepkg.conf with pacman 4.1Pierre Schmitz
2013-04-06Simplify update call as pacman does no longer support SyncFirstPierre Schmitz
2013-04-06mkarchroot: code cleanupPierre Schmitz
2013-04-06mkarchroot: Create working directory if neededPierre Schmitz
2013-04-06use nspawn to bind mount needed directoriesDave Reisner
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>
2013-03-17makechrootpkg: Stat chrootdir type after existancySébastien Luttringer
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>
2013-03-17archbuild: only use base-devel to new chrootSébastien Luttringer
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>
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.