Mailinglist Archive: opensuse-factory (599 mails)
| < Previous | Next > |
Re: [opensuse-factory] Running a program when launching the SUSE install part
- From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
- Date: Sun, 06 Aug 2006 13:27:31 +0200
- Message-id: <44D5D223.9010205@xxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Hanke wrote:
> Andreas Hanke schrieb:
>>> Each time I run `yast, Software, Software Management` that I first run
>>> `createrepo /usr/src/packages/RPMS` so I don't forget to include extra
>>> files I downloaded.
>> You shouldn't have to do it at all, YaST should be able to do it for you.
>
> With "it" I mean including RPMs from a local directory without manual
> intervention. A local directory with just naked RPMs in it should be a
> valid (and working) type of installation source.
I don't agree.
If you just have the RPMs and no repository metadata, YaST must scan all
the .rpm files in that directory and extract that metadata (RPM header
information).
createrepo does the same, but the difference is: createrepo also stores
that data ;)
Also, createrepo can use a cache, so it will only fetch RPM headers from
files that are newer than their entry in the cache.
That's more efficient, and reduces the startup time of YaST (if such a
feature is added to YaST).
> Your "run createrepo" proposal is a workaround for a missing feature.
I don't think so. createrepo is the appropriate tool to manage a repository.
I don't know whether zypp is currently capable of using a "naked"
directory of RPMs as an installation source. If it doesn't, I think that
just using createrepo is a better solution than adding more complexity
to zypp.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFE1dIjr3NMWliFcXcRAn5uAKC7arY+ooRAjT4TbZ81gHBS8tEQYwCghG/t
m1zbcgc06qCmeKAF9jnaVLg=
=S7Mb
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory-help@xxxxxxxxxxxx
Hash: SHA1
Andreas Hanke wrote:
> Andreas Hanke schrieb:
>>> Each time I run `yast, Software, Software Management` that I first run
>>> `createrepo /usr/src/packages/RPMS` so I don't forget to include extra
>>> files I downloaded.
>> You shouldn't have to do it at all, YaST should be able to do it for you.
>
> With "it" I mean including RPMs from a local directory without manual
> intervention. A local directory with just naked RPMs in it should be a
> valid (and working) type of installation source.
I don't agree.
If you just have the RPMs and no repository metadata, YaST must scan all
the .rpm files in that directory and extract that metadata (RPM header
information).
createrepo does the same, but the difference is: createrepo also stores
that data ;)
Also, createrepo can use a cache, so it will only fetch RPM headers from
files that are newer than their entry in the cache.
That's more efficient, and reduces the startup time of YaST (if such a
feature is added to YaST).
> Your "run createrepo" proposal is a workaround for a missing feature.
I don't think so. createrepo is the appropriate tool to manage a repository.
I don't know whether zypp is currently capable of using a "naked"
directory of RPMs as an installation source. If it doesn't, I think that
just using createrepo is a better solution than adding more complexity
to zypp.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFE1dIjr3NMWliFcXcRAn5uAKC7arY+ooRAjT4TbZ81gHBS8tEQYwCghG/t
m1zbcgc06qCmeKAF9jnaVLg=
=S7Mb
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory-help@xxxxxxxxxxxx
| < Previous | Next > |