On Apr 8, 2005 1:59 PM, Sean Sosik-Hamor <sean@xxxxxxxxxxxxxxx> wrote: > Is there any way to specify default system-wide command-line rpm > --arguments in the rpmrc file (or any other config file, for that > matter)? For example, I need > --relocate=/opt/montavista/devkit/arm/xscale_le/target=/ to be a > command-line argument no matter where rpm gets run from (command-line, > shellscripts, system call from another application, etc.). > > I realize I could create shell aliases in /etc/profile or add > --relocate to any shellscript or system call that runs rpm but I'm > hoping for a single config file solution that guarantees that > --relocate will always be there. > Use, I think /etc/popt or something like that. Its popt that lets you set up default command lines. OTOH, if you want to setup certain config like items, like having all erasures repackaged, you would add the appropriate macros to /etc/rpm/macros (I just can't remember off hand where the global popt files goes and horrors I'm not at a linux machine ATM). Cheers...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list