Changes

Jump to: navigation, search

Pidora SOP

745 bytes added, 13:04, 9 April 2013
Example Post Script Execution
== Example Post Script Execution ==
 
You may have more than one %post section, which can be useful for cases where some post-installation scripts need to be run in the chroot and others that need access outside the chroot.
%post
section is required to be closed with a corresponding
%end
 
--nochroot
 
Allows you to specify commands that you would like to run outside of the chroot environment.
 
--interpreter /usr/bin/python
 
Allows you to specify a different scripting language, such as Python. Replace /usr/bin/python with the scripting language of your choice.
 
--erroronfail
 
If the post-installation script fails, this option will cause an error dialog to be displayed and will halt installation. The error message will direct you to where the cause of the failure is logged.
 
--log=
 
Log all messages from the script to the given log file.
1
edit

Navigation menu