From 3a06eb6f530f2c4bad073ce8bd58e0e0157255fc Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Tue, 18 Jun 2013 23:21:11 -0400 Subject: procps: fix that top will quit after cpu offline top utiliy fails to read /proc/stat after cpu offline, because Cpu_tot is still the original cpu numbers when calling cpus_refresh, in which it is trying to read and sscanf Cpu_tot times /proc/stat. The patch is from procps-3.2.8-2.fc12.src.rpm (From OE-Core rev: f24aed8d7e41cce277c6eff4ff5ab07b8e39ffff) Signed-off-by: Wenzong Fan Signed-off-by: Richard Purdie --- meta/recipes-extended/procps/procps_3.2.8.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended/procps/procps_3.2.8.bb') diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb index 7533859518..8436d4ace4 100644 --- a/meta/recipes-extended/procps/procps_3.2.8.bb +++ b/meta/recipes-extended/procps/procps_3.2.8.bb @@ -9,6 +9,7 @@ SRC_URI += "file://procmodule.patch \ file://procps-3.2.8+gmake-3.82.patch \ file://gnu-kbsd-version.patch \ file://60_linux_version_init.patch \ + file://procps-3.2.7-top-remcpu.patch \ " SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0" -- cgit v1.2.3-54-g00ecf