Re: again: customize FC5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-03-29 at 10:13 +0200, G.-B. Hauck wrote:
> Hi all,
> 
> Since FC1 i'm making my own distro - but in FC5 i can't get it run ;-(. 
> 
> Yes, i'm using createrepo - but i saw that in pkgorder only my re- or
> new-build RPMs have the right "relativepath" (i386/Fedora) - all others
> don't - setting a base-path with "-u" in createrepo did not change
> anything.
> I changed the "relativepath" line in pkgorder and build the RPM-Name by
> "name-version-rel.arch.rpm" - then i got an install-directory but after
> pxe-boot, language selection, selection of NFS-Server and path -
> anaconda can't start in graphical mode, it can't find vesamodes ... 
> 
> I think, i do not use createrepo the right way and/or don't understand
> yum and/or ... - updating createrepo to 0.4.4 did not help ;-|
> 
> What does the "--comp" parameter of buildinstall means  ?
> 
> Does someone have a working script like:
> 
> pushd $FCBASE/$arch/$productpath/RPMS
> createrepo -o ../../ -g ../base/comps.xml  ./
> popd

rather here
pushd $FCBASE/$arch
createrepo -g $productpath/base/comps.xml .
popd
> $PKGORDER  "$FCBASE/$arch" $arch $productpath  | tee $FCBASE/pkgfile.txt
> $BUILDINSTALL --comp Test --pkgorder $FCBASE/pkgfile.txt \
>   --discs $(makelist $BINDISCS ",") \
>   --version $distver --prodpath $productpath --product "$productname" \
>   --release "$release" $FCBASE/$arch 
> 
> splittree.py --arch=$arch --total-discs=$TOTALDISCS \
>   --bin-discs=$BINDISCS --src-discs=$SRCDISCS \
>   --release-string="$release" \
>   --pkgorderfile=$FCBASE/pkgfile.txt \
>   --distdir="$FCBASE/$arch" --srcdir="$FCBASE/SRPMS" \
>   --productpath=$productpath


You'll need to adjust this to your setup and what splittree spits out
but something like:

mediaid=`head -1 $topdir-disc1/.discinfo`
rm -rf $topdir-disc?/.olddata
createrepo -v -g $productpath/base/comps.xml \
                --baseurl=media://$mediaid --split $topdir-disc?

Paul


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux