Add sysctl files

This commit is contained in:
2026-04-16 16:48:39 +03:00
parent f1d934c020
commit bbec5517ee
3 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
name: filesystem name: filesystem
description: The Tide Linux filesystem description: The Tide Linux filesystem
version: 26.01.21 version: 26.04.14
revision: 1 revision: 1
maintainers:
- [email protected]
architecture: any architecture: any
output_architecture: any output_architecture: any
type: source type: source
+2
View File
@@ -0,0 +1,2 @@
# Raise default max map count
vm.max_map_count = 1048576
+2
View File
@@ -32,6 +32,7 @@ package() {
install -dm1777 "$BPM_OUTPUT"/tmp install -dm1777 "$BPM_OUTPUT"/tmp
install -dm1777 "$BPM_OUTPUT"/var/tmp install -dm1777 "$BPM_OUTPUT"/var/tmp
install -dm1777 "$BPM_OUTPUT"/var/mail install -dm1777 "$BPM_OUTPUT"/var/mail
install -dm755 "$BPM_OUTPUT"/etc/sysctl.d
ln -s usr/bin "$BPM_OUTPUT"/bin ln -s usr/bin "$BPM_OUTPUT"/bin
ln -s usr/sbin "$BPM_OUTPUT"/sbin 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"/os-release "$BPM_OUTPUT"/etc/os-release
install -Dm644 "$BPM_WORKDIR"/lsb-release "$BPM_OUTPUT"/etc/lsb-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"/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/ install -Dm644 "$BPM_WORKDIR"/tidelinux-logo{,-full}.png -t "$BPM_OUTPUT"/usr/share/pixmaps/
touch "$BPM_OUTPUT"/etc/subuid touch "$BPM_OUTPUT"/etc/subuid