Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2017 14:02:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222685] [PATCH] "make packagekernel" not checking MK_DEBUG_FILES
Message-ID:  <bug-222685-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222685

            Bug ID: 222685
           Summary: [PATCH] "make packagekernel" not checking
                    MK_DEBUG_FILES
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: egypcio@googlemail.com
          Keywords: patch

Created attachment 186799
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186799&action=
=3Dedit
[PATCH] "make packagekernel" not checking MK_DEBUG_FILES

following the behavior of previous checks on DEBUG_DISTRIBUTIONS=3D, if one=
 has
MK_DEBUG_FILES=3Dno in the /etc/make.conf a "make packagekernel" should not
create any -dbg.txz tarball for KERNCONF (even with extra kernels listed).

how to reproduce? checkout stable/11 branch's src, cd to its dir and play;

    # svnlite info
    Path: .
    Working Copy Root Path: /usr/src
    URL: svn://svn.freebsd.org/base/stable/11
    Relative URL: ^/stable/11
    Repository Root: svn://svn.freebsd.org/base
    Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    Revision: 324100
    Node Kind: directory
    Schedule: normal
    Last Changed Author: markj
    Last Changed Rev: 324085
    Last Changed Date: 2017-09-28 15:23:38 +0000 (Thu, 28 Sep 2017)

    # mkdir /dist
    # make -s buildworld
    # make -s buildkernel
    # make -s distributeworld DISTDIR=3D/dist
    # make -s distributekernel DISTDIR=3D/dist
    # make -s packageworld DISTDIR=3D/dist
    # make -s packagekernel DISTDIR=3D/dist

doing so, will present you with all -dbg.txz under /dist.

remove all *.txz files you created, set MK_DEBUG_FILES=3Dno and rerun
"packageworld" and "packagekernel"; you will still get kernel-dbg.txz...

    # make -s packageworld DISTDIR=3D/dist MK_DEBUG_FILES=3Dno
    # make -s packagekernel DISTDIR=3D/dist MK_DEBUG_FILES=3Dno

apply the suggested patch, and do it again.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222685-8>