V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -32,8 +32,8 @@ installation_packages() {
|
||||
chroot_script "${TARGET}" "
|
||||
export INITRD=No
|
||||
[[ -r /root/ciss_xdg_tmp.sh ]] && . /root/ciss_xdg_tmp.sh
|
||||
apt-get update -qq 2>&1 | tee -a ${var_logfile}
|
||||
apt-get upgrade -y 2>&1 | tee -a ${var_logfile}
|
||||
apt-get update -qq 2>&1 | tee -a ${var_logfile}
|
||||
apt-get -y dist-upgrade 2>&1 | tee -a ${var_logfile} # (= apt full-upgrade) allow installs/replacements/removals.
|
||||
"
|
||||
fi
|
||||
|
||||
@@ -46,9 +46,9 @@ installation_packages() {
|
||||
chroot_script "${TARGET}" "
|
||||
export INITRD=No
|
||||
[[ -r /root/ciss_xdg_tmp.sh ]] && . /root/ciss_xdg_tmp.sh
|
||||
apt-get autoclean -y 2>&1 | tee -a ${var_logfile}
|
||||
apt-get autopurge -y 2>&1 | tee -a ${var_logfile}
|
||||
apt-get autoremove -y 2>&1 | tee -a ${var_logfile}
|
||||
apt-get autoremove --purge -y 2>&1 | tee -a ${var_logfile} # 'autopurge' == 'autoremove --purge'; don't run both.
|
||||
apt-get clean -y 2>&1 | tee -a ${var_logfile} # Stronger than autoclean: removes the entire '.deb'-cache.
|
||||
rm -rf /var/lib/apt/lists/* -y 2>&1 | tee -a ${var_logfile} # Will be repopulate on next 'apt update'.
|
||||
"
|
||||
|
||||
guard_dir && return 0
|
||||
|
||||
@@ -15,7 +15,7 @@ guard_sourcing
|
||||
### https://github.com/linux-audit/audit-userspace/tree/master/rules
|
||||
|
||||
#######################################
|
||||
# Installs 'aide', 'audit', and 'debsums' audit and logging packages.
|
||||
# Installs 'acct', 'aide', 'audit', and 'debsums' audit and logging packages.
|
||||
# Finalizes 'rkhunter' baseline.
|
||||
# Globals:
|
||||
# TARGET
|
||||
|
||||
Reference in New Issue
Block a user