Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 16:32:50 +0100
From:      Fleuriot Damien <ml@my.gd>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: make release doesn't correctly include EXTLOCALDIR ?
Message-ID:  <40B04B98-5651-40DB-BD73-2C6E16DA6795@my.gd>
In-Reply-To: <B8D905E7-3EAD-4A31-B535-E284E9A91C74@my.gd>

index | next in thread | previous in thread | raw e-mail

On Jan 11, 2013, at 2:06 PM, Fleuriot Damien <ml@my.gd> wrote:

> Hello list,
> 
> 
> I'm running 8.3-stable r245223 from a mere 2 days ago and am in the process of building a custom release for our internal use as preconfigured firewalls.
> 
> "make release" works pretty fine except for a few quirks here and there.
> 
> 
> 
> First of all, I have set EXTLOCALDIR so that the release contains my existing /usr/local/ , and thus the collection of installed ports.
> 
> The problem here is that while /release/usr/local/ is correctly populated, the ISO images and ftp install directory have an empty usr/local/
> Extracting the ISO's base.?? files doesn't yield the /usr/local/ contents either.
> 
> 
> 
> 
> The second problem I encounter is with the kernel's build.
> Apparently "make release" doesn't pull MODULES_OVERRIDE from /etc/make.conf and decides to build every single module, as opposed to my own restricted list.
> 
> I'm going to try with with KERNEL_FLAGS=-DMODULES_OVERRIDE module1 module2 in /usr/src/release/Makefile
> 
> 
> 
> Has anyone else ever experienced the same problem regarding the inclusion of /usr/local/ in their release ?
> 


Reposting to -stable in the hope of getting feedback, having received none on -questions.


Has anyone experienced this before ?
Is this intended behaviour ?

I fail to see the purpose of including /usr/local/ if it won't be packaged into the release images.



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B04B98-5651-40DB-BD73-2C6E16DA6795>