From 51fada96cc1ede841d685171c7b2ee486af465f1 Mon Sep 17 00:00:00 2001 From: hschang Date: Wed, 17 Dec 2014 17:41:32 +0900 Subject: [PATCH] [procps] add PACKAGE_ARCH=MACHINE_ARCH to procps_3.%.bbappends. (solo2 / solose / zero) --- .../vusolo2/recipes/extended/procps/sysctl.conf | 65 ---------------------- .../vusolo2/recipes/extended/procps_3.%.bbappend | 7 +++ .../vusolo2/recipes/extended/procps_3.2.8.bbappend | 3 - .../vusolose/recipes/extended/procps/sysctl.conf | 65 ---------------------- .../vusolose/recipes/extended/procps_3.%.bbappend | 7 +++ .../recipes/extended/procps_3.2.8.bbappend | 3 - .../vuzero/recipes/extended/procps/sysctl.conf | 65 ---------------------- .../vuzero/recipes/extended/procps_3.%.bbappend | 7 +++ .../vuzero/recipes/extended/procps_3.2.8.bbappend | 3 - 9 files changed, 21 insertions(+), 204 deletions(-) delete mode 100644 meta-bsp/vusolo2/recipes/extended/procps/sysctl.conf create mode 100644 meta-bsp/vusolo2/recipes/extended/procps_3.%.bbappend delete mode 100644 meta-bsp/vusolo2/recipes/extended/procps_3.2.8.bbappend delete mode 100644 meta-bsp/vusolose/recipes/extended/procps/sysctl.conf create mode 100644 meta-bsp/vusolose/recipes/extended/procps_3.%.bbappend delete mode 100644 meta-bsp/vusolose/recipes/extended/procps_3.2.8.bbappend delete mode 100644 meta-bsp/vuzero/recipes/extended/procps/sysctl.conf create mode 100644 meta-bsp/vuzero/recipes/extended/procps_3.%.bbappend delete mode 100644 meta-bsp/vuzero/recipes/extended/procps_3.2.8.bbappend diff --git a/meta-bsp/vusolo2/recipes/extended/procps/sysctl.conf b/meta-bsp/vusolo2/recipes/extended/procps/sysctl.conf deleted file mode 100644 index f7f250e..0000000 --- a/meta-bsp/vusolo2/recipes/extended/procps/sysctl.conf +++ /dev/null @@ -1,65 +0,0 @@ -# This configuration file is taken from Debian. -# -# /etc/sysctl.conf - Configuration file for setting system variables -# See sysctl.conf (5) for information. -# - -#kernel.domainname = example.com - -# Uncomment the following to stop low-level messages on console -#kernel.printk = 4 4 1 7 - -##############################################################3 -# Functions previously found in netbase -# - -# Uncomment the next two lines to enable Spoof protection (reverse-path filter) -# Turn on Source Address Verification in all interfaces to -# prevent some spoofing attacks -net.ipv4.conf.default.rp_filter=1 -net.ipv4.conf.all.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.ip_forward=1 - -# Uncomment the next line to enable packet forwarding for IPv6 -#net.ipv6.conf.all.forwarding=1 - - -################################################################### -# Additional settings - these settings can improve the network -# security of the host and prevent against some network attacks -# including spoofing attacks and man in the middle attacks through -# redirection. Some network environments, however, require that these -# settings are disabled so review and enable them as needed. -# -# Ignore ICMP broadcasts -#net.ipv4.icmp_echo_ignore_broadcasts = 1 -# -# Ignore bogus ICMP errors -#net.ipv4.icmp_ignore_bogus_error_responses = 1 -# -# Do not accept ICMP redirects (prevent MITM attacks) -#net.ipv4.conf.all.accept_redirects = 0 -#net.ipv6.conf.all.accept_redirects = 0 -# _or_ -# Accept ICMP redirects only for gateways listed in our default -# gateway list (enabled by default) -# net.ipv4.conf.all.secure_redirects = 1 -# -# Do not send ICMP redirects (we are not a router) -#net.ipv4.conf.all.send_redirects = 0 -# -# Do not accept IP source route packets (we are not a router) -#net.ipv4.conf.all.accept_source_route = 0 -#net.ipv6.conf.all.accept_source_route = 0 -# -# Log Martian Packets -#net.ipv4.conf.all.log_martians = 1 -# - -#kernel.shmmax = 141762560 -vm.min_free_kbytes=16384 diff --git a/meta-bsp/vusolo2/recipes/extended/procps_3.%.bbappend b/meta-bsp/vusolo2/recipes/extended/procps_3.%.bbappend new file mode 100644 index 0000000..dc758e1 --- /dev/null +++ b/meta-bsp/vusolo2/recipes/extended/procps_3.%.bbappend @@ -0,0 +1,7 @@ +PR .= "-bsp0" + +do_install_append() { + echo "vm.min_free_kbytes=16384" >> ${D}/etc/sysctl.conf +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/meta-bsp/vusolo2/recipes/extended/procps_3.2.8.bbappend b/meta-bsp/vusolo2/recipes/extended/procps_3.2.8.bbappend deleted file mode 100644 index 6d140af..0000000 --- a/meta-bsp/vusolo2/recipes/extended/procps_3.2.8.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -PR .= "-bsp0" - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-bsp/vusolose/recipes/extended/procps/sysctl.conf b/meta-bsp/vusolose/recipes/extended/procps/sysctl.conf deleted file mode 100644 index f7f250e..0000000 --- a/meta-bsp/vusolose/recipes/extended/procps/sysctl.conf +++ /dev/null @@ -1,65 +0,0 @@ -# This configuration file is taken from Debian. -# -# /etc/sysctl.conf - Configuration file for setting system variables -# See sysctl.conf (5) for information. -# - -#kernel.domainname = example.com - -# Uncomment the following to stop low-level messages on console -#kernel.printk = 4 4 1 7 - -##############################################################3 -# Functions previously found in netbase -# - -# Uncomment the next two lines to enable Spoof protection (reverse-path filter) -# Turn on Source Address Verification in all interfaces to -# prevent some spoofing attacks -net.ipv4.conf.default.rp_filter=1 -net.ipv4.conf.all.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.ip_forward=1 - -# Uncomment the next line to enable packet forwarding for IPv6 -#net.ipv6.conf.all.forwarding=1 - - -################################################################### -# Additional settings - these settings can improve the network -# security of the host and prevent against some network attacks -# including spoofing attacks and man in the middle attacks through -# redirection. Some network environments, however, require that these -# settings are disabled so review and enable them as needed. -# -# Ignore ICMP broadcasts -#net.ipv4.icmp_echo_ignore_broadcasts = 1 -# -# Ignore bogus ICMP errors -#net.ipv4.icmp_ignore_bogus_error_responses = 1 -# -# Do not accept ICMP redirects (prevent MITM attacks) -#net.ipv4.conf.all.accept_redirects = 0 -#net.ipv6.conf.all.accept_redirects = 0 -# _or_ -# Accept ICMP redirects only for gateways listed in our default -# gateway list (enabled by default) -# net.ipv4.conf.all.secure_redirects = 1 -# -# Do not send ICMP redirects (we are not a router) -#net.ipv4.conf.all.send_redirects = 0 -# -# Do not accept IP source route packets (we are not a router) -#net.ipv4.conf.all.accept_source_route = 0 -#net.ipv6.conf.all.accept_source_route = 0 -# -# Log Martian Packets -#net.ipv4.conf.all.log_martians = 1 -# - -#kernel.shmmax = 141762560 -vm.min_free_kbytes=16384 diff --git a/meta-bsp/vusolose/recipes/extended/procps_3.%.bbappend b/meta-bsp/vusolose/recipes/extended/procps_3.%.bbappend new file mode 100644 index 0000000..dc758e1 --- /dev/null +++ b/meta-bsp/vusolose/recipes/extended/procps_3.%.bbappend @@ -0,0 +1,7 @@ +PR .= "-bsp0" + +do_install_append() { + echo "vm.min_free_kbytes=16384" >> ${D}/etc/sysctl.conf +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/meta-bsp/vusolose/recipes/extended/procps_3.2.8.bbappend b/meta-bsp/vusolose/recipes/extended/procps_3.2.8.bbappend deleted file mode 100644 index 6d140af..0000000 --- a/meta-bsp/vusolose/recipes/extended/procps_3.2.8.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -PR .= "-bsp0" - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-bsp/vuzero/recipes/extended/procps/sysctl.conf b/meta-bsp/vuzero/recipes/extended/procps/sysctl.conf deleted file mode 100644 index f7f250e..0000000 --- a/meta-bsp/vuzero/recipes/extended/procps/sysctl.conf +++ /dev/null @@ -1,65 +0,0 @@ -# This configuration file is taken from Debian. -# -# /etc/sysctl.conf - Configuration file for setting system variables -# See sysctl.conf (5) for information. -# - -#kernel.domainname = example.com - -# Uncomment the following to stop low-level messages on console -#kernel.printk = 4 4 1 7 - -##############################################################3 -# Functions previously found in netbase -# - -# Uncomment the next two lines to enable Spoof protection (reverse-path filter) -# Turn on Source Address Verification in all interfaces to -# prevent some spoofing attacks -net.ipv4.conf.default.rp_filter=1 -net.ipv4.conf.all.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.ip_forward=1 - -# Uncomment the next line to enable packet forwarding for IPv6 -#net.ipv6.conf.all.forwarding=1 - - -################################################################### -# Additional settings - these settings can improve the network -# security of the host and prevent against some network attacks -# including spoofing attacks and man in the middle attacks through -# redirection. Some network environments, however, require that these -# settings are disabled so review and enable them as needed. -# -# Ignore ICMP broadcasts -#net.ipv4.icmp_echo_ignore_broadcasts = 1 -# -# Ignore bogus ICMP errors -#net.ipv4.icmp_ignore_bogus_error_responses = 1 -# -# Do not accept ICMP redirects (prevent MITM attacks) -#net.ipv4.conf.all.accept_redirects = 0 -#net.ipv6.conf.all.accept_redirects = 0 -# _or_ -# Accept ICMP redirects only for gateways listed in our default -# gateway list (enabled by default) -# net.ipv4.conf.all.secure_redirects = 1 -# -# Do not send ICMP redirects (we are not a router) -#net.ipv4.conf.all.send_redirects = 0 -# -# Do not accept IP source route packets (we are not a router) -#net.ipv4.conf.all.accept_source_route = 0 -#net.ipv6.conf.all.accept_source_route = 0 -# -# Log Martian Packets -#net.ipv4.conf.all.log_martians = 1 -# - -#kernel.shmmax = 141762560 -vm.min_free_kbytes=16384 diff --git a/meta-bsp/vuzero/recipes/extended/procps_3.%.bbappend b/meta-bsp/vuzero/recipes/extended/procps_3.%.bbappend new file mode 100644 index 0000000..dc758e1 --- /dev/null +++ b/meta-bsp/vuzero/recipes/extended/procps_3.%.bbappend @@ -0,0 +1,7 @@ +PR .= "-bsp0" + +do_install_append() { + echo "vm.min_free_kbytes=16384" >> ${D}/etc/sysctl.conf +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/meta-bsp/vuzero/recipes/extended/procps_3.2.8.bbappend b/meta-bsp/vuzero/recipes/extended/procps_3.2.8.bbappend deleted file mode 100644 index 6d140af..0000000 --- a/meta-bsp/vuzero/recipes/extended/procps_3.2.8.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -PR .= "-bsp0" - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -- 2.7.4