RE: %install section question

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

 



>> Hi all,
>>
>> New rpmbuild user here (building a binary package).
>>
>> Correct me if I'm wrong: the %install section of the spec file gets
>> executed both at "rpmbuild -bb" and at "rpm -i|U" time.
>
>That's incorrect; %install gets executed at package build time, not when the
>package is installed via -i, -U, or -F.

OK.
What, then, tells "rpm -i|U|F" what to do (which directories to create if missing, which files to put there, etc).

-nik



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux