TSRPM and %pre/%post scripts

RPM packages will many times have %pre or %post scripts embedded in them. These scripts are supposed to be run before or afte the package is installed or upgraded and do things like set up specific configurations.

When creating an RFS, tsrpm can't run these scripts perfectly because your RFS is for a different architecture and those programs won't execute natively on your x86 host. So tsrpm tries to execute a native version, telling it to operate inside the RFS if it can. This process is problematic and doesn't always work.

If your RFS creation process is failing because of a %pre or %post script, try installing with --nopost. This will tell tsrpm to ignore %post scripts, allowing your RFS creation to succeed (you may still need to perform the steps that would have been taken care of by %post by hand instead).