Re: extra packages

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

 




On Nov 4, 2008, at 5:20 , Shabazian, Chip wrote:

tar -zxvf xyz.tz
cd xyz
./install

these are my own install packages (one installs a VPN and the other just
does stuff like add users, install java, etc).

I want to use the %post of my ks.cfg file to do these automatically. On
the same install disk, before doing the mkisofs, I made in the top
directory a directory called "addon" and put my two tar files,
preimage.tz and nppt.tz. Then from examples I modified the ks.cfg file
like this:


 %post --nochroot

If you do this ....

 ./install


...this will install your software to the booted ramdisk , not to the mount sysimage.

Maybe you need to change the install script so that it installs everything relative to /mnt/sysimage when you don't chroot during the %post


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Best regards                                       .~.
Jarle Bjørgeengen                                  /V\
Mob: +47 9155 7978                                // \\
http://www.uio.no/sok?person=jb                  /(   )\
while(<>){if(s/^(.*\?)$/42 !/){print "$1 $_"}}    ^`~'^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux