summaryrefslogtreecommitdiff
path: root/src/chroot-tools
AgeCommit message (Collapse)Author
2013-09-12Merge branch 'fauno~2' (early part) into masterLuke Shumaker
2013-09-11Update to the new version of devtools (huge commit).Luke Shumaker
User-facing changes: - libremessages: `lock_open_write` became `lock` - libremessages: `lock_open_read` became `slock` - librechroot: learned the `-r` and `-w` flags to do bind mounts. Internal changes: The changes to librechroot were pretty straight-forward; the biggest change is that `archroot` got split into `mkarchroot` and `arch-nspawn`. libremakepkg got a major overhaul Honestly, the changes to libremakepklg probably could have been a lot smaller, but... I wanted to do it right/be clean. makechrootpkg in devtools got cleaned up a lot, actually a lot of the same changes I was making. But, the small differences between the way we did things made it less than simple to adjust. The biggest changes in terms of conflict for me are how devtools now uses bind-mounts to put files in the chroot, and that the /chrootbuild file is more complicated. I handled a lot of the complexity by moving things out of the main program, and adding hooks for non-core functionality, including chcleanup, distcc compatability hacks, and PKGBUILD/pkg checking. Unfortunately, the files containing the hooks are currently hard-coded. Perhaps they will be truly pluggable in the future. That might be neat. Or over-complicated. We'll see where it goes.
2013-09-11chcleanup: Do better error handlingLuke Shumaker
2013-09-11chroot-tools: internationalizeLuke Shumaker
2013-09-11Make common-devtools.mk unnecessary. Move devtools chroot stuff into ↵Luke Shumaker
chroot-tools
2013-07-27revamp the Makefiles to support manpagesLuke Shumaker
2013-06-27cleanup: set CARCH before loading PKGBUILDLuke Shumaker
2013-06-23librechroot: fix mkdir spitting to stderr in clean-pkgs.Luke Shumaker
2013-06-11librechroot: clarify what config files are installed.Luke Shumaker
2013-06-11libremakepkg: don't remove -N, but discourage its use.v20130611Luke Shumaker
2013-06-11libremakepkg: improve behavior when PACKAGER is not setLuke Shumaker
2013-06-10distcc-tool: fix bugs in odaemonLuke Shumaker
1. The file permissions on /socket were bad, fix this by setting umask 111 2. In some cases, the child socat wouldn't exit. Add trap to killit on exit.
2013-06-10libremakepkg: set PACKAGER in the chroot to reflect the value outside.Luke Shumaker
2013-06-10improve documentation in chroot.confLuke Shumaker
2013-06-10libremakepkg: integrate distcc-toolLuke Shumaker
2013-06-09libremakepkg: fix up clean up routinesLuke Shumaker
2013-06-09distcc-tools: remove automatic ssh configurationLuke Shumaker
2013-06-09add chroot-tools/distcc-tool; it is not used yet thoughLuke Shumaker
2013-06-08libremakepkg: add -N flag to enable networking, for distcc supportLuke Shumaker
2013-06-05librechroot: fix clean-repov20130605.1Luke Shumaker
2013-06-05chroot.conf: configure CHROOTEXTRAPKG to be empty by defaultv20130605testing-20130605Luke Shumaker
2013-06-05librechroot: improve documentation for -C and -MLuke Shumaker
2013-06-05librechroot: check if the command doesn't exist and fail earlyLuke Shumaker
2013-06-05libre{chroot,makepkg}: improve handling of when not configuredLuke Shumaker
2013-06-05Double bracket ==/</> compare lexicographically, not numerically.Luke Shumaker
Unfortunately for me, that means that it works correctly *most* of the time. But, for example, [[ 10 < 2 ]], and negatives don't work.
2013-06-05librechroot: capitalization and punctuation in usage()Luke Shumaker
2013-06-05chcleanup: don't fail when offlineLuke Shumaker
2013-06-05Add tests for librechroot's help system, make them pass.Luke Shumaker
They didn't pass because on several errors it printed to stdout, not stderr
2013-06-05Phase out `load_conf_*` and `check_conf_*` functionsLuke Shumaker
Replace their usages with `load_files *` and `check_vars *`
2013-05-28librechroot: fix typos, add unit testtesting-20130528.2Luke Shumaker
2013-05-28librechroot: didn't always create repo.db symlinktesting-20130528.1Luke Shumaker
Fix this and remove code duplication by pulling the relevant code into a function.
2013-05-26redo the library system; avoid hard-coded pathsLuke Shumaker
* install all library files to $(libexecdir)/libretools, instead of - $(bindir) - $(datadir)/libretools - $(datadir)/devtools * symlink the executable library files into $(bindir) * add the tool `librelib` * instead of ". /path/to/lib.sh", use ". $(librelib lib.sh)" * mark all libraries with shebangs of what options they support * move blacklist.sh to libreblacklist
2013-05-22fix https://labs.parabola.nu/issues/335Luke Shumaker
2013-05-14libremakepkg: fix adding [repo] to pacman.confLuke Shumaker
2013-05-14chcleanup: run pacman -Sy first to update the local repoLuke Shumaker
2013-05-08librechroot: improve usage() textLuke Shumaker
2013-05-07libremakepkg: copy more things out on failuretesting-20130507Luke Shumaker
2013-05-07have `librechroot install-file` add the packages to the local repo.Luke Shumaker
2013-05-07libremakepkg: fix possible sudo option parsing bugLuke Shumaker
2013-05-07It appears that I left out implementing `librechroot update`Luke Shumaker
2013-05-03libremakepkg: fix -R flagtesting-20130503Luke Shumaker
2013-05-02libremakepkg: only lock the chroot if there is a chroot to lock.Luke Shumaker
2013-05-02fix libremakepkgLuke Shumaker
2013-05-02chcleanup: msg is used tooLuke Shumaker
2013-05-02librechroot: improve message outputLuke Shumaker
2013-05-02librechroot: fix ${archroot_args[]}Luke Shumaker
2013-05-02chcleanup: define `msg2` and `error` internally, to avoid dep on libremessagesLuke Shumaker
2013-05-02Update for the new devtools-par (major)Luke Shumaker
* `src/devtools`: Redo to get devtools from another location, and patch it * `src/chroot-tools/{chcleanup,chroot.conf}`: Only install 'base-devel' by default * libremkchroot: deprecate in favor of `librechroot make` * librechroot: - redo option parsing to be a "sub-command" (git-like) interface, instead of having esoteric flags (pacman-like). - add more documentation. - allow COPY to be an absolute path - generally clean up and use updated functions from `makechrootpkg.sh` * libremakepkg: - allow COPY to be an absolute path - update to work with the new `makechrootpkg.sh`: - `makechrootpkg.sh:chroot_exec()` -> `libremakepkg:run()` - `makechrootpkg.sh:chroot_init()` -> `libremakepkg:chroot_init()` - All functions from `makechrootpkg.sh` are wrapped, because they don't work with `set -euE`. - Other small changes
2013-01-13use /usr/share/devtools/makechrootpkg.sh instead of *.gpl2Luke Shumaker
2012-12-11fix HOME/LIBREHOME bug in libremakepkg.gpl2Luke Shumaker