%post --nochroot
cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL
# only works on x86, x86_64
if [ "$(uname -i)" = "i386" -o "$(uname -i)" =
"x86_64" ]; then
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
fi
%end
this is what i find reading your
http://img.cs.montana.edu/linux/montanalinux/config/f14/ml32/fedora-live-...
in post installation script i don't read the command to add repo like
what you have posted
"> %post
i have look for a paragraph of your .ks like
#repo --name=rawhide
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
#repo --name=fedora
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
#repo --name=updates
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
#repo --name=updates-testing
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
#repo --name=fedora
--baseurl=http://img.cs.montana.edu/linux/fedora/releases/14beta/Everything/i386/os/
repo --name=fedora
--baseurl=http://img.cs.montana.edu/linux/fedora/releases/14beta/Everything/i386/os/
#repo --name=local
--baseurl=http://img.cs.montana.edu/linux/fedora/releases/14beta/local/i386/
repo --name=rpmfusion-free
--baseurl=http://download1.rpmfusion.org/free/fedora/development/i386/os/
repo --name=rpmfusion-nonfree
--baseurl=http://download1.rpmfusion.org/nonfree/fedora/development/i386/os/
repo --name=adobe --baseurl=http://linuxdownload.adobe.com/linux/i386/
#repo --name=google-chrome
--baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386/
i think you need to add here the repo and is possible the command give
cat >> nomefile is overwrited from system utils.
i can try to suppose this but i am a novice.
2010/10/11 Scott Dowdle <dowdle(a)montanalinux.org>:
Valent,
----- Original Message -----
> Could you please share your kickstart files that you use to create
> your custom Fedora Remixes version based on Fedora 14? I have some
> issues with mine. Have some mayor things changed?
>
> I used this to create yum .repo files by using echo command in #post
> but now that fails for some reason.
>
> This is how I used to create .repo files:
>
> %post
>
> # mintMenu repo
> cat >> /etc/yum.repos.d/mintmenu.repo << EOF
> [mintMenu]
> name=mintMenu
> type=rpm-md
>
baseurl=http://download.opensuse.org/repositories/home:/unamanic/Fedora_13/
> gpgcheck=1
>
gpgkey=http://download.opensuse.org/repositories/home:/unamanic/Fedora_13...
> enabled=1
> EOF
>
> But now that I start livecd I see no custom .repo files in
> /etc/yum.repos.d/
I'm not sure who you were asking but if it was me, you can find my config files
here:
http://img.cs.montana.edu/linux/montanalinux/config/f14/
In the ml32 and ml64 directories.
TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
--
livecd mailing list
livecd(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/livecd