This commit is contained in:
zj
2026-01-23 05:29:02 +08:00
parent 633611cbcf
commit 6a1425921b
3 changed files with 23 additions and 5 deletions

View File

@@ -59,8 +59,8 @@ backend: pacman
# Therefore set also "update_system" to 'true'. # Therefore set also "update_system" to 'true'.
# #
skip_if_no_internet: false skip_if_no_internet: false
update_db: false update_db: true
update_system: false update_system: true
# pacman specific options # pacman specific options
# #
@@ -76,7 +76,7 @@ update_system: false
# when set to true. If missing, false is assumed. # when set to true. If missing, false is assumed.
pacman: pacman:
num_retries: 0 num_retries: 0
disable_download_timeout: false disable_download_timeout: true
needed_only: false needed_only: false
# #
@@ -202,6 +202,17 @@ pacman:
# of packages, this can lead to a considerable time savings. # of packages, this can lead to a considerable time savings.
# #
operations: 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: - try_remove:
- plasma-framework5 - plasma-framework5
- kpmcore - kpmcore

View File

@@ -16,3 +16,4 @@ script:
- "- systemctl enable smarttms.service" - "- systemctl enable smarttms.service"
- "- systemctl enable mysqld.service" - "- systemctl enable mysqld.service"
- "- systemctl enable todeskd.service" - "- systemctl enable todeskd.service"
- "- /usr/bin/chmod 777 -R /media/*"

View File

@@ -74,5 +74,11 @@ timeout: 999
# ignored; the slowloris command has a different timeout from the # ignored; the slowloris command has a different timeout from the
# other commands in the list): # other commands in the list):
script: 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 --init"
- "-/usr/bin/pacman-key --populate" - "-/usr/bin/pacman-key --populate"
- "-/usr/bin/pacman -Sy"