Mandrake Linux Archives: cooker@linux-mandrake.com
Mandrake Linux: cooker@linux-mandrake.com
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Rafael Garcia-Suarez
- Subject: [Cooker] Variables in urpmi media urls
- Date: 14 Feb 2005 18:00:28 -0000
The latest version of urpmi (4.6.16-2mdk) implements (after
the suggestion of Buchan Milne and a patch by Michael Scherer)
the ability to put variables in media URLs (thus giving
industrial-strength deployment features to this tool :)
For example you could define a media with this URL :
# urpmi.addmedia main /mnt/mandrake/$RELEASE/$ARCH/media/main \
with ../media_info/hdlist_main.cz
and it will replace $RELEASE and $ARCH with the relevant current values.
The recognized variables are currently :
RELEASE : current mdk version (or "cooker" on a cooker system)
ARCH : rpm architecture
HOST : current canonical hostname
ARCH and RELEASE are taken from /etc/mandrakelinux-release.
If you think about other variables that might be useful, let me know.
- Prev by Date: Re: [Cooker] [Bug 11041] [Installation] UNCONFIRMED: NIS configuration during installation is not complete
- Next by Date: [Cooker] [Bug 13628] [gnome2] UNCONFIRMED: Unable to assign default application to file type
- Previous by thread: [Cooker] [Bug 9270] [kernel] UNCONFIRMED: PCMCIA wireless adapter disconnects every minute or so
- Next by thread: [Cooker] [Bug 9287] [KDE] NEW: large cursor pointer option missing
- Index(es):
Search the archive:
To (un)subscribe from/to the lists:
Fund the Mandriva Linux project
