Jan Alexander Steffens (heftig)
e10ce7fc70
Version 20170304
2017-03-04 15:10:11 +01:00
Levente Polyak
ff48401963
makechrootpkg: fix potential non-writable directories of builduser in /build
...
This removes the preservation of HOME being /build just for the pacman
sudo call. Former leads to unbuildable packages when an to be installed
dependency writes something into the HOME dir (f.e. .config). The
resulting directories won't be writable by the builduser as they are
owned by root:root and ultimately will fail to build anything that
requires so.
2017-03-04 15:05:09 +01:00
Jelle van der Waa
15f16162fb
lib: remove unused version, pkgparts
2017-03-04 15:03:37 +01:00
Jelle van der Waa
fea14fa286
lib: remove unused left, right
2017-03-04 15:03:05 +01:00
Jan Alexander Steffens (heftig)
4bafd641ab
makechrootpkg: Simplify symlink replacement
2017-03-04 15:00:50 +01:00
NicoHood
58968cfaa2
makechrootpkg: Fix broken symlink because of temporary chroot PKGDEST /pkgdest
2017-03-04 15:00:12 +01:00
Jan Alexander Steffens (heftig)
c8147a3512
mkarchroot: Set LANG=en_US.UTF-8
...
In order to have an UTF-8 locale in the build root. This is something
normally set on real machines but is not set from our chroots. Meson,
for example, loudly complains when the locale charset is not UTF-8.
I'd like to have C.UTF-8, as most other distributions do. Unfortunately,
it's not part of vanilla glibc; en_US.UTF-8 will have to do.
mkarchroot already creates roots with both en_US.UTF-8 and de_DE.UTF-8,
the latter because builds of gcc (perhaps used to) require it.
Bump the CHROOT_VERSION due to the setting change.
2017-02-17 19:51:56 +01:00
Jan Alexander Steffens (heftig)
76dec8507e
makechrootpkg: Reset environment for builduser
...
The gnustep-base package ships a profile.d script that adds
"$HOME/GNUstep/Tools" to the PATH, which breaks when the user changes
and causes meson to exit with a "permission denied" error.
2016-10-08 14:44:31 +02:00
Jan Alexander Steffens (heftig)
9727b684e6
makechrootpkg: Shorten user-config loading code
...
Make use of load_vars returning 1 when the file is missing. Avoids
introducing another variable.
2016-06-13 00:06:54 +02:00
Johannes Löthberg
e3fe7134e2
makechrootpkg: Use XDG_CONFIG_HOME for makepkg.conf
...
Implemented the same way as in makepkg.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2016-06-13 00:02:29 +02:00
Jan Alexander Steffens (heftig)
70d3c63b5c
Version 20160528
2016-05-28 17:52:56 +02:00
Jan Alexander Steffens (heftig)
eb6b0e3f11
arch-nspawn: Work around pacman master returning file-URLs from the cache
2016-05-28 12:33:00 +02:00
Jan Alexander Steffens (heftig)
69a3a0e7c0
makechrootpkg: Install packages in one step
...
Avoids having to specify them in dependency order.
2016-05-28 12:30:36 +02:00
Jan Alexander Steffens (heftig)
ca819a2357
makechrootpkg: Simplify chroot preparation (v2)
...
Copy both UID and primary GID of the invoker to the builduser. Mount
srcdest and startdir read-write.
v2: Fixed GnuPG keyring owner and moved running namcap from a heredoc
to a function.
2016-05-28 12:30:36 +02:00
Pierre Schmitz
eb88a303b7
Merge branch 'master' of git.archlinux.org:/srv/git/devtools
2016-05-28 10:09:45 +02:00
Sven-Hendrik Haase
8f94d8118f
This is 20160527.1
2016-05-27 22:17:02 +02:00
Sven-Hendrik Haase
882f5d0451
mkarchroot: Manually generate machine-id because nspawn expects it
2016-05-27 22:16:09 +02:00
Sven-Hendrik Haase
f36c45e0c6
Makefile: change version to 20160527
2016-05-27 21:11:46 +02:00
Sven-Hendrik Haase
7fc22b9aba
Use repos.archlinux.org everywhere instead of hostname based domains
...
This makes it a lot easier to swap out the host that actually serves the repos in the future.
2016-05-27 21:02:46 +02:00
Pierre Schmitz
7fe0f68856
Set target vendor to pc for usge with gcc 6
2016-05-07 10:53:48 +02:00
Pierre Schmitz
f85fc32d78
Update bundled pacman and makepkg configuration
2016-02-07 10:12:56 +01:00
Evangelos Foutras
c5128dc45c
makechrootpkg: set builduser's shell to /bin/bash
...
Having it set to nologin breaks a couple of tests in Git and Python.
2016-01-09 12:00:21 +02:00
Levente Polyak
f1effdf989
makechrootpkg: use /build as HOME for the builduser
...
This way the HOME dir is writable and no ugly hacks are required
in the PKGBUILD if $HOME is accessed (f.e. maven, gradle and also
some python tests etc.)
2016-01-09 11:59:44 +02:00
Evangelos Foutras
38957783a2
Bump version to 20151129
2015-11-29 12:06:58 +02:00
Evangelos Foutras
5a7890f076
arch-nspawn: preserve systemd-nspawn's stderr
...
It is passed down to the container when stdin/stdout is not a tty; this
is the case when archbuild's output is redirected to a pipe or file.
2015-11-29 12:01:34 +02:00
Evangelos Foutras
ba45e06d3e
Bump version to 20151002
2015-10-02 15:02:45 +03:00
Evangelos Foutras
393b9757cf
Sync makepkg.conf files with pacman 4.2.1-4
2015-10-02 14:59:52 +03:00
Jan Alexander Steffens (heftig)
3231cf8c36
Layer gnome-unstable above staging, not testing
2015-09-25 14:37:20 +03:00
Evangelos Foutras
f5ef88ec59
Bump version to 20150606
2015-06-06 15:27:00 +03:00
Evangelos Foutras
80ba87881a
makechrootpkg: verify sources before preparing chroot
...
This is needed in order to use GPG's auto-key-retrieve keyserver option,
otherwise the keyring will get copied to the chroot before the required
keys are retrieved during 'makepkg --verifysource'.
2015-06-06 15:22:51 +03:00
Johannes Löthberg
763d8ffb53
commitpkg: Force unarmored signatures
...
Pacman cannot handle armored signatures, so force a generation of a
binary one using the --no-armor flag.
2015-06-06 15:22:33 +03:00
Pierre Schmitz
a1594ae1f6
Prepare release
2015-05-14 10:38:49 +02:00
Christian Hesse
49ad7e6dbe
fix handling of public keyring
...
Chances are that pubring.kbx has been created by gpgsm but pubring.gpg
is still around with valid data. We do not know what file contains what
we need, so just copy both.
Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2015-05-14 10:36:24 +02:00
Dave Reisner
85705363cd
prepare 20150228 release
2015-02-28 10:53:37 -05:00
Christian Hesse
4a9ecdfe15
handle gnupg 2.1.x public keyring
2015-02-28 10:48:06 -05:00
Dave Reisner
33fda4e8ff
makechrootpkg: keep all function defs together
2015-02-15 15:20:26 -05:00
Dave Reisner
db135e9013
prepare 20141224 release
...
It's an xmas miracle!
2014-12-24 10:56:41 -05:00
Dave Reisner
443aedca9a
makepkg-*.conf: add VCSCLIENTS definition
...
Needed for makepkg 4.2
2014-12-23 17:52:45 -05:00
Dave Reisner
b58fb33482
checkpkg: mask errors from lib-provides
...
bsdtar doesn't consider it an error when your --include doesn't match
anything in the archive, so we're forced to dump stderr to /dev/null
here.
Fixes: https://bugs.archlinux.org/task/42551
2014-10-25 11:36:28 -04:00
Dave Reisner
f743f58682
find-libdeps: cleanup some quoting/array concerns
2014-10-25 11:36:21 -04:00
Dave Reisner
98166e3454
prepare release 20141024
2014-10-24 09:19:17 -04:00
Dave Reisner
273d5a7a43
makechrootpkg: treat makepkg_args as array
2014-10-20 20:00:46 -04:00
Dave Reisner
e5fe74102d
makechrootpkg: don't run namcap if makepkg fails
...
Fixes a regression introduced by 285a4e94cd
, which made namcap a
"compile time" option.
2014-10-20 19:15:24 -04:00
Dave Reisner
28140068ce
makechroot: die if we encounter an unexpected option
2014-10-19 19:36:31 -04:00
Dave Reisner
bf7dc83bab
save and reuse original argv when auto-elevating
...
Fixes FS#42277.
2014-10-19 16:48:03 -04:00
Doug Newgard
cae954ddb5
checkpkg: improve soname checking
...
This makes soname checking much more robust and is explicit when a
soname change is found.
2014-10-01 20:25:59 -04:00
Dave Reisner
285a4e94cd
makechrootpkg: make running namcap a "compile time" choice
...
We don't need to pass _chrootbuild this information at runtime -- we
can just generate the build script to do exactly what we want.
2014-09-30 19:28:47 -04:00
Dave Reisner
a78bdb841d
makechrootpkg: build as same UID as invoker
...
Changing UID to that of 'nobody' is arbitrary at best, and an
information leak at worst. Let's just drop back to the same UID of the
invoker.
2014-09-30 19:28:47 -04:00
Luke Shumaker
12a1300694
makechrootpkg: Use the btrfs mountpoint/subvolume check consistently.
...
Commit 59e348fc3c
added a btrfs subvolume
check, but only used it in create_chroot(); it missed clean_temporary().
2014-09-22 08:25:43 -04:00
Luke Shumaker
625e6bd412
mkarchroot: Correct "Usage:" text.
...
The "app" hasn't been an option since arch-nspawn was created.
2014-09-22 08:25:43 -04:00