[PlanetCCRMA] Re:Building rpms elsewhere than /usr/src/redhat
Joseph Zitt
jzitt at metatronpress.com
Sun Jan 12 23:00:02 PST 2003
On Sun, 12 Jan 2003 16:41:00 -0500
Christopher Albert <albert at DMS.UMontreal.CA> wrote:
> This is in response to the poster who didn't have enough space in
> /usr/src to build his kernel rpm.
> To change the default location, one needs to copy
> /usr/lib/rpm/macros to /root/.rpmmacros and then edit the latter file
> to change the %{_topdir} variable. It is all explained in the file
> /usr/lib/rpm/macros.
Hm... as you've suggested, I copied /usr/lib/rpm/macros to
/root/.rpmmacros then edited it to change
%_topdir %{_usrsrc}/redhat
to
%_topdir /ddrive/usrsrc/redhat
However, that seems not to have affected things:
[root at gimel root]# rpm -Uvh
/ddrive/apt/archives/kernel-source#2.4.19-1.ll\@i386_2.4.19-1.ll_i386.r
pm
Preparing... ###########################################
[100%]
installing package kernel-source-2.4.19-1.ll needs 101Mb on the /
filesystem
[root at gimel root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 1765992 1655700 20584 99% /
/dev/hda5 1022080 652428 369652 64% /ddrive
none 31188 0 31188 0% /dev/shm
/dev/hda1 1022080 971648 50432 96% /windows
/dev/cdrom1 655730 655730 0 100% /mnt/cdrom1
[root at gimel root]#
(pardon wacky sylpheed-derived line wrapping)
There's plenty of room on /ddrive, so it looks to me like it's still
trying to unpack the file onto the / partition.
Is there anything else that I should change?
--
| jzitt at josephzitt.com http://www.josephzitt.com/ |
| GPG: A4224EFA http://www.mp3.com/josephzitt/ |
| == New book: Surprise Me with Beauty: the Music of Human Systems == |
| Comma / Gray Code / VoiceWAVE Silence: the John Cage Discussion List |
More information about the PlanetCCRMA
mailing list