diff --git a/config/hooks/live/0000_basic_chroot_setup.chroot b/config/hooks/live/0000_basic_chroot_setup.chroot index b749211..5e6d457 100644 --- a/config/hooks/live/0000_basic_chroot_setup.chroot +++ b/config/hooks/live/0000_basic_chroot_setup.chroot @@ -213,6 +213,11 @@ chmod 0700 /root/.ciss/dlb/{backup,log} mkdir -p /root/git chmod 0700 /root/git +### Mask apt show version unit and timer. +ln -sf /dev/null /etc/systemd/system/apt-show-versions.timer +ln -sf /dev/null /etc/systemd/system/apt-show-versions.service +rm -f /etc/cron.daily/apt-show-versions || true + printf "\e[92m++++ ++++ ++++ ++++ ++++ ++++ ++ ✅ '%s' applied successfully. \e[0m\n" "${0}" exit 0 diff --git a/scripts/usr/local/sbin/9999-cdi-starter b/scripts/usr/local/sbin/9999-cdi-starter index 4d6f34b..29345a6 100644 --- a/scripts/usr/local/sbin/9999-cdi-starter +++ b/scripts/usr/local/sbin/9999-cdi-starter @@ -140,6 +140,9 @@ main() { net_wait printf "Command: [net_wait] executed.\n" >> "${var_log}" + ### apt update. + apt-get update >> "${var_log}" + ### Download CISS.debian.installer. cd /root/git [[ -d "${var_repo_dir}" ]] && rm -rf "${var_repo_dir}"