summaryrefslogtreecommitdiff
path: root/src/chroot-tools
AgeCommit message (Collapse)Author
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
2012-12-09make the messages while waiting for a chroot lock more helpfulLuke Shumaker
2012-12-09chroot.conf: clarify what each setting doesLuke Shumaker
2012-12-09Improve the help messages for librechroot and libremakepkgLuke Shumaker
2012-12-09rethink libremakepkg's chroot logic to make it play well from in a chrootLuke Shumaker
2012-12-09Add /usr/share/libretools/conf.sh, use /etc/libretools.d/chroot.confLuke Shumaker
Use it for librechroot, libremakepkg, libremkchroot
2012-12-09make the Makefile(s)... mortal-friendlyLuke Shumaker
I did this by making the assumption that the files in a directory are dividable into 2 groups: those that are executable, and those that aren't, and that all of the files in each group all go in the same folder when installed. These install directories are configurable per source directory with $(libre_execdir) and $(libre_datadir)
2012-12-09Improve chcleanup, make supporting changes to other toolsLuke Shumaker
chcleanup: * load `CHROOTEXTRAPKGS` from `/etc/libretools.d/chroot.conf` * always cleanup temporary files * properly quote the various arrays used * verify that you are in a chroot librechroot: * write `$copydir/etc/libretools.d/chroot.conf` libremakepkg.gpl2: * use `librechroot` instead of `archroot` directly in `chrootexec()`
2012-12-09libremakepkg: learn '-C' to dissable using the chrootLuke Shumaker
2012-12-09libremakepkg: implement things using a chroot_exec functionLuke Shumaker
2012-12-09librechroot: clean up files when doneLuke Shumaker
2012-12-09librechroot: don't print messages for everythingLuke Shumaker
2012-12-09fix several "stupid" mistakesLuke Shumaker
2012-11-30librechroot: use PATH to find chcleanupLuke Shumaker
2012-11-30libremakepkg: autoclean before buildingLuke Shumaker
2012-11-30libremakepkg: match makepkg's error message if PKGBUILD does not existLuke Shumaker
2012-11-30libremakepkg: forget -RLuke Shumaker
2012-11-30libremakepkg: fix bug in makepkg_conf_getLuke Shumaker
2012-11-30[librechroot] have -n set the CHROOT; rename the old -n to -mLuke Shumaker
https://labs.parabola.nu/issues/252
2012-11-30move librechroot's sync into it's own file for licensing reasonsLuke Shumaker
2012-11-28many fixesLuke Shumaker
2012-11-28improve libremakepkg's help messageLuke Shumaker
2012-11-28fix a typov20121128.2Luke Shumaker
2012-11-28teach libremakepkg "-m" to use a different command than "makepkg"v20121128.1Luke Shumaker
2012-11-28Rewrite libremakepkg to not use makechrootpkgLuke Shumaker