From 6a1425921b3ce68e3ae1bfc8915d9091af9b8262 Mon Sep 17 00:00:00 2001 From: zj <1052308357@qq.comm> Date: Fri, 23 Jan 2026 05:29:02 +0800 Subject: [PATCH] fix23 --- .../etc/calamares/modules/packages.conf | 17 ++++++++++++++--- .../calamares/modules/post-install-config.conf | 3 ++- .../calamares/modules/shellprocess-before.conf | 8 +++++++- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/tms-calamares-config/etc/calamares/modules/packages.conf b/tms-calamares-config/etc/calamares/modules/packages.conf index 407b7a3..0b1c330 100644 --- a/tms-calamares-config/etc/calamares/modules/packages.conf +++ b/tms-calamares-config/etc/calamares/modules/packages.conf @@ -59,8 +59,8 @@ backend: pacman # Therefore set also "update_system" to 'true'. # skip_if_no_internet: false -update_db: false -update_system: false +update_db: true +update_system: true # pacman specific options # @@ -76,7 +76,7 @@ update_system: false # when set to true. If missing, false is assumed. pacman: num_retries: 0 - disable_download_timeout: false + disable_download_timeout: true needed_only: false # @@ -202,6 +202,17 @@ pacman: # of packages, this can lead to a considerable time savings. # operations: + - try_install: + - websockify + - tms-barco-tools + - tms-wine-dcc + - tms-vsftpd-config + - tms-oracle-jdk8 + - tms-mysql + - tms-grub-theme-git + - tms-bbt + - tms-bbt-config + - sunloginclient - try_remove: - plasma-framework5 - kpmcore diff --git a/tms-calamares-config/etc/calamares/modules/post-install-config.conf b/tms-calamares-config/etc/calamares/modules/post-install-config.conf index 4295c8b..4c8380a 100644 --- a/tms-calamares-config/etc/calamares/modules/post-install-config.conf +++ b/tms-calamares-config/etc/calamares/modules/post-install-config.conf @@ -15,4 +15,5 @@ script: - "- rm -rf ${ROOT}/media/kdm/.*" - "- systemctl enable smarttms.service" - "- systemctl enable mysqld.service" - - "- systemctl enable todeskd.service" \ No newline at end of file + - "- systemctl enable todeskd.service" + - "- /usr/bin/chmod 777 -R /media/*" \ No newline at end of file diff --git a/tms-calamares-config/etc/calamares/modules/shellprocess-before.conf b/tms-calamares-config/etc/calamares/modules/shellprocess-before.conf index aaf0243..99cc5f2 100644 --- a/tms-calamares-config/etc/calamares/modules/shellprocess-before.conf +++ b/tms-calamares-config/etc/calamares/modules/shellprocess-before.conf @@ -74,5 +74,11 @@ timeout: 999 # ignored; the slowloris command has a different timeout from the # other commands in the list): script: + - "-/usr/bin/rm -f /etc/resolv.conf" + - "-echo 'nameserver 223.5.5.5' > /etc/resolv.conf" + - "-echo 'nameserver 114.114.114.114' >> /etc/resolv.conf" + - "-echo 'nameserver 8.8.8.8' >> /etc/resolv.conf" + - "-/usr/bin/systemctl restart NetworkManager" - "-/usr/bin/pacman-key --init" - - "-/usr/bin/pacman-key --populate" \ No newline at end of file + - "-/usr/bin/pacman-key --populate" + - "-/usr/bin/pacman -Sy" \ No newline at end of file