Bjørn Forsman
ad49db64da
build-fhs-chrootenv: add /etc/mtab -> /proc/mounts symlink
...
Needed to be able to run some programs (e.g. tune2fs) in the chroot.
AFAIK, /etc/mtab is deprecated, but programs still use it.
2015-10-21 21:44:29 +02:00
Nikolay Amiantov
da38314be6
buildFHSEnv: create /etc/profile with writeText
...
This should avoid accidential expansion of variables, i.e. in
"export PATH=/some/path:$PATH"
$PATH would have been expanded in the environment builder!
2015-10-21 16:02:08 +03:00
Nikolay Amiantov
ab730370ba
chroot-env: simplify, clean directories structure
2015-10-12 17:38:35 +03:00
Bjørn Forsman
05668fbe92
build-fhs-chrootenv: add /etc/os-release from host
...
This allows software inside the chroot to identify the host OS via the
standard /etc/os-release file.
2015-10-03 14:58:41 +02:00
Bjørn Forsman
cd22214e0e
build-fhs-chrootenv: add missing /usr/include
...
This patch brings the include/ directories of all specified packages to
appear under /usr/include in the FHS chroot. As per spec[1].
[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#USRINCLUDEDIRECTORYFORSTANDARDINCLU
2015-10-02 19:13:41 +02:00
Nikolay Amiantov
ec27ba44d0
build-fhs-{chroot,user}env: expose sockets in /tmp
2015-08-24 01:47:19 +03:00
Nikolay Amiantov
de487c5c99
fhs-chrootenv: propagate SSL_CERT_FILE
2015-04-22 17:50:40 +03:00
Nikolay Amiantov
68fabf295d
fhs-chrootenv-env: cleanup
2015-04-22 17:50:40 +03:00
Nikolay Amiantov
7a01374bf3
fhs-chrootenv-env: refactor /etc build and add ssl certs
2015-04-22 17:50:40 +03:00
Nikolay Amiantov
3e395b71da
chroot-env: add locales, refactor environment
2015-03-09 17:29:43 +03:00
Nikolay Amiantov
e3ab3df26e
chroot-env: ignore collisions and fix permissions
2015-03-09 17:29:43 +03:00
Nikolay Amiantov
4aba7639c8
chroot-env: build /etc
2015-03-09 17:29:43 +03:00
Nikolay Amiantov
b002fdd89f
buiildFHSEnv: check if multiPkgs is empty
...
Fixes #6486
2015-02-23 13:54:41 +03:00
Nikolay Amiantov
3500978b8f
build-fhs-*: prefer local build
2015-02-05 20:39:01 +03:00
Nikolay Amiantov
b3ee378f50
buildFHSChrootEnv: split environment and chroot scripts
2015-02-05 19:46:00 +03:00
Eric Seidel
b070eacfcd
rename occurrences of cc.gcc to cc.cc
2015-01-14 20:51:58 -08:00
Chris Double
40791a4ec5
Fix build-fhs-chrootenv mount script
2014-10-22 10:39:17 +02:00
Christoph Hrdinka
4f5b4ceb85
build-fhs-chrootenv: bind mount chroots /tmp to hosts /tmp
2014-09-09 12:10:54 +02:00
Christoph Hrdinka
573aa18e9f
steam: fix extraBuildCommandsMulti on i686
2014-09-06 00:25:49 +02:00
Christoph Hrdinka
c376b1afa0
build-fhs-chrootenv: fix gcc libs on i686
2014-09-06 00:25:49 +02:00
Christoph Hrdinka
64f873461f
build-fhs-chrootenv: fix gcc libs on x86
2014-09-06 00:25:49 +02:00
Christoph Hrdinka
2d912e29d5
build-fhs-chrootenv: fix gcc_multi paths
2014-09-06 00:25:49 +02:00
Christoph Hrdinka
72b1f874ef
buildFHSChrootEnv: fix merge error
2014-09-06 00:25:48 +02:00
Christoph Hrdinka
c5f51039f4
steam: fix steam on x86_64
2014-09-06 00:25:48 +02:00
Aristid Breitkreuz
eb928c5d46
fhs-chrootenv: use -l to umount for the rbind mount
2014-05-22 22:18:30 +02:00
Aristid Breitkreuz
ecee297a18
fhs-chrootenv (steam): support directly using users other than root, fix sound support, fix /run/user
2014-05-22 22:01:00 +02:00
Chris Double
a6ddfbceac
Add -p to mkdir in build-fhs-chrootenv to prevent error if directory exists
2014-05-15 18:38:45 +12:00
Sander van der Burg
104c841c85
Move su to the base packages of chrootenv builder
2014-04-18 13:30:24 +02:00
Sander van der Burg
28d8e93871
My attempt to get Steam working in NixOS. It uses a function called buildFHSChrootEnv {} that composed chroot environments. In such a chroot environment, I could run Steam without much problem
2013-09-13 23:58:59 +02:00