From owner-freebsd-questions@FreeBSD.ORG Sun Jan 29 17:03:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8C2B106564A for ; Sun, 29 Jan 2012 17:03:31 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52EDF8FC0A for ; Sun, 29 Jan 2012 17:03:30 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so4098662wib.13 for ; Sun, 29 Jan 2012 09:03:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=08VNLU8siGSMoEOP2PiPeIpw+bogF+7CAWXcgKGHq48=; b=vcs+i1T6IwjzftptGZRNIqeHEhVQdsXM4GpZO7cGyq2T/M2m2GdDWpXROJyBIxnfTH OQRmkUXimFFEhnYL0yHCc/Dyvoj/oy1wIJyfoGW1AKzrA99hB2CRH7dajE6MEzxUYjUQ KjzGvhvoaesFbXxhqK3eIDD2qBWPGEaVNwYRI= MIME-Version: 1.0 Received: by 10.180.94.68 with SMTP id da4mr22067215wib.22.1327856610148; Sun, 29 Jan 2012 09:03:30 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.227.143.140 with HTTP; Sun, 29 Jan 2012 09:03:30 -0800 (PST) Date: Sun, 29 Jan 2012 12:03:30 -0500 X-Google-Sender-Auth: UozZ0PirfoBjDS2fcTGcDdWBc1o Message-ID: From: Rick Miller To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: make release custom kernel conf not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2012 17:03:31 -0000 Hi All, I am performing a `make release` to build a new release with a custom kernel. The `make release` fails with the following error: cd /usr/src/release/..; make TARGET_ARCH=amd64 TARGET=amd64 KERNCONF=MYKERNEL kernel DESTDIR=/R/stage/kernels KODIR=/MYKERNEL ERROR: Missing kernel configuration file(s) (MYKERNEL). *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src/release. + umount /dev *** Error code 1 Stop in /usr/src/release. I have the kernel config at /root/kernels/MYKERNEL and /usr/src/sys/amd64/conf/MYKERNEL is a symlink to the kernel config. The applicable environment variables are set in my .profile as follows: BUILDNAME=8.2-RELEASE-MYKERNEL-1.1 CHROOTDIR=/app/release CVSROOT=/home/cvs EXTPORTSDIR=/usr/ports EXTSRCDIR=/usr/src KERNELS="GENERIC MYKERNEL" MAKE_DVD=YES NODOC=YES NO_FLOPPIES=YES I am unsure how to get `make release` to realize the location of the kernel config. Also, I notice that in the command to make the kernel, DESTDIR is set to /R/stage/kernels while the CHROOTDIR (and the location where I want the release to be built) is /app/release. I am wondering if someone knows how I may resolve the issue so I can get the release built. I appreciate any advice and feedback. Thanks. -- Take care Rick Miller