index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Felix Yan <felixonmars@archlinux.org> | 2022-11-02 00:44:50 +0000 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-01-06 16:25:46 +0100 |
commit | 112026580d21c35b505de2378f21580d274e898f (patch) | |
tree | c2281a4f96d43d8637d3f34a056ed9bb4144a801 | |
parent | f870ab6864bedcf9e5af137214aa9bc726b8299c (diff) |
-rw-r--r-- | src/makechrootpkg.in | 2 |
diff --git a/src/makechrootpkg.in b/src/makechrootpkg.in index 895c1de..5d3eaae 100644 --- a/src/makechrootpkg.in +++ b/src/makechrootpkg.in @@ -24,6 +24,7 @@ clean_first=0 run_namcap=0 run_checkpkg=0 temp_chroot=0 +tmp_opts="nosuid,nodev,size=50%,nr_inodes=2m" bindmounts_ro=() bindmounts_rw=() @@ -365,6 +366,7 @@ prepare_chroot if arch-nspawn "$copydir" \ --bind="${PWD//:/\\:}:/startdir" \ --bind="${SRCDEST//:/\\:}:/srcdest" \ + --tmpfs="/tmp:${tmp_opts}" \ "${bindmounts_ro[@]}" "${bindmounts_rw[@]}" \ /chrootbuild "${makepkg_args[@]}" then |