Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debootstrap setup #331

Merged
merged 4 commits into from Feb 13, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
debootstrap: Improve devpts mounting
Debootstrap in all recent debian based distribution makes /dev/ptmx a
symlink to /dev/pts/ptmx. Adjust the ptmxmode mount option to give the
latter usable permissions and enable private instance usage (available
in linux since 2.6.29).
  • Loading branch information
sjoerdsimons committed Feb 8, 2017
commit fc08c45072851779ce67fa2f92e509dc39e5ed27
2 changes: 1 addition & 1 deletion build-recipe-debootstrap
Expand Up @@ -67,7 +67,7 @@ recipe_build_debootstrap() {

# Mount special filesystem in the debootstrap build root
mount -n -tproc none $BUILD_ROOT/$myroot/proc
mount -n -tdevpts -omode=0620,gid=5 none $BUILD_ROOT/$myroot/dev/pts
mount -n -tdevpts -omode=0620,ptmxmode=0666,gid=5,newinstance, none $BUILD_ROOT/$myroot/dev/pts
mkdir -p $BUILD_ROOT/$myroot/dev/shm
mount -n -ttmpfs none $BUILD_ROOT/$myroot/dev/shm

Expand Down