mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
parent
e5417d78a3
commit
c9b6941294
1 changed files with 1 additions and 3 deletions
|
|
@ -296,9 +296,7 @@ function post_install() {
|
||||||
|
|
||||||
# And mount other directories
|
# And mount other directories
|
||||||
echo "...Mounting all other dirs."
|
echo "...Mounting all other dirs."
|
||||||
mount --make-slave "${TARGETMOUNTPOINT}"
|
for n in proc sys dev tmp etc/resolv.conf; do mount --rbind "/$n" "${TARGETMOUNTPOINT}/$n"; done
|
||||||
mount --rbind /etc/resolv.conf "${TARGETMOUNTPOINT}"/resolv.conf
|
|
||||||
# for n in proc sys dev tmp etc/resolv.conf; do mount --rbind "/$n" "${TARGETMOUNTPOINT}/$n"; done
|
|
||||||
|
|
||||||
# Copy all scripts to the target /tmp for using in chroot session.
|
# Copy all scripts to the target /tmp for using in chroot session.
|
||||||
echo "...Copy files in current dir to ${TARGETMOUNTPOINT}/tmp."
|
echo "...Copy files in current dir to ${TARGETMOUNTPOINT}/tmp."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue