mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
base-files: enable PID in core files and protected hard/soft links via sysctl.conf(5).
This commit is contained in:
parent
2fc752c48a
commit
32423dcebf
2 changed files with 10 additions and 1 deletions
6
srcpkgs/base-files/files/sysctl.conf
Normal file
6
srcpkgs/base-files/files/sysctl.conf
Normal file
|
@ -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
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.108
|
version=0.109
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style="meta"
|
build_style="meta"
|
||||||
|
@ -49,8 +49,11 @@ do_install() {
|
||||||
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
||||||
install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc
|
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}/usb-load-ehci-first 644 usr/lib/modprobe.d usb-load-ehci-first.conf
|
||||||
vinstall ${FILESDIR}/blacklist.conf 644 usr/lib/modprobe.d
|
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.
|
# Install common licenses, from Debian.
|
||||||
vmkdir usr/share/licenses
|
vmkdir usr/share/licenses
|
||||||
|
|
Loading…
Add table
Reference in a new issue