About building release for using sysinstall

egoitz at ramattack.net egoitz at ramattack.net
Wed Mar 7 09:04:05 UTC 2012


On Tue, 28 Feb 2012 19:13:56 +0100, egoitz at ramattack.net wrote:
> Sorry but, perhaps should I write this another FreeBSD mailing
> list?... perhaps this one, it's not it's place... if this can be the
> situation, please tell me which mailing list to send to this
> suggestion.
>
> Thanks a lot for you're time,
> Best regards.
>
> On Mon, 27 Feb 2012 11:22:25 +0100, egoitz at ramattack.net wrote:
>> Good morning,
>>
>> I have launched :
>>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at freebsd.org"


Finally have been able to build a RELENG_9_0 release with isos, 
sysinstall and livefs disc with the following changes applied :

generarelease90# pwd
/usr/src/release/amd64
generarelease90# cvs diff -r 1.14.2.1.2.1 -r 1.14.2.1.2.2 
mkisoimages.sh
Index: mkisoimages.sh
===================================================================
RCS file: /expert/ncvs/src/release/amd64/mkisoimages.sh,v
retrieving revision 1.14.2.1.2.1
retrieving revision 1.14.2.1.2.2
diff -r1.14.2.1.2.1 -r1.14.2.1.2.2
7c7
< # $FreeBSD: src/release/amd64/mkisoimages.sh,v 1.14.2.1.2.1 
2011/11/11 04:20:22 kensmith Exp $
---
> # $FreeBSD: src/release/amd64/mkisoimages.sh,v 1.14.2.1.2.2 
> 2012/03/06 08:27:38 portero Exp $
42d41
< echo "/dev/iso9660/`echo $LABEL | tr '[:lower:]' '[:upper:]'` / 
cd9660 ro 0 0" > $1/etc/fstab
44d42
< rm $1/etc/fstab
generarelease90# cd ..
generarelease90# cvs diff -r 1.5.2.1.2.2 -r 1.5.2.1.2.3 
Makefile.sysinstall
Index: Makefile.sysinstall
===================================================================
RCS file: /expert/ncvs/src/release/Attic/Makefile.sysinstall,v
retrieving revision 1.5.2.1.2.2
retrieving revision 1.5.2.1.2.3
diff -r1.5.2.1.2.2 -r1.5.2.1.2.3
1c1
< # $FreeBSD: src/release/Makefile.sysinstall,v 1.5.2.1.2.2 2012/01/02 
04:11:22 kensmith Exp $
---
> # $FreeBSD: src/release/Makefile.sysinstall,v 1.5.2.1.2.3 2012/03/06 
> 08:26:49 portero Exp $
1152,1155d1151
< 	@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
< 	    FreeBSD_Packages \
< 	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
< 	    ${CD_DISC2_PKGS}
1157,1160c1153
< 	@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
< 	    FreeBSD_Install \
< 	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
< 	    ${CD_DVD1_PKGS}
---
> 	@echo "No necesito dvd... suficiente con disco1 y livefs"
1163,1166c1156
< 	@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
< 	    FreeBSD_Documentation \
< 	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DOCS} \
< 	    ${CD_DOCS_PKGS}
---
> 	@echo "La documentacion se graba en cd1 y dvd1"


the command sequence was :

cd /usr/src
make buildworld
cd release
make -f Makefile.sysinstall release CHROOTDIR=/expert/RELENG90RELEASE 
CVSROOT=/expert/ncvs RELEASETAG=RELENG_9_0 MAKE_ISOS=1

And after this have obtained my goal.


I tell this here because perhaps is helpful for someone else.

Best regards,


More information about the freebsd-hackers mailing list