From 97b26ca6de7d1562b134ed4d7eb83f5f9ee81b4b Mon Sep 17 00:00:00 2001 From: Leno Hou Date: Tue, 12 Jan 2016 10:47:34 +0800 Subject: [genkernel][PATCH v1] gen_package: fix Could not copy System.map from kerncache #570822 While trying to build a installcd-stage2-minimal with some modifications, I noticed that when compiling the kernel and get the error: Could not copy System.map from kerncache for the kernel package ! Signed-off-by: Leno Hou --- gen_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_package.sh b/gen_package.sh index 9dd166b..4407970 100755 --- a/gen_package.sh +++ b/gen_package.sh @@ -46,7 +46,7 @@ gen_minkernpackage() { then /bin/tar -xj -C ${TEMP}/minkernpackage -f ${KERNCACHE} System.map-${ARCH}-${KV} mv minkernpackage/{System.map-${ARCH}-${KV},System.map-${KNAME}-${ARCH}-${KV}} - if [ ! -f System.map-${KNAME}-${ARCH}-${KV} ] + if [ ! -f System.map-${ARCH}-${KV} ] then gen_die 'Could not copy System.map from kerncache for the kernel package!' fi -- 2.5.0