summaryrefslogtreecommitdiffstats
path: root/core/includes/chroot.inc
Commit message (Collapse)AuthorAgeFilesLines
* [inc/chroot] Delete preload .so after chroot exitSimon Rettberg2023-01-131-0/+1
|
* [inc/chroot] Fix minor issues, work-around tmfs umount weirdnessSimon Rettberg2023-01-041-52/+31Star
| | | | | | | | | It seems if we mount a tmfs after establishing a bind-mount of /, we get an additional entry in /proc/mounts, and unmounting either one will remove the other one too. This breaks keeping the upperdir of a chroot in case of failure, making debugging hard. Change the order: mount the tmpfs first, then the bind-mount of /. This avoids the additional entry and keeps the upperdir around.
* [chroot] Add preload lib crap for close_rangeSimon Rettberg2022-12-121-0/+15
| | | | | | For some reason in our chroot we get a permission denied for close_range calls, which breaks the vmware 17 installer. Add a shim that falls back to close instead.
* [inc/chroot] tmpfs: 2 -> 4 GB (was not enough for recent NVIDIA)Simon Rettberg2022-06-131-1/+1
|
* chroot.inc: skip bind mounts of inexistant dirsJonathan Bauer2021-05-181-0/+4
|
* Change the mail address for feedback in file headersSteffen Ritter2021-04-291-1/+1
| | | | * old address will be disabled in the future
* [chroot] tmpfs size = 2GSimon Rettberg2020-12-091-1/+1
|
* [inc/chroot] Add tmpfs layer for upperdirSimon Rettberg2020-03-101-57/+55Star
| | | | | | | Newer kernels do not allow the upperdir to be a subdirectory of the lowerdir, which was always the case for us since lowerdir == / Make the whole chroot mess even more confusing by introducing more mounts and variables and directories.
* chroot.inc: do not fail on empty whiteout listv26Jonathan Bauer2020-02-111-0/+1
|
* chroot.inc: do not create empty overlay listsJonathan Bauer2020-02-111-2/+1Star
|
* chroot.inc: fix broken ||Jonathan Bauer2019-11-281-1/+1
|
* chroot.inc: formattingJonathan Bauer2019-11-271-13/+13
|
* [all] New license clauses as to ticket #3132: No more openSLX GmbHChristian Rößler2018-09-191-6/+7
|
* [chroot.inc] remove unneeded pinfoJonathan Bauer2018-03-201-1/+0Star
|
* [chroot] perror if touching whiteout list failedJonathan Bauer2018-01-291-1/+1
|
* [chroot.inc] Fix generating whiteout list on newer kernelsSimon Rettberg2017-11-291-3/+4
| | | | | | overlayfs switched from using symlinks to '(overlay-whiteout)' to creating character devices with all permission bits zero. Fix the find expression that gathers all the whiteouts.
* [inc/chroot] Improbe unmount logic ;)Simon Rettberg2017-11-201-28/+83
|
* Add bash shebangs to all our includes:Simon Rettberg2017-02-281-0/+1
| | | | | | | github misidentifies lots of includes in its code stats and syntax highlighting. Try to make it a nicer place by giving it a hint via that shebang. It's actually useless in files that are being sourced, but it doesn't hurt either.
* merge with latest dev versionSebastian2016-04-251-0/+248