diff --git a/srcpkgs/base-files/files/sysctl.conf b/srcpkgs/base-files/files/sysctl.conf new file mode 100644 index 00000000000..5a8442f925c --- /dev/null +++ b/srcpkgs/base-files/files/sysctl.conf @@ -0,0 +1,6 @@ +# Append the PID to the core filename +kernel.core_uses_pid = 1 + +# Enable hard and soft link protection +fs.protected_hardlinks=1 +fs.protected_symlinks=1 diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index 378b563d05a..c0fbf23ec7f 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -1,6 +1,6 @@ # Template file for 'base-files' pkgname=base-files -version=0.108 +version=0.109 revision=1 bootstrap=yes build_style="meta" @@ -49,8 +49,11 @@ do_install() { install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc + # modprobe(8) files vinstall ${FILESDIR}/usb-load-ehci-first 644 usr/lib/modprobe.d usb-load-ehci-first.conf vinstall ${FILESDIR}/blacklist.conf 644 usr/lib/modprobe.d + # sysctl(8) files + vinstall ${FILESDIR}/sysctl.conf 644 usr/lib/sysctl.d void.conf # Install common licenses, from Debian. vmkdir usr/share/licenses