Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-24 | makechrootpkg.in: add "pacman-key --populate" before calling "makepkg" to be ↵v20171124archlinux32/v20171124 | Erich Eckner | |
sure to have a current pacman keyring | |||
2017-11-19 | Merge pull request #1 from bbidulock/master | deep-42-thought | |
arch-nspawn should not take pacman cache from host | |||
2017-11-18 | arch-nspawn should not take pacman cache from host | Brian Bidulock | |
Previously, arch-nspawn was using the hosts' pacman cache in the chroot even when the chroot was set up with a different cache by mkarchroot, unless specified with the -c flag. Problem is that makechrootpkg passes no -C, -M nor -c flags to arch-nspawn, so all values must be obtained from the working directory. This change take the cache directories from the pacman.conf specified with the -C option unless the -c option was given (as is the case when the chroot is set up with mkarchroot), and, when neither -C nor -c is given (as is the case when invoked by makechrootpkg), the cache directory is taken from the pacman.conf in the working directory. This wasn't such an issue when i686 was mainline, however, which building packages in a chroot against archlinux32 on an x86_64 platform, the cache of the host should _never_ be used. | |||
2017-11-08 | Merge remote-tracking branch 'upstream/master'v20171108archlinux32/v20171108 | Erich Eckner | |
2017-11-08 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-11-08 | Version 2017110820171108 | Bartłomiej Piotrowski | |
2017-11-08 | Remove i686 support | Bartłomiej Piotrowski | |
2017-10-30 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-10-30 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-10-30 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-10-30 | use makepkg library instead of local function copies | Luke Shumaker | |
This mirrors dbscripts commit 625fa02 by Pierre Schmitz <pierre@archlinux.de> at 2017-04-18 14:20:49 | |||
2017-10-30 | makechrootpkg: Fix function usage comments | Luke Shumaker | |
A couple of the comments noting which globals are used by functions are outdated/wrong. - download_sources() : Remove USER from the list. It was always wrong. Originally, it should have been SUDO_USER (not USER), but I should have removed it entirely in 4f23609. - move_products() : Add SRCPKGDEST to the list. Though the commit adding the comment was only recently upstreamed (as 2fd5931), it originated in 2013 in a commit that has since been rebased many times. Anyway, in this rebasing, it missed move_products() starting to pay attention to SRCPKGDEST in fd1be1b (since nothing made git think there was a "conflict"). | |||
2017-10-30 | makechrootpkg: move init_variables() to be part of main() | Luke Shumaker | |
The reason it wasn't moved before was just to keep the diffs (with --ignore-all-space) smaller, to make merging and rebasing work easier. Moving code around in a file tends to make that difficult. But, readability wise, it belongs in main(). | |||
2017-10-19 | makechrootpkg: bend to allow running solely namcap via "*-build -- -- ↵v20171019archlinux32/v20171019 | Erich Eckner | |
--verifysource" | |||
2017-09-15 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-09-15 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-09-15 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-09-15 | Merge remote-tracking branch 'upstream/master' | Erich Eckner | |
2017-09-14 | makechrootpkg: Reopen console to assign the CTTY | Jan Alexander Steffens (heftig) | |
nspawn does not give us a controlling terminal, hence we ignore interrupts. Apparently this was lost in systemd at some point. Hack around this by reopening the console to make it the controlling terminal. | |||
2017-09-14 | makechrootpkg: Prevent collecting coredumps | Jan Alexander Steffens (heftig) | |
Coredumps from build chroots are not generally useful. Prevent them from being generated. Avoids a lot of annoyance from the GCC testsuite spawning lots of systemd-coredump processes. Just set the soft limit so the user can still raise it in the PKGBUILD if they insist. | |||
2017-09-13 | Revert "arch-nspawn: Hack to give the inner process a controlling terminal" | Jan Alexander Steffens (heftig) | |
Whoops, this will of course mess with nspawn arguments passed to arch-nspawn. | |||
2017-09-13 | arch-nspawn: Hack to give the inner process a controlling terminal | Jan Alexander Steffens (heftig) | |
This was lost at some point. | |||
2017-09-12 | arch-nspawn: Pass --as-pid2 | Jan Alexander Steffens (heftig) | |
As not all commands we run are capable of reaping processes correctly. For example, pacman is not. | |||
2017-09-11 | Merge remote-tracking branch 'upstream/master'v20170911archlinux32/v20170911 | Erich Eckner | |
2017-09-11 | Merge upstream/master | Erich Eckner | |
2017-09-11 | Merge upstream/master | Erich Eckner | |
2017-09-11 | Version 2017091120170911 | Sébastien Luttringer | |
2017-09-11 | arch-nspawn: Force PATH to be the Arch default | Sébastien Luttringer | |
systemd-nspawn use a default environ PATH value of: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Since filesystem 2017.08, this is no more overrided by /etc/profile to the Arch default: PATH=/usr/local/sbin:/usr/local/bin:/usr/bin | |||
2017-08-25 | makechrootpkg: Also look for -e as --noextract | Jan Alexander Steffens (heftig) | |
2017-08-25 | makechrootpkg: Prevent removing build dir when --noextract specified | Martchus | |
2017-08-25 | arch-nspawn: Add --keep-unit to prevent scope conflicts | Jan Alexander Steffens (heftig) | |
2017-08-24 | makechrootpkg: Also look for -e as --noextract | Jan Alexander Steffens (heftig) | |
2017-08-24 | makechrootpkg: Prevent removing build dir when --noextract specified | Martchus | |
2017-08-24 | arch-nspawn: Add --keep-unit to prevent scope conflicts | Jan Alexander Steffens (heftig) | |
2017-08-14 | makechrootpkg.in: set correct ownership of WORKDIRv20170814archlinux32/v20170814 | Erich Eckner | |
2017-08-14 | Version 20170813v20170813archlinux32/v20170813 | Jan Alexander Steffens (heftig) | |
2017-08-13 | Version 2017081320170813 | Jan Alexander Steffens (heftig) | |
2017-07-31 | remove empty tree if "--verifysource" failed | Erich Eckner | |
2017-07-14 | makechrootpkg: Skip integrity checks inside the chrootv20170714archlinux32/v20170714 | Jan Alexander Steffens (heftig) | |
We've already done these during download_sources(). | |||
2017-07-14 | makechrootpkg: Use long args for makepkg | Jan Alexander Steffens (heftig) | |
Slightly more verbose, but also more understandable. | |||
2017-07-14 | makechrootpkg: Move makepkg-as-root check to main() | Jan Alexander Steffens (heftig) | |
download_sources(), while the first invocation of makepkg, is a rather odd place for this kind of guard. | |||
2017-07-14 | archrelease: Whitespace adjustment | Jan Alexander Steffens (heftig) | |
2017-07-14 | archrelease: sync the repos directory before commiting changes | Laurent Carlier via arch-projects | |
2017-07-14 | makechrootpkg: Fix broken symlinks because of chroot SRCPKGDEST /srcpkgdest | Luke Shumaker | |
Commit 58968cf fixed symlinks for package products in $startdir in light of the simplified chroot setup. However, a similar change needs to be made for source-package products. This was an easy omission to make because makechrootpkg does not produce source-pakcages by default. | |||
2017-07-14 | Add `# shellcheck` directives to quiet shellcheck, add PKGBUILD.proto | Luke Shumaker | |
The added PKGBUILD.proto file is so that shellcheck can know know what to expect that a PKGBUILD sets. | |||
2017-07-14 | Make slightly more involved changes to make shellcheck happy. | Luke Shumaker | |
- Use `read -r` instead of other forms of read or looping - Use arrays instead of strings with whitespaces. - In one instance, use ${var%%.*} instead of $(echo $var|cut -f. -d1) | |||
2017-07-14 | Quote strings that shellcheck warns about. | Luke Shumaker | |
These changes are all strictly "slap some double-quotes in there". Anything more than that is not included in this commit. | |||
2017-07-14 | Make purely stylistic changes to make shellcheck happier. | Luke Shumaker | |
These are purely stylistic changes that make shellcheck complain less. This does NOT include things like quoting currently unquoted variables. | |||
2017-07-14 | Makefile: Add a simple 'check' target that runs shellcheck | Luke Shumaker | |
2017-07-14 | makechrootpkg: Add a comment warning about a bug in "sudo -i" | Luke Shumaker | |
The bug isn't currently triggered, but I accidentally did trigger when I was trying to modify the command a bit. I figure a "caution" sign would be helpful to any future developers. |