summaryrefslogtreecommitdiff
path: root/src/chroot-tools/librechroot
AgeCommit message (Collapse)Author
2016-05-10librechroot: Revert running arch-nspawn and mkarchroot in subshells.v20160510Luke Shumaker
It screws with the exit status. Instead, take advantage of dynamic scoping to avoid mutating arch_nspawn_flags (the reason I switched them to subshells).
2016-05-09librechroot: give a good error message if binfmt_misc isn't configuredLuke Shumaker
2016-05-09librechroot: Support using qemu for ARM builds on x86 via binfmt_misc.Luke Shumaker
2016-05-09librechroot: skip initialization steps when mode=deleteLuke Shumaker
When viewing this diff, you should ignore whitespace change. It just moved an "if" block up a ways.
2016-04-17librechroot: have the -A flag set Architecture in pacman.confLuke Shumaker
2016-04-15librechroot: run mkarchroot in its own mount namespace.Luke Shumaker
Fixes https://labs.parabola.nu/issues/667
2016-04-15Use a better technique for dealing with empty arrays when `set -u`.Luke Shumaker
https://news.ycombinator.com/item?id=11497636
2016-04-15librechroot: librexgettext was getting confusedLuke Shumaker
2016-04-14librechroot: add -A flag to set the architecture.Luke Shumaker
Takes advantage of pacman 5.0.1-2.parabola4 shipping the default config files for all architectures.
2016-04-14librechroot: minor fixupsLuke Shumaker
2015-04-13librechroot help: remove extra whitespaceLuke Shumaker
2015-01-05librechroot: tidy upLuke Shumaker
2015-01-05chroot-tools: Drop support for CHROOTARCHLuke Shumaker
This only existed to work around a compatibility-breaking change in the Linux kernel. `uname -m` for MIPS-64 little-endian changed from "mips64el" to "mips64". This meant that all existing packages' CARCH was no longer == `uname -m`, so we had to de-unify the two, as we couldn't do `setarch $CARCH`. I'm removing this kludge because: - We no longer actively support MIPS. - Until two commits ago, it didn't work anyway - We should avoid this on new architectures going forward (ARM, anyone?) - It's gross.
2015-01-04Generate the duplicated code in chcleanupLuke Shumaker
2014-11-25librechroot: touch upLuke Shumaker
2014-11-06librechroot: touch up messagesLuke Shumaker
2014-07-05quote calls to librelibLuke Shumaker
2014-06-16Merge branch 'master' of ↵Luke Shumaker
ssh://projects.parabolagnulinux.org:1863/~git/packages/libretools Conflicts: src/librefetch/librefetch.8.ronn
2014-05-11Create CHROOTARCH in chroot.conf for when $CARCH != $(uname -m)Luke Shumaker
This is the case on mips, where CARCH is misp64el, but uname -m is mips64.
2014-03-25Fix quoting/escaping with 'rm' in traps.Luke Shumaker
2014-03-23Most of my desired re-licensings were authorized on the dev listLuke Shumaker
2014-03-22Audit the authors and copyright years of files against git logsLuke Shumaker
2014-03-21Do an audit of copyright and license claimsLuke Shumaker
2014-03-06Update for the new version of systemdv20140306Luke Shumaker
2014-02-09fix `librechroot update`Luke Shumaker
2014-02-05librechroot update: correctly handle 'filesystem' upgradesLuke Shumaker
2014-02-02librechroot: fix setting CHROOTEXTRAPKGLuke Shumaker
2014-02-02Normalize to use the string "Copyright (C)"Luke Shumaker
2014-02-02I forgot to bump the copyright year on all the files I've touched this yearLuke Shumaker
2014-01-20normalize to use >&2 instead of /dev/stderrLuke Shumaker
2014-01-18librechroot: fix commentLuke Shumaker
2014-01-18I went comma-happy when writing librechroot:usage()Luke Shumaker
2013-11-03librechroot: correct commentLuke Shumaker
2013-11-02librechroot: when detecting mount options, set LC_ALL instead of LANGLuke Shumaker
2013-10-30librechroot: check argument countsLuke Shumaker
2013-10-26librechroot: check that copydir isn't mounted nosuid/noexecLuke Shumaker
2013-10-26librechroot: die if stdin isn't a TTY, be more verbose about it.Luke Shumaker
2013-10-26librechroot+indent: Add in a bunch of extra '\r's to work-around the systemd bugLuke Shumaker
2013-10-15librechroot: (bugfix) Use the correct exit status if stdout isn't a TTY.v20131015Luke Shumaker
Because of the work-around for systemd-nspawn's buggy I/O, it was discarding the exit status if stdout wasn't a TTY. My work-around for *this* is to set -o pipefail.
2013-10-07librechroot: If stdout isn't a TTY, pipe progs in the chroot through cat.Luke Shumaker
Also, warn if stdin isn't a TTY.
2013-10-04librechroot/hook-chcleanup: look at /startdir/PKGBUILD, not /build/PKGBUILDLuke Shumaker
2013-09-22Merge commit '610699'Luke Shumaker
Conflicts: src/abslibre-tools/createworkdir
2013-09-22fix typo in usage text for librechrootLuke Shumaker
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-11chroot-tools: internationalizeLuke 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-05librechroot: fix clean-repov20130605.1Luke Shumaker
2013-06-05librechroot: improve documentation for -C and -MLuke Shumaker