Install sysctl.conf only on those architectures where needed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-04-11 12:12:16 +00:00
parent b119887b50
commit 7ae1dcb33e
7 changed files with 178 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ etc/profile.d/term256.sh
etc/profile.d/umask.sh
etc/resolv.conf
etc/securetty
#etc/sysctl-x86_64.conf
etc/sysctl-aarch64.conf
etc/sysctl.conf
etc/syslog.conf
etc/system-release

View File

@@ -0,0 +1,176 @@
bin/bash
bin/cat
bin/echo
bin/pwd
bin/stty
#boot
etc/bashrc
etc/certparams
etc/e2fsck.conf
etc/fstab
etc/group
etc/hddtemp.db
etc/host.conf
etc/inittab
etc/inputrc
etc/ipsec.user.conf
etc/ipsec.user.secrets
etc/issue
etc/ld.so.conf
etc/logrotate.conf
etc/mime.types
etc/modprobe.d
etc/modprobe.d/btmrvl_sdio.conf
etc/modprobe.d/cfg80211.conf
etc/modprobe.d/nf_conntrack.conf
etc/modprobe.d/pcspeaker.conf
etc/modules.conf
etc/mtab
etc/nsswitch.conf
#etc/opt
etc/os-release
etc/passwd
etc/profile
#etc/profile.d
etc/profile.d/colorls.sh
etc/profile.d/extrapaths.sh
etc/profile.d/glib2-locale.sh
etc/profile.d/i18n.sh
etc/profile.d/lang.sh
etc/profile.d/readline.sh
etc/profile.d/term256.sh
etc/profile.d/umask.sh
etc/resolv.conf
etc/securetty
etc/sysctl.conf
etc/sysctl-armv5tel.conf
etc/syslog.conf
etc/system-release
#home
home/nobody
#lib
#lib/firmware
#lib/firmware/brcm
lib/firmware/brcm/brcmfmac43362-sdio.txt
#media
media/cdrom
media/floppy
media/usbkey
mnt
#opt
#opt/pakfire
#opt/pakfire/db
#opt/pakfire/db/core
opt/pakfire/db/core/mine
#root
root/.bash_logout
root/.bash_profile
root/.bashrc
root/ipfire
run
#sbin
#srv
#usr/bin
usr/bin/captive-cleanup
#usr/bin/perl
#usr/include
#usr/lib
usr/lib/firewall
usr/lib/firewall/firewall-lib.pl
usr/lib/firewall/ipsec-policy
usr/lib/firewall/rules.pl
#usr/lib/libgcc_s.so
usr/lib/libgcc_s.so.1
#usr/lib/libstdc++.la
#usr/lib/libstdc++.so
usr/lib/libstdc++.so.6
#usr/local
#usr/local/bin
#usr/local/bin/archive.files
usr/local/bin/backupiso
usr/local/bin/connscheduler
usr/local/bin/consort.sh
usr/local/bin/convert-dns-settings
usr/local/bin/convert-ovpn
usr/local/bin/convert-to-location
usr/local/bin/filesystem-cleanup
usr/local/bin/hddshutdown
usr/local/bin/ipsec-interfaces
usr/local/bin/makegraphs
usr/local/bin/qosd
usr/local/bin/readhash
usr/local/bin/rebuild-initrd
usr/local/bin/run-parts
usr/local/bin/scanhd
usr/local/bin/settime
usr/local/bin/timecheck
usr/local/bin/timezone-transition
usr/local/bin/update-lang-cache
usr/local/bin/update-ids-ruleset
usr/local/bin/update-location-database
#usr/local/include
#usr/local/lib
#usr/local/sbin
#usr/local/share
#usr/local/share/doc
#usr/local/share/info
#usr/local/share/locale
#usr/local/share/man
#usr/local/share/man/man1
#usr/local/share/man/man2
#usr/local/share/man/man3
#usr/local/share/man/man4
#usr/local/share/man/man5
#usr/local/share/man/man6
#usr/local/share/man/man7
#usr/local/share/man/man8
#usr/local/share/misc
#usr/local/share/terminfo
#usr/local/share/xt_geoip
#usr/local/share/zoneinfo
#usr/local/src
#usr/sbin
usr/sbin/openvpn-metrics
usr/sbin/ovpn-ccd-convert
usr/sbin/ovpn-collectd-convert
#usr/share
#usr/share/doc
#usr/share/doc/licenses
usr/share/doc/licenses/GPLv3
#usr/share/info
#usr/share/locale
#usr/share/man
#usr/share/man/man1
#usr/share/man/man2
#usr/share/man/man3
#usr/share/man/man4
#usr/share/man/man5
#usr/share/man/man6
#usr/share/man/man7
#usr/share/man/man8
#usr/share/misc
#usr/share/terminfo
#usr/share/xt_geoip
#usr/share/zoneinfo
#var
#var/cache
var/empty
#var/lib
#var/lib/locate
#var/lib/misc
#var/local
var/lock
#var/log
var/log/btmp
var/log/calamaris
var/log/counter
var/log/lastlog
var/log/wtmp
var/mail
#var/opt
var/run
#var/spool
var/tmp
dev/console
dev/null
tmp

View File

@@ -43,7 +43,6 @@ etc/profile.d/umask.sh
etc/resolv.conf
etc/securetty
etc/sysctl.conf
#etc/sysctl-x86_64.conf
etc/syslog.conf
etc/system-release
#home

View File

@@ -85,6 +85,7 @@ endif
# Config files
cp -rvf $(DIR_SRC)/config/etc/* /etc;
[ ! -d "$(DIR_SRC)/config/etc-$(BUILD_ARCH)" ] || cp -rvf $(DIR_SRC)/config/etc-$(BUILD_ARCH)/* /etc
cp -rvf $(DIR_SRC)/config/lib/* /lib;
touch /etc/{fs,m}tab
echo "$(NAME) v$(VERSION) - $(SLOGAN)" > /etc/issue