Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Gerardo Exequiel Pozzi 231496c82a mkarchroot: use bind mount instead of symlink for /dev/ptmx
We need /dev/ptmx -> /dev/pts/ptmx (for devpts -o newinstance)
Other way to do this thing is via bind mount (as said kernel doc[devpts.txt]).

This should be done in this way at least for /dev as devtmpfs in the chroot.
Since we can not touch /dev (devtmpfs), because devtmpfs is "singleton",
just use bind method and avoid interference.

Do it the same for both modes of /dev (tmpfs) and (devtmpfs) to keep it simple.

Currently devpts in chroot is not working without this when using /dev as devtmpfs,
this fixes this issue (opening /dev/ptmx, creates devices nodes on outside /dev/pts)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-06-10 12:57:14 +02:00
lib archrelease: Validate tags before releasing 2012-02-12 12:35:14 +01:00
.gitignore Add script to move packages between [extra] and [community] 2012-03-05 01:48:27 +01:00
Makefile Move bash_completion to /usr/share/bash-completion/completions/ 2012-03-21 07:32:44 +01:00
archbuild.in Set correct pacman.conf 2012-01-18 16:56:41 +01:00
archco.in Use double brackets everywhere 2011-12-04 18:00:57 +01:00
archrelease.in Gracefully handle files containing an "@" 2012-06-10 12:47:40 +02:00
archrm.in Use double brackets everywhere 2011-12-04 18:00:57 +01:00
bash_completion.in Support non-standard install locations 2011-10-07 21:53:02 +02:00
checkpkg.in Move common functions to a shared file 2011-11-01 15:33:08 +01:00
commitpkg.in Gracefully handle files containing an "@" 2012-06-10 12:47:40 +02:00
crossrepomove.in Add script to move packages between [extra] and [community] 2012-03-05 01:48:27 +01:00
find-libdeps.in find-libdeps: fix extraction of soname 2012-03-04 22:25:22 +01:00
finddeps.in Move common functions to a shared file 2011-11-01 15:33:08 +01:00
lddd.in Use #!/bin/bash instead of #!/bin/sh 2011-12-20 23:05:38 +01:00
makechrootpkg.in makechrootpkg: Install the built packages before running namcap to reduce false positives and check inter split package dependencies. 2012-03-05 16:28:09 +01:00
makepkg-i686.conf Apply pacman 4.0 changes to our copies of makepkg.conf and pacman.conf 2011-10-14 09:09:46 +02:00
makepkg-x86_64.conf Apply pacman 4.0 changes to our copies of makepkg.conf and pacman.conf 2011-10-14 09:09:46 +02:00
mkarchroot.in mkarchroot: use bind mount instead of symlink for /dev/ptmx 2012-06-10 12:57:14 +02:00
pacman-extra.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
pacman-gnome-unstable.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
pacman-kde-unstable.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
pacman-multilib-staging.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
pacman-multilib-testing.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
pacman-multilib.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
pacman-staging.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
pacman-testing.conf Remove any pacman 4 related workarounds 2012-01-18 11:24:07 +01:00
rebuildpkgs.in Use double brackets everywhere 2011-12-04 18:00:57 +01:00
zsh_completion.in archrelease: Validate tags before releasing 2012-02-12 12:35:14 +01:00