Date: Tue, 11 Dec 2012 14:44:24 -0800 From: Devin Teske <devin.teske@fisglobal.com> To: Rick Miller <vmiller@hostileadmin.com> Cc: Devin Teske <dteske@freebsd.org>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: make release and mfsroot Message-ID: <673FA8EA-4492-49E1-8316-95D88A45FB1D@fisglobal.com> In-Reply-To: <CAHzLAVH582Fk%2BSgwBzkmm2n5_HUF8b5zW%2B_dchn%2BeS48XVDKZw@mail.gmail.com> References: <CAHzLAVHBfoodHoe72f9Ls_Wq1hnG8y-98DX7LkkZbs=79SjOdw@mail.gmail.com> <04ABE8E0-8D63-4C68-92C4-69B516818160@fisglobal.com> <CAHzLAVHVPpSA2azavb3wZ%2BAmN%2BYUPT22LAKMP6VF8envqRVVng@mail.gmail.com> <1531C946-2259-4295-B388-42DC94FBE7FB@fisglobal.com> <CAHzLAVH582Fk%2BSgwBzkmm2n5_HUF8b5zW%2B_dchn%2BeS48XVDKZw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 11, 2012, at 2:13 PM, Rick Miller wrote: > On Tue, Dec 11, 2012 at 5:05 PM, Devin Teske <devin.teske@fisglobal.com> = wrote: >>=20 >> Though, to resize the mfsroot, I still rely on release(7) and the above >> patches. >=20 > Here's another question, have you applied this approach to > boot_crunch.conf? I simply replaced the default boot_crunch.conf with > my own in the source tree. This is how I discovered MFSSIZE, because > the resulting boot_crunch binary was larger than the available space. >=20 I've separated the various additions to mfsroot into two categories: 1. Additions that end up in the boot_crunch binary 2. All other additions I use the release(7) process to produce a custom mfsroot with finely tuned = boot_crunch, then I use the previously-shared Makefile to put more files in= (things that are separate from the boot_crunch). You can read more about my procedure here (complete recipe for customizing = any part of the mfsroot, while spending as little time in the release(7) pr= ocess as possible): http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/dep/free= bsd/patches/README?revision=3D1.2&view=3Dmarkup The above is for the 9.x line, for the 8.x line the instructions are *sligh= tly* different: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid83/dep/fr= eebsd/patches/README?revision=3D1.1&view=3Dmarkup You can my customizations to boot_crunch: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/dep/free= bsd/patches/local_patches/release%3A%3Ai386%3A%3Aboot_crunch.conf.patch?rev= ision=3D1.2&view=3Dmarkup and again, slightly different for 8.x: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid83/dep/fr= eebsd/patches/local_patches/release%3A%3Ai386%3A%3Aboot_crunch.conf.patch?r= evision=3D1.1&view=3Dmarkup --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?673FA8EA-4492-49E1-8316-95D88A45FB1D>