mirror of
https://github.com/truenas/scale-build.git
synced 2026-05-08 17:20:21 +01:00
ignore nfs and sub{u/g}id files in mtree (#847)
This commit is contained in:
@@ -33,11 +33,14 @@ ETC_FILES_TO_REMOVE = [
|
||||
'etc/chrony/chrony.conf',
|
||||
'etc/default/rpcbind',
|
||||
'etc/netdata/netdata.conf',
|
||||
'etc/nfs.conf',
|
||||
'etc/nginx/nginx.conf',
|
||||
'etc/proftpd/proftpd.conf',
|
||||
'etc/proftpd/tls.conf',
|
||||
'etc/snmp/snmpd.conf',
|
||||
'etc/ssh/sshd_config',
|
||||
'etc/subuid',
|
||||
'etc/subgid',
|
||||
'etc/syslog-ng/syslog-ng.conf',
|
||||
'etc/rc2.d/K01ssh', # systemd removes these symlinks on ssh start
|
||||
'etc/rc3.d/K01ssh',
|
||||
@@ -92,6 +95,7 @@ def _do_mtree_impl(mtree_file_path, version):
|
||||
'--exclude', './etc/passwd',
|
||||
'--exclude', './etc/shadow',
|
||||
'--exclude', './etc/sudoers',
|
||||
'--exclude', './etc/nfs.conf.d',
|
||||
'--exclude', './etc/nut',
|
||||
'--exclude', './etc/dhcp/dhclient.conf',
|
||||
'--exclude', './etc/pam.d/common-account',
|
||||
|
||||
Reference in New Issue
Block a user