summaryrefslogtreecommitdiff
path: root/src/devtools
AgeCommit message (Collapse)Author
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-11Make common-devtools.mk unnecessary. Move devtools chroot stuff into ↵Luke Shumaker
chroot-tools
2013-06-23mv src/devtools/lib/common.sh src/lib/ # and add common-devtools.mkLuke Shumaker
2013-06-15Makefiles: pull the config section into config.mkLuke Shumaker
2013-06-08makechrootpkg.sh: fix message when deleting a copyLuke Shumaker
2013-05-27flesh out the header added to common.shLuke Shumaker
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-14update makechrootpkg.sh.patchtesting-20130514Luke Shumaker
2013-05-13makechrootpkg.sh:chroot_copy_in(): work with librefetch stuffLuke Shumaker
* do the process for both PKGBUILD and SRCBUILD, if it exists * look at both ${source[@]} and ${mksource[@]} * don't require that URLs contain a path-part
2013-05-07have `librechroot install-file` add the packages to the local repo.Luke Shumaker
2013-05-02fix libremakepkgLuke Shumaker
2013-05-02src/devtools/Makefile: edit lib/*.sh scriptsLuke Shumaker
- makechrootpkg.sh: run through $(edit) to expand m4_include() - common.sh: add a header and footer to prevent multiple inclusion
2013-05-02fix the MakefilesLuke Shumaker
2013-05-02fix minor bugs in Makefile, .gitignoreLuke 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-17Integrate devtools into the build systemv20130117Luke Shumaker
2013-01-17Merge commit '512436524cd3e70b9394d304bc9a43c6858c3695' as 'src/devtools'Luke Shumaker