mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Update comment
No program change.
This commit is contained in:
parent
97d3a46b72
commit
be32e5e387
1 changed files with 2 additions and 2 deletions
|
|
@ -298,7 +298,7 @@ function post_install() {
|
|||
echo "...Mounting all other dirs."
|
||||
for n in proc sys dev tmp etc/resolv.conf; do mount --rbind "/$n" "${TARGETMOUNTPOINT}/$n"; done
|
||||
|
||||
# Copy all scripts to the target /tmp
|
||||
# Copy all scripts to the target /tmp to in chroot session.
|
||||
echo "...Copy files in current dir to ${TARGETMOUNTPOINT}/tmp."
|
||||
mkdir "${TARGETMOUNTPOINT}/tmp/kaiten-yaki"
|
||||
cp -r ./* -t "${TARGETMOUNTPOINT}/tmp/kaiten-yaki"
|
||||
|
|
@ -306,7 +306,7 @@ function post_install() {
|
|||
# Change root and create the keyfile and ramfs image for Linux kernel.
|
||||
# The here document is script executed under chroot. And here we call
|
||||
# the distribution dependent script "lib/chrooted_job_${DISTRIBUTIONSIGNATURE}.sh".
|
||||
echo "...Chroot to ${TARGETMOUNTPOINT}."
|
||||
echo "...Chroot to ${TARGETMOUNTPOINT}. and execute chrooted_job_${DISTRIBUTIONSIGNATURE}.sh"
|
||||
# shellcheck disable=SC2086
|
||||
cat <<- HEREDOC | chroot "${TARGETMOUNTPOINT}" /bin/bash
|
||||
cd /tmp/kaiten-yaki
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue