CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
initrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa676cd
)
Added setup-chroot script as it is from upstream.
author
Jose V Beneyto
<sepen@crux.nu>
Fri, 1 Jun 2012 09:50:47 +0000
(09:50 +0000)
committer
Jose V Beneyto
<sepen@crux.nu>
Fri, 1 Jun 2012 09:50:47 +0000
(09:50 +0000)
filesystem/setup-chroot
[new file with mode: 0755]
patch
|
blob
diff --git a/filesystem/setup-chroot
b/filesystem/setup-chroot
new file mode 100755
(executable)
index 0000000..
1d453d8
--- /dev/null
+++ b/
filesystem/setup-chroot
@@ -0,0
+1,10
@@
+#!/bin/sh
+
+mount --bind /dev /mnt/dev
+mount --bind /tmp /mnt/tmp
+mount -t proc proc /mnt/proc
+mount -t sysfs none /mnt/sys
+mount -t devpts devpts /mnt/dev/pts
+
+chroot /mnt /bin/bash
+