From Fedora Project Wiki

Anaconda patch for DVD builds. This assumes that you have already applied the other [[Patches for Anaconda] [Patches for Anaconda] . It just changes /fedora to /dvd in buildinstall, and calls mkdvd instead of mkfedora-cd. It is probably easier to download this patch here: [[%ATTACHURL%/dvd.patch] [dvd.patch]

Right click on the link and choose Save Link Target As...

%BR%

diff -urN anaconda-9.2.orig/scripts/build-fc1 anaconda-9.2/scripts/build-fc1%BR% <nop>--- anaconda-9.2.orig/scripts/build-fc1 1969-12-31 16:00:00.000000000 -0800%BR% +++ anaconda-9.2/scripts/build-fc1 2003-01-22 16:20:45.000000000 -0800%BR% @@ -1,5 +1,5 @@%BR% -# all CDs in /fedora/i386%BR% +# all CDs in /dvd/i386%BR% export PATH=$PATH:/usr/lib/anaconda-runtime%BR% %BR% echo "Would you like to check the rpms (ENTER means no)?"%BR% @@ -8,27 +8,27 @@%BR% echo%BR% else%BR% echo Running the rpm check...%BR% - rpm -K /fedora/i386/Fedora/RPMS/* | grep "NOT OK"%BR% + rpm -K /dvd/i386/Fedora/RPMS/* | grep "NOT OK"%BR% fi%BR% %BR% echo Removing the old anaconda packages...%BR% rpm -e --nodeps anaconda anaconda-runtime%BR% echo Installing the new anaconda packages...%BR% -rpm -ivh i386/Fedora/RPMS/anaconda-*fedora*.rpm%BR% +rpm -ivh i386/Fedora/RPMS/anaconda-*dvd*.rpm%BR% %BR% echo Running genhdlist...%BR% -genhdlist --withnumbers /fedora/i386 ## Must have full path%BR% +genhdlist --withnumbers /dvd/i386 ## Must have full path%BR% %BR% echo Building the placeholder comps...%BR% rpmbuild -ba /usr/src/redhat/SPECS/comps-fedora.spec%BR% -mv /fedora/i386/Fedora/RPMS/comps-1-0.* /fedora/%BR% +mv /dvd/i386/Fedora/RPMS/comps-1-0.* /dvd/%BR% %BR% -cp /usr/src/redhat/SRPMS/comps-1-0.date +%<nop>Y%m%d.fedora.src.rpm /fedora/SRPMS%BR% -cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.fedora.i386.rpm /fedora/i386/Fedora/RPMS/%BR% -cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.fedora.i386.rpm /fedora/i386/Fedora/base/comps.rpm%BR% +cp /usr/src/redhat/SRPMS/comps-1-0.date +%<nop>Y%m%d.dvd.src.rpm /dvd/i386/SRPMS%BR% +cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.dvd.i386.rpm /dvd/i386/Fedora/RPMS/%BR% +cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.dvd.i386.rpm /dvd/i386/Fedora/base/comps.rpm%BR% %BR% echo Running genhdlist again to include the new comps rpm...%BR% -genhdlist --withnumbers /fedora/i386 ## Must have full path%BR% +genhdlist --withnumbers /dvd/i386 ## Must have full path%BR% %BR% buildinstall --pkgorder pkgfile --version 1 --product 'Fedora Core' --release 'Fedora Core 1' i386/%BR% @@ -37,19 +37,19 @@%BR% grep -v file$ pkgfile | grep -v <nop>file:/// > pkgfile.date +%Y-%m-%d%BR% %BR% -rm -rf i386-disc[1-9] %BR% -splittree.py --arch=i386 --total-discs=3 --bin-discs=3 --src-discs=1 --release-string="Fedora Core 1" --pkgorderfile=pkgfile.date +%Y-%m-%d --distdir=i386 --srcdir=SRPMS --productpath=Fedora %BR% +#rm -rf i386-disc[1-9] %BR% +#splittree.py --arch=i386 --total-discs=3 --bin-discs=3 --src-discs=1 --release-string="Fedora Core 1" --pkgorderfile=pkgfile --distdir=i386 --srcdir=SRPMS --productpath=Fedora %BR% %BR% echo Running genhdlist for the final time to include the .discinfo and pkgfile.%BR% -genhdlist --withnumbers --fileorder pkgfile.date +%Y-%m-%d /fedora/i386-disc[123456] %BR% +genhdlist --withnumbers --fileorder pkgfile.date +%Y-%m-%d /dvd/i386%BR% %BR% echo "Rebuilding the real comps after .discinfo, genhdlist and pkgfile"%BR% rpmbuild -ba /usr/src/redhat/SPECS/comps-fedora.spec%BR% -rm /fedora/i386/Fedora/RPMS/comps-1-0.*%BR% -cp /usr/src/redhat/SRPMS/comps-1-0.date +%<nop>Y%m%d.fedora.src.rpm /fedora/SRPMS%BR% -cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.fedora.i386.rpm /fedora/i386/Fedora/RPMS/%BR% -cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.fedora.i386.rpm /fedora/i386/Fedora/base/comps.rpm%BR% +rm /dvd/i386/Fedora/RPMS/comps-1-0.*%BR% +cp /usr/src/redhat/SRPMS/comps-1-0.date +%<nop>Y%m%d.dvd.src.rpm /dvd/i386/SRPMS%BR% +cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.dvd.i386.rpm /dvd/i386/Fedora/RPMS/%BR% +cp /usr/src/redhat/RPMS/i386/comps-1-0.date +%<nop>Y%m%d.dvd.i386.rpm /dvd/i386/Fedora/base/comps.rpm%BR% %BR% echo "Would you like to make the discs now (ENTER means no)?"%BR% read ANS%BR% @@ -58,5 +58,5 @@%BR% echo%BR% else%BR% echo Making Discs...%BR% - mkfedora-cd%BR% + mkdvd%BR% fi%BR%


%BR%%BR%%BR%

  • [[%ATTACHURL%/dvd.patch] [dvd.patch]  : Patch to update build-fc1 for DVD