Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-11 | mkarchroot: creating chroots wasn't working. | Luke Shumaker | |
I later noticed that alfplayer filed a bug report about it: https://labs.parabola.nu/issues/518 | |||
2014-05-11 | Update to new devtools. | Luke Shumaker | |
2014-03-23 | Most of my desired re-licensings were authorized on the dev list | Luke Shumaker | |
2014-03-22 | Relicense some files from GPLv3+ GPLv2+ (that I'm the sole copyright holder of) | Luke Shumaker | |
2014-03-22 | Audit the authors and copyright years of files against git logs | Luke Shumaker | |
2014-03-22 | Update libremakepkg to work with Bash 4.3 (and still work with 4.2) | Luke Shumaker | |
2014-03-21 | Do an audit of copyright and license claims | Luke Shumaker | |
2014-03-20 | Fix issue #487; obey proxy settings when creating a chroot. | Luke Shumaker | |
https://labs.parabola.nu/issues/487 | |||
2014-03-20 | Generalize the patching mechanism in the build system. | Luke Shumaker | |
2014-03-06 | Update for the new version of systemdv20140306 | Luke Shumaker | |
2014-02-09 | libremakepkg: extract the source (prepare()) while the network is still on | Luke Shumaker | |
2014-02-09 | fix `librechroot update` | Luke Shumaker | |
2014-02-05 | libremakepkg: make sure the local repository exists before syncing pkgsv20140206 | Luke Shumaker | |
2014-02-05 | libremakepkg: fix installing dependencies that aren't in the paccache | Luke Shumaker | |
I can't figure out a reliable way to test this, as it depends on the host pacman cache. | |||
2014-02-05 | librechroot update: correctly handle 'filesystem' upgrades | Luke Shumaker | |
2014-02-02 | libremakepkg: fix network handlingv20140202 | Luke Shumaker | |
2014-02-02 | Makefiles: use .DELETE_ON_ERROR: | Luke Shumaker | |
2014-02-02 | mkarchroot: don't let the environment affect pacstrap | Luke Shumaker | |
2014-02-02 | librechroot: fix setting CHROOTEXTRAPKG | Luke Shumaker | |
2014-02-02 | Normalize to use the string "Copyright (C)" | Luke Shumaker | |
2014-02-02 | I forgot to bump the copyright year on all the files I've touched this year | Luke Shumaker | |
2014-01-20 | normalize to use >&2 instead of /dev/stderr | Luke Shumaker | |
2014-01-19 | libremakepkg: Check the permissions of the bind-mounted directoriestesting-20140119 | Luke Shumaker | |
2014-01-19 | libremakepkg: (minor) refactor things to places that make a bit more sense | Luke Shumaker | |
2014-01-19 | distcc-tool: fix a typo in a comment | Luke Shumaker | |
2014-01-19 | distcc-tool: Fix quoting when embeddint a value in a string | Luke Shumaker | |
2014-01-19 | distcc-tool: get rid of string interpolation in usage() | Luke Shumaker | |
2014-01-19 | libremakepkg: fix getopts string (I'm a dummy) | Luke Shumaker | |
2014-01-19 | libremakepkg: actually support SRCPKGDEST, document LOGDEST support | Luke Shumaker | |
2014-01-18 | libremakepkg: support -r and -w flags, same as librechroot | Luke Shumaker | |
Feature request: https://labs.parabola.nu/issues/458 | |||
2014-01-18 | librechroot: fix comment | Luke Shumaker | |
2014-01-18 | I went comma-happy when writing librechroot:usage() | Luke Shumaker | |
2014-01-05 | chroot-tools: make patch not reject new bugfix in devtools-par | Luke Shumaker | |
2014-01-05 | update to the new devtools | Luke Shumaker | |
2013-11-16 | makechrootpkg.sh: The delete message always said 'temporary copy' | Luke Shumaker | |
2013-11-07 | libremakepkg: useless use of `cat` | Luke Shumaker | |
2013-11-04 | normalize on "[[" instead of "[" | Luke Shumaker | |
2013-11-03 | librechroot: correct comment | Luke Shumaker | |
2013-11-02 | librechroot: when detecting mount options, set LC_ALL instead of LANG | Luke Shumaker | |
2013-10-30 | chcleanup: manually update repo.db instead of running `pacman -Sy` | Luke Shumaker | |
2013-10-30 | librechroot: check argument counts | Luke Shumaker | |
2013-10-26 | Merge pkgbuild-check-{nonfree,licenses}, add a summarize tool for it. | Luke Shumaker | |
This should fix a number of bugs in those two scripts, and the summarize script simplifies aur and libremakepkg:hooks-check.sh | |||
2013-10-26 | libremakepkg: configure [repo] to be first by default, not last | Luke Shumaker | |
2013-10-26 | librechroot: check that copydir isn't mounted nosuid/noexec | Luke Shumaker | |
2013-10-26 | librechroot: die if stdin isn't a TTY, be more verbose about it. | Luke Shumaker | |
2013-10-26 | librechroot+indent: Add in a bunch of extra '\r's to work-around the systemd bug | Luke Shumaker | |
2013-10-15 | librechroot: (bugfix) Use the correct exit status if stdout isn't a TTY.v20131015 | Luke 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-15 | libremakepkg: hooks-chcleanup: fix variable name causing it to not run | Luke Shumaker | |
2013-10-07 | librechroot: 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-07 | revert last commit, it makes systemd-nspawn not handle signals correctly. | Luke Shumaker | |
I'm a fan of systemd-nspawn. I really am. It handles a lot of things the "right" way, so you don't have to. However, it handles PTYs and signals in an incredibly stupid way. Working around one is f---ed up by the other being wrong. Before I implemented the change that this reverts, this is what happens: systemd-nspawn> I need to create a PTY and proxy between it and stdio. I can specify a terminal size when doing this--I should set it to reflect the terminal I am connected to. systemd-nspawn> /dev/stdout: Are you a TTY? /dev/stdout> systemd-nspawn: No. ---- The correct thing to do here would be to either not set the size, ---- or set it to 80×24 systemd-nspawn> /dev/stdin: Are you a TTY? /dev/stdin> systemd-nspawn: Yes. systemd-nspawn> /dev/stdin: Great, what size are you? /dev/stdin> systemd-nspawn: I am X×Y. systemd-nspawn: libc: Please give me a PTY that is X×Y. ---- Why the f--- would you do this? The size only effects *output*. ---- If you don't know the characteristics of the output, set ---- reasonable defaults! Don't base it on the characteristics of the ---- input! My solution was to make /dev/stdin not be a TTY by closing it. This had the desired effect, but tripped up the signal handling. Here is how signals were handled before: systemd-nspawn> /dev/stdin: Are you a TTY? /dev/stdin> systemd-nspawn: Yes. systemd-nspawn> /dev/stdin: Great, please don't send SIGINT on C-c. I will handle it myself. *user presses C-c, systemd reads it* systemd-nspawn> child processes: here's a SIGINT. Here's what happens when I close, or do other things to make stdin not be a TTY: systemd-nspawn> /dev/stdin: Are you a TTY? /dev/stdin> systemd-nspawn: No. systemd-nspawn> /dev/stdin: Oh, OK. *user presses C-c, /dev/stdin interprets it* /dev/stdin> systemd-nspawn: Here's a SIGINT. systemd-nspawn> *dies, abandoning child processes* The clear correct thing to do would have been to *handle* SIGINT, and pass it along to the children. |