Google
  Web www.spinics.net

%post script run as root

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


Hi,
If i need to run some ash scripts as root in %post, is it within the guidelines of RPM building?
I Searched through Maximum RPM, and could not find the answer.

OR
Is it that ALL sections are run as root ( chroot) in the "BUILD" area, and when the rpm is finally installed in the target, it chroots to run the scripts as root ?

since i saw somewhere that %pre has a --nochroot qualifier

Thanks,
-Kamal.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Home]     [Fedora Legacy]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net