Hakan,

So sorry, I did make the assumption that you were using a stateless or
statelite node. Those use the netboot folder, and for those images, the
otherpkgs install runs during the genimage stage as chroot.

If you are doing a full install, then I'm not actually sure when the
otherpkgs runs.


On Wed, Oct 4, 2017 at 10:53 PM, Hakan Bayındır <
[email protected]> wrote:

> Hi Kevin,
>
> That yum -y upgrade is running after the system has rebooted (the script
> is postbootscript). I don't think it's running under a chroot or any
> similar isolated environment.
>
> Additionally, my xCAT MN doesn't have an /install/netboot folder.
>
> However, I will double check whether the yum is running under chroot.
>
> Regards,
>
> Hakan
>
> On 10/04/2017 11:50 PM, Kevin Keane wrote:
> > The yum update -y that you saw should be running in the chroot
> > environment, so the only way it would see your repos is if you added the
> > live repos to /install/netboot/<os>/<arch>/
> compute/rootimg/etc/yum.repos.d
> >
> >
> > On Wed, Oct 4, 2017 at 5:18 AM, Hakan Bayındır
> > <[email protected] <mailto:[email protected]>>
> > wrote:
> >
> >     Hi Russ,
> >
> >     Thanks for your answer. To test, I reinstalled the host with only
> >     "otherpkgs" post boot script. After checking the duplicates (with
> >     /usr/bin/yum --showduplicates list <package-name>), it actually ran
> "yum
> >     -y upgrade" and upgraded to system to latest packages before
> installing
> >     my other packages.
> >
> >     Actually in file /install/postscripts/otherpkgs, line 783; the
> script
> >     explicitly calls result=`eval $envlist yum -y upgrade 2>&1` and
> upgrades
> >     the whole system.
> >
> >     I can modify the script, but wanted to ask whether there's a better
> way
> >     to modify behavior of the said script.
> >
> >     Regards,
> >
> >     Hakan
> >
> >     On 10/04/2017 02:27 PM, Russ Auld wrote:
> >     > I'm pretty sure that it does not update the operating system to the
> >     > latest version automatically.
> >     >
> >     > The "otherpkgs" postscript creates repos based on the files and
> their
> >     > directories specified in the "otherpkgs" file set in the "osimage".
> >     > It then uses the platform's package manager to install the packages
> >     > listed in the "otherpkgs" file.
> >     > It doesn't run "yum update" (for instance) as you are suggesting.
> >     >
> >     > You should take a closer look at the postscripts that are being
> >     run and
> >     > the repositories that are created on the node.
> >     >
> >     >
> >     > On Wed, 2017-10-04 at 13:55 +0300, Hakan Bayındır wrote:
> >     >> Hello all,
> >     >>
> >     >> The xCAT's otherpackages script updates the operating system to
> the
> >     >> latest version automatically. Is there a way, or best practice to
> >     >> install "other packages" without updating the operating system to
> the
> >     >> latest version?
> >     >>
> >     >> Thanks in advance,
> >     >>
> >     >> Regards,
> >     >>
> >     >> Hakan Bayindir
> >     >> ------------------------------------------------------------
> -------
> >     >> -----------
> >     >> Check out the vibrant tech community on one of the world's most
> >     >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >     >> _______________________________________________
> >     >> xCAT-user mailing list
> >     >> [email protected]
> >     <mailto:[email protected]>
> >     >> https://lists.sourceforge.net/lists/listinfo/xcat-user
> >     <https://lists.sourceforge.net/lists/listinfo/xcat-user>
> >     >
> >     >
> >     ------------------------------------------------------------
> ------------------
> >     > Check out the vibrant tech community on one of the world's most
> >     > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >     > _______________________________________________
> >     > xCAT-user mailing list
> >     > [email protected]
> >     <mailto:[email protected]>
> >     > https://lists.sourceforge.net/lists/listinfo/xcat-user
> >     <https://lists.sourceforge.net/lists/listinfo/xcat-user>
> >     >
> >
> >     --
> >     *Hakan BAYINDIR*
> >     Başuzman Araştırmacı
> >     Ağ Teknolojileri Birimi
> >     TÜBİTAK ULAKBİM
> >     T.C. Bilim, Sanayi ve Teknoloji Bakanlığı (Eski Bina)
> >     Mustafa Kemal Mahallesi Dumlupınar Bulvarı
> >     (Eskişehir Yolu 7.Km) 2151.Cadde No:154
> >     ODTÜ Karşısı
> >     06510 Çankaya, ANKARA
> >     T +90 312 298 9373 <tel:%2B90%20312%20298%209373>
> >     F +90 312 266 5181 <tel:%2B90%20312%20266%205181>
> >     www.ulakbim.gov.tr <http://www.ulakbim.gov.tr>
> >     <http://www.ulakbim.gov.tr>
> >     [email protected] <mailto:[email protected]>
> >     ............................................................
> ....................................................................
> >
> >     <http://www.tubitak.gov.tr>
> >
> >     Sorumluluk Reddi <http://www.tubitak.gov.tr/sorumlulukreddi
> >     <http://www.tubitak.gov.tr/sorumlulukreddi>>
> >
> >
> >     ------------------------------------------------------------
> ------------------
> >     Check out the vibrant tech community on one of the world's most
> >     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >     _______________________________________________
> >     xCAT-user mailing list
> >     [email protected] <mailto:xCAT-user@lists.
> sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/xcat-user
> >     <https://lists.sourceforge.net/lists/listinfo/xcat-user>
> >
> >
> >
> >
> > --
> >
> > _______________________________________________________________________
> > Kevin Keane | Systems Architect | University of San Diego ITS |
> > [email protected] <mailto:[email protected]>
> > Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 |
> > 619.260.6859 <tel:%28619%29%20260-2298>
> >
> >
> >
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >
> >
> >
> > _______________________________________________
> > xCAT-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xcat-user
> >
>
> --
> *Hakan BAYINDIR*
> Başuzman Araştırmacı
> Ağ Teknolojileri Birimi
> TÜBİTAK ULAKBİM
> T.C. Bilim, Sanayi ve Teknoloji Bakanlığı (Eski Bina)
> Mustafa Kemal Mahallesi Dumlupınar Bulvarı
> (Eskişehir Yolu 7.Km) 2151.Cadde No:154
> ODTÜ Karşısı
> 06510 Çankaya, ANKARA
> T +90 312 298 9373
> F +90 312 266 5181
> www.ulakbim.gov.tr <http://www.ulakbim.gov.tr>
> [email protected]
> ............................................................
> ....................................................................
>
> <http://www.tubitak.gov.tr>
>
> Sorumluluk Reddi <http://www.tubitak.gov.tr/sorumlulukreddi>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>


-- 

_______________________________________________________________________
Kevin Keane | Systems Architect | University of San Diego ITS |
[email protected]
Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859
<%28619%29%20260-2298>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to