From owner-svn-src-all@freebsd.org Sun Oct 29 11:57:08 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93B5FE6164C for ; Sun, 29 Oct 2017 11:57:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6276477012 for ; Sun, 29 Oct 2017 11:57:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x230.google.com with SMTP id n137so21421045iod.6 for ; Sun, 29 Oct 2017 04:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=rI3AK9Zr3EANcNT5MMx1YYIvxUhbcVTGWRcEJoxWcSU=; b=ZaWgW9ZmI1fu60gjJxvRA7XsZiAhb8nSDlxQKhb5ywBGy8vcW8WQXfqhNXX5Rn07Bi 7T7i1zFMDh88Wlg3WfukTEb8xRipJC6DFIrTSGkL9QEypCflp4CyVF3bWj3tOYcfVR85 xBcOpq2GIzMNV70G+vurgdeJXWONa2NWlS/9wTtaX8RrnIXz3lX5hY8bBcy0nGckJcOb h4EGEMDckx7ui2Dh9+ukbo5Cm1+SMMdvzBUfqAumegIa6ilD3BmWb0wV+GIQ3T9A/7OB P6gyKRylQEsSX/g66LOBEoWFww13klKN++gSZoZnEPqzeBJR7pSdkzYcXN2fn28qVvTG NtVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=rI3AK9Zr3EANcNT5MMx1YYIvxUhbcVTGWRcEJoxWcSU=; b=TtRmJTGhyqN6L36n7Yvk0XNxqVYSm2STLC+NLVjfVgQuyGKIWZrNMXYNt+27mr/7wE eTOBq0rT9S09XoSHEgsFc3FHFevBPMZa7GL4P1293R2lNBXPyObhZEvIHvl5N1L/U1Gx kOY7Zoz0iKCa5bfekBYproC6IfEAgx43YKAn1lkeZ6I5sNh6qcy4ZVStAuTH9YLOy1FM J578wdVJGtc7cbfvLfdthu5wG8OSoUT3I2Z0zCB5+9dsoTLi3cSo2bUo6gyoH09skaYo JNKOuWwAnajPUzXCzjW+kPeNOcI+TWthL+NStMOGeZL4C29ObVsN4STMBYqj871p/N0C ZuwQ== X-Gm-Message-State: AMCzsaVZpWbQw0zSrZ6IaSg74cR5FAcmGtf2pN0KPyPsjPDSHYDIKAqg YB3LdS8j3eRqJL0Ycx/iQNs4Xy+IFKMLa9gSQOgd2w== X-Google-Smtp-Source: ABhQp+RLM6c1DnNDVDL+8HhYyv0OixLaky2VVl8CNA8xaWjhykUrlsx3JiEPff+5eIqLFPeWncLh2HEwYALSTBgLMjA= X-Received: by 10.36.184.5 with SMTP id m5mr2152288ite.69.1509278227495; Sun, 29 Oct 2017 04:57:07 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.57.22 with HTTP; Sun, 29 Oct 2017 04:57:06 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:bdfd:3529:aeee:ce4] Received: by 10.79.57.22 with HTTP; Sun, 29 Oct 2017 04:57:06 -0700 (PDT) In-Reply-To: <201710290825.v9T8PV3W047519@repo.freebsd.org> References: <201710290825.v9T8PV3W047519@repo.freebsd.org> From: Warner Losh Date: Sun, 29 Oct 2017 05:57:06 -0600 X-Google-Sender-Auth: lq9Dw_iI_8x9GL5P0bze4SvnNoU Message-ID: Subject: Re: svn commit: r325097 - head To: Eitan Adler Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 11:57:08 -0000 On Oct 29, 2017 2:25 AM, "Eitan Adler" wrote: Author: eadler Date: Sun Oct 29 08:25:31 2017 New Revision: 325097 URL: https://svnweb.freebsd.org/changeset/base/325097 Log: Update UPDATING - Remove FreeBSD 4.x of building the kernel. It is not the 4.x way of building the kernel. It's a completely supported alte restive for those situations where buildkernel is not a good fit. While it might technically work, it is better to document the 'correct' way than how to shoot oneself in the foot Neither way is more correct. Both have foot shooting issues in different ways. While the removal of the text many be ok for UPDATING, these characterizations are bogus. Warner - Remove reference to CVS -P for src. Modified: head/UPDATING Modified: head/UPDATING ============================================================ ================== --- head/UPDATING Sun Oct 29 08:17:03 2017 (r325096) +++ head/UPDATING Sun Oct 29 08:25:31 2017 (r325097) @@ -1843,21 +1843,6 @@ COMMON ITEMS: make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel nextboot -k testkernel - To just build a kernel when you know that it won't mess you up - -------------------------------------------------------------- - This assumes you are already running a CURRENT system. Replace - ${arch} with the architecture of your machine (e.g. "i386", - "arm", "amd64", "ia64", "pc98", "sparc64", "powerpc", "mips", etc). - - cd src/sys/${arch}/conf - config KERNEL_NAME_HERE - cd ../compile/KERNEL_NAME_HERE - make depend - make - make install - - If this fails, go to the "To build a kernel" section. - To rebuild everything and install it on the current system. ----------------------------------------------------------- # Note: sometimes if you are running current you gotta do more than @@ -1865,7 +1850,8 @@ COMMON ITEMS: make buildworld - make kernel KERNCONF=YOUR_KERNEL_HERE + make buildkernel KERNCONF=YOUR_KERNEL_HERE + make installkernel KERNCONF=YOUR_KERNEL_HERE [1] [3] mergemaster -Fp [5] @@ -1965,10 +1951,7 @@ COMMON ITEMS: Make sure that you merge any new devices from GENERIC since the last time you updated your kernel config file. - [9] When checking out sources, you must include the -P flag to have - cvs prune empty directories. - - If CPUTYPE is defined in your /etc/make.conf, make sure to use the + [9] If CPUTYPE is defined in your /etc/make.conf, make sure to use the "?=" instead of the "=" assignment operator, so that buildworld can override the CPUTYPE if it needs to.