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

Re: Two questions about RPM packages



Hello
Regarding to my previous questions, I have added the output of genhdlist, when invoked like this:

$ genhdlist --productpath=Test --withnumbers --fileorder /opt/Test/pkgfile /opt/Test/i386-disc1

WARNING: ordering not found for xfprint-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfwm4-themes-4.2.2-1fdr.noarch.rpm
WARNING: ordering not found for xfwm4-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce-mcs-manager-devel-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for libxfce4util-devel-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfdesktop-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for rhgb-0.14.1-9.centos4.4.i386.rpm
WARNING: ordering not found for xfce4-panel-devel-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-mixer-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-icon-theme-4.2.2-1fdr.noarch.rpm
WARNING: ordering not found for xfce-mcs-manager-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-trigger-launcher-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-panel-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xffm-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-session-engines-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for freeradius-1.0.1-3.RHEL4.3.i386.rpm
WARNING: ordering not found for libxfce4mcs-devel-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce-utils-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for libxfce4mcs-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfcalendar-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for libxfce4util-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-iconbox-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for libxfcegui4-devel-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for gtk-xfce-engine-2.2.7-1fdr.i386.rpm
WARNING: ordering not found for xfce4-systray-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-toys-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-session-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce4-appfinder-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for xfce-mcs-plugins-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for libxfcegui4-4.2.2-1fdr.i386.rpm
WARNING: ordering not found for dbh-1.0.24-1fdr.i386.rpm
WARNING: ordering not found for xfce4-session-devel-4.2.2-1fdr.i386.rpm

How is it possible to add ordering for this group of RPM packages? (Xfce Desktop)

Best Regards
Ali

On 1/19/07, Steven Fernandez <sfernand redhat com> wrote:
Hi,
Jesse Keating wrote:
> On Thursday 18 January 2007 14:47, Ali Majdzadeh wrote:
>> Hi Jesse
>> I don't think so. Because this RPM is a part of an installation process.
>> The order in which RPMs are installed is the issue, I think. Steven
>> suggested to use Requires tag.
>> By the way, the RPM mentioned performs some tasks regarding total
>> modification of installation, not only some self rpm related post install
>> tasks.
>
> Sorry, I think you misunderstood me.
>
> With a kickstart (scripted install), there is a %post section where you can
> have things done after all packages are installed, but before the reboot.
> Sounds like what you're trying to accomplish with a package trick, when it
> would be just easier to do it in kickstart %post.

I agree that having a kickstart %post is the probably the best way get things
done after all packages are installed in an automated setup, and probably
using firstboot is the way to go for non-automated installs. However, the
solution I recommended was meant to solve the problem of ensuring that all
packages from a set of related packages are installed and then doing some
post-install tasks - and most importantly, this need not necessarily be when
the *system* is installed. I don't think I said that in the clearest manner
possible ...but an example should clear it up ..

$ yum install foo
or
$ yum groupinstall "foo"

should install all 'foo' related packages and the execute something only after
the last package in the foo dependency list is installed. A meta-package 'foo'
with a complete 'Requires' section and a %post fulfills this requirement.

I think that was the Ali's original intent.

I don't know much about it but I feel the yum plugin mechanism might also help
here. Ali may want to investigate that.

- steve

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list redhat com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


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