Commit 220c60f7 authored by Chaoting Liu's avatar Chaoting Liu 😖

make_chroot.sh: remove redundant useless 'sudo -v'

parent d0a685a6
......@@ -101,9 +101,6 @@ pre_install_packages() {
}
install_packages() {
# Initialize sudo
sudo -v
msg "Installing chroot '$chroot_name'"
sudo LC_ALL=C pacstrap \
-C "$pacman_conf" \
......@@ -116,8 +113,6 @@ install_packages() {
}
create_chroot() {
sudo -v
status_start "Configuring system..."
sudo cp /etc/resolv.conf "${chroot_dir}/etc" &>/dev/null
if [[ ! -f "${chroot_dir}/etc/${pacman_conf}.bak" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment