summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-15Merge commit 'abba'Luke Shumaker
Conflicts: makechrootpkg.in
2013-06-15Merge commit 'a7a0': merge our and their lock functionsLuke Shumaker
Arch's have shorter names, and properly escape the filename. Ours create the directories, and check if the locks are already open. The best of both worlds. When merging the usages of them, I used arch's messages. Ours are too long, even if they are more informative.
2013-06-15Merge commit '0e98'Luke Shumaker
2013-06-15redo the lock functions to not append .lockLuke Shumaker
mkarchroot.in didn't need modified because it already (incorrectly) had .lock in the filename
2013-06-15Merge commit '4535'Luke Shumaker
Conflicts: makechrootpkg.in mkarchroot.in
2013-06-03lock_open_* fix possible bug caused symlinked directorieslibretools-20130605Luke Shumaker
If somewhere in the path to ${path}.lock there was a symlink, then it would fail to inherit the lock from the parent program, and stall.
2013-06-03fix bugs with `set -u` in common.shLuke Shumaker
2013-05-27common.sh: unset COLOR variables in a way that is `set -u` safe.Luke Shumaker
2013-05-26undo accidental change of permissions on lib/common.shLuke Shumaker
2013-05-14makechrootpkg.in: only run `makepkg "$copydir/repo"` onceLuke Shumaker
2013-05-14makechrootpkg.in: even though it is, don't require $pkgfile to be absolute ↵Luke Shumaker
when adding it to the local repo
2013-05-03makechrootpkg: Remove add_to_db featureJan Alexander Steffens (heftig)
I don't think this is much use in our common workflow. Our pacman configs don't even make a reference to /repo.
2013-05-03lib/common.sh: Introduce locking helper functionsJan Alexander Steffens (heftig)
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.
2013-05-03arch-nspawn: Set machine nameJan Alexander Steffens (heftig)
Recent changes to systemd-nspawn have it take the machine name from the chroot dir name, which isn't unique enough for our setup.
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-05-02mkarchroot: Refactor chroot running into a new scriptJan Alexander Steffens (heftig)
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.
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>