Re: Simple scripted example?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I did this once upon a time, and did get it to work, but
> seem to remember I had to twiddle with files in my home
> directory (.rpmmacros etc).   Looking at rpm.c now, I see
> that the --macros flag can be used to specify a directory
> to read those from, so maybe dotfiles aren't really an issue.

I do it without tweaking any macros or macrofiles...

> Another annoyance was that the resulting packages installed
> much more slowly than a simple tar -xz.  In fact, the install
> time was in the tens of minutes, way beyond the pain threshold
> of my users.  Thus I would like to minimize the number of copies
> made of the data during the install, if possible.  Would
> it be faster to list each file individually (possible, since
> I'm generating the spec file from a script)?  That might get
> rid of one copy of the data...

The extraction probably is not the process that takes most time. I
suspect the checking and processing of the rpm db...


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux