summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-08-19 17:14:28 +0000
committerRichard Purdie <richard@openedhand.com>2008-08-19 17:14:28 +0000
commit2bee9ce9ef24d703d153b36b92b8f14dc02f018f (patch)
tree35c7bc164d247fca6afc0af31d4e3c23cc359b51 /meta
parenta456abafce40df08afeb7cf0eac5cd1cdfac18ee (diff)
downloadpoky-2bee9ce9ef24d703d153b36b92b8f14dc02f018f.tar.gz
base-files: Install a sysctl.conf file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5077 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/base-files/base-files/sysctl.conf29
-rw-r--r--meta/packages/base-files/base-files_3.0.14.bb4
2 files changed, 32 insertions, 1 deletions
diff --git a/meta/packages/base-files/base-files/sysctl.conf b/meta/packages/base-files/base-files/sysctl.conf
new file mode 100644
index 0000000000..d466a94eed
--- /dev/null
+++ b/meta/packages/base-files/base-files/sysctl.conf
@@ -0,0 +1,29 @@
1#
2# Configuration file for setting system variables in /proc
3#
4
5#kernel.domainname = example.com
6#net/ipv4/icmp_echo_ignore_broadcasts=1
7
8# the following stops low-level messages on console
9#kernel.printk = 4 4 1 7
10
11# enable /proc/$pid/maps privacy so that memory relocations are not
12# visible to other users.
13#kernel.maps_protect = 1
14
15##############################################################3
16# Functions previously found in netbase
17#
18
19# Uncomment the next line to enable Spoof protection (reverse-path filter)
20#net.ipv4.conf.default.rp_filter=1
21
22# Uncomment the next line to enable TCP/IP SYN cookies
23#net.ipv4.tcp_syncookies=1
24
25# Uncomment the next line to enable packet forwarding for IPv4
26#net.ipv4.conf.default.forwarding=1
27
28# Uncomment the next line to enable packet forwarding for IPv6
29#net.ipv6.conf.default.forwarding=1
diff --git a/meta/packages/base-files/base-files_3.0.14.bb b/meta/packages/base-files/base-files_3.0.14.bb
index 623c782606..74447454f4 100644
--- a/meta/packages/base-files/base-files_3.0.14.bb
+++ b/meta/packages/base-files/base-files_3.0.14.bb
@@ -1,7 +1,7 @@
1DESCRIPTION = "Miscellaneous files for the base system." 1DESCRIPTION = "Miscellaneous files for the base system."
2SECTION = "base" 2SECTION = "base"
3PRIORITY = "required" 3PRIORITY = "required"
4PR = "r61" 4PR = "r62"
5LICENSE = "GPL" 5LICENSE = "GPL"
6 6
7SRC_URI = " \ 7SRC_URI = " \
@@ -16,6 +16,7 @@ SRC_URI = " \
16 file://issue.net \ 16 file://issue.net \
17 file://issue \ 17 file://issue \
18 file://usbd \ 18 file://usbd \
19 file://sysctl.conf \
19 file://share/dot.bashrc \ 20 file://share/dot.bashrc \
20 file://share/dot.profile \ 21 file://share/dot.profile \
21 file://licenses/BSD \ 22 file://licenses/BSD \
@@ -105,6 +106,7 @@ do_install () {
105 install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation 106 install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation
106 fi 107 fi
107 108
109 install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/
108 install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab 110 install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
109 install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems 111 install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
110 install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd 112 install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd