Add sysctl files
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
name: filesystem
|
||||
description: The Tide Linux filesystem
|
||||
version: 26.01.21
|
||||
version: 26.04.14
|
||||
revision: 1
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
output_architecture: any
|
||||
type: source
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Raise default max map count
|
||||
vm.max_map_count = 1048576
|
||||
@@ -32,6 +32,7 @@ package() {
|
||||
install -dm1777 "$BPM_OUTPUT"/tmp
|
||||
install -dm1777 "$BPM_OUTPUT"/var/tmp
|
||||
install -dm1777 "$BPM_OUTPUT"/var/mail
|
||||
install -dm755 "$BPM_OUTPUT"/etc/sysctl.d
|
||||
|
||||
ln -s usr/bin "$BPM_OUTPUT"/bin
|
||||
ln -s usr/sbin "$BPM_OUTPUT"/sbin
|
||||
@@ -56,6 +57,7 @@ package() {
|
||||
install -Dm644 "$BPM_WORKDIR"/os-release "$BPM_OUTPUT"/etc/os-release
|
||||
install -Dm644 "$BPM_WORKDIR"/lsb-release "$BPM_OUTPUT"/etc/lsb-release
|
||||
install -Dm644 "$BPM_WORKDIR"/shells "$BPM_OUTPUT"/etc/shells
|
||||
install -Dm644 "$BPM_WORKDIR"/sysctl.conf "$BPM_OUTPUT"/usr/lib/sysctl.d/10-tidelinux.conf
|
||||
install -Dm644 "$BPM_WORKDIR"/tidelinux-logo{,-full}.png -t "$BPM_OUTPUT"/usr/share/pixmaps/
|
||||
|
||||
touch "$BPM_OUTPUT"/etc/subuid
|
||||
|
||||
Reference in New Issue
Block a user