mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
base-files: Install a sysctl.conf file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5077 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
#
|
||||||
|
# Configuration file for setting system variables in /proc
|
||||||
|
#
|
||||||
|
|
||||||
|
#kernel.domainname = example.com
|
||||||
|
#net/ipv4/icmp_echo_ignore_broadcasts=1
|
||||||
|
|
||||||
|
# the following stops low-level messages on console
|
||||||
|
#kernel.printk = 4 4 1 7
|
||||||
|
|
||||||
|
# enable /proc/$pid/maps privacy so that memory relocations are not
|
||||||
|
# visible to other users.
|
||||||
|
#kernel.maps_protect = 1
|
||||||
|
|
||||||
|
##############################################################3
|
||||||
|
# Functions previously found in netbase
|
||||||
|
#
|
||||||
|
|
||||||
|
# Uncomment the next line to enable Spoof protection (reverse-path filter)
|
||||||
|
#net.ipv4.conf.default.rp_filter=1
|
||||||
|
|
||||||
|
# Uncomment the next line to enable TCP/IP SYN cookies
|
||||||
|
#net.ipv4.tcp_syncookies=1
|
||||||
|
|
||||||
|
# Uncomment the next line to enable packet forwarding for IPv4
|
||||||
|
#net.ipv4.conf.default.forwarding=1
|
||||||
|
|
||||||
|
# Uncomment the next line to enable packet forwarding for IPv6
|
||||||
|
#net.ipv6.conf.default.forwarding=1
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
DESCRIPTION = "Miscellaneous files for the base system."
|
DESCRIPTION = "Miscellaneous files for the base system."
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
PRIORITY = "required"
|
PRIORITY = "required"
|
||||||
PR = "r61"
|
PR = "r62"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
@@ -16,6 +16,7 @@ SRC_URI = " \
|
|||||||
file://issue.net \
|
file://issue.net \
|
||||||
file://issue \
|
file://issue \
|
||||||
file://usbd \
|
file://usbd \
|
||||||
|
file://sysctl.conf \
|
||||||
file://share/dot.bashrc \
|
file://share/dot.bashrc \
|
||||||
file://share/dot.profile \
|
file://share/dot.profile \
|
||||||
file://licenses/BSD \
|
file://licenses/BSD \
|
||||||
@@ -105,6 +106,7 @@ do_install () {
|
|||||||
install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation
|
install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/
|
||||||
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
|
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
|
||||||
install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
|
install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
|
||||||
install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
|
install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
|
||||||
|
|||||||
Reference in New Issue
Block a user