Date: Sat, 12 Aug 2000 15:05:38 -0300 From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br> To: matusita@jp.freebsd.org Cc: freebsd-stable@freebsd.org Subject: Re: How to Create a FreeBSD iso image Message-ID: <20000812150538.A1238@Fedaykin.here>
next in thread | raw e-mail | index | archive | help
Hi, I saw a posting from Mr. Matsushita regarding the snapshot ftp site on Japan. He mentioned they have w/ and w/o packages versions. Does anyone happen to know if they are using scripts to build selected parts of the ports tree? I would be very insterested on being able to choose some parts of the tree and build packages to just those. If the scripts could handle the dependencies package building too, that would be just perfect. Regards, Mario Ferreira ps: By the way, regarding the original posting. If you believe you know what you are doing, and that cvsuping is not for you. You can try this patch against /usr/src/release/Makefile Make sure you know what you are doing. Do not forget to both use the flag RELEASENOUPDATE=yes and cvsup src-all, docs and ports to their expected places previously. --- Makefile Wed Jul 26 09:20:02 2000 +++ /tmp/Makefile Sat Aug 12 15:04:36 2000 @@ -63,7 +63,7 @@ ALLLANG?= yes DOCPORTS= textproc/docproj # Set this to wherever the distfiles required by ${DOCPORTS} live. -DOCDISTFILES?= ${.CURDIR}/../../ports/distfiles +DOCDISTFILES?= ${.CURDIR}/../../ports/distfiles/ # Set this to 1 if you want -P to be used for automatic keyboard detection # on the boot floppy. WARNING: Breaks on some Athlon (K7) motherboards. AUTO_KEYBOARD_DETECT?= 0 @@ -209,7 +209,8 @@ cvs -R -d ${CVSROOT} co -P ${RELEASESRCMODULE} .else cd ${CHROOTDIR}/usr && rm -rf src && \ - cvs -R -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE} + tar -cvf - -C /usr src | tar -xvf - +# cvs -R -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE} .endif .if defined(LOCAL_PATCHES) && exists(${LOCAL_PATCHES}) cd ${CHROOTDIR}/usr/src && patch ${PATCH_FLAGS} < ${LOCAL_PATCHES} @@ -221,14 +222,16 @@ .if defined(AUXRELEASETAG) cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES} .else - cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES} +# cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES} + cd ${CHROOTDIR}/usr && rm -rf ports && tar -cvf - -C /usr --exclude distfiles ports | tar -xvf - && cd ports && ${MAKEREADMES} .endif .endif .if !defined(NODOC) .if defined(AUXRELEASETAG) cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEDOCMODULE} .else - cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P ${RELEASEDOCMODULE} +# cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P ${RELEASEDOCMODULE} + cd ${CHROOTDIR}/usr && rm -rf doc && tar -cvf - -C /usr doc | tar -xvf - .endif if [ -d ${DOCDISTFILES}/ ]; then \ cp -rp ${DOCDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000812150538.A1238>