Skip to content

Commit

Permalink
Update 01_build_file_system.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored May 11, 2024
1 parent ae60f0f commit 9adc259
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 01_build_file_system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ mount --bind /dev "${CHROOT_PATH}/dev"
mount --bind /run "${CHROOT_PATH}/run"

cp -r "${ROOT_PATH}/files" "${CHROOT_PATH}/tmp/setup_files"
chroot "${CHROOT_PATH}" /bin/bash -c "KERNEL_VERSION=${KERNEL_VERSION} CODENAME=${CODENAME} /tmp/setup_files/chroot_build.sh"
chroot "${CHROOT_PATH}" /bin/bash -c "KERNEL_VERSION=${KERNEL_VERSION} CODENAME=${CODENAME} cat /etc/resolv.conf"
exit 0

echo >&2 "===]> Info: Cleanup the chroot environment... "
# In docker there is no run?
Expand Down

0 comments on commit 9adc259

Please sign in to comment.