> Hi All, The OpenManage 6.2 yum repository has just been
> posted, and 'latest' symlink updated:
> http://linux.dell.com/repo/hardware/latest/
> [ ... ]

 "How to set up
  Complete this step before any of the steps below. 
   wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash"

That is quite objectionable.

I hope that no sysadm would be running (as 'root'...) a just
downloaded, unsigned, random script even from an alleged Dell
server (and I had a look at the script and it is a big mess too,
like most scripts floating around).

 "Manual setup
  There is no manual setup of the repository at this time."

Of course there is, it is just left undocumented.

This seems to me one of many cases of aspirational attempts to
create opaque, fragile "automagic" coolness.

Let's leave that to Microsofties (or Debian Developers and
GNOMEistas), people who use Dell servers and OMSA to support
production should have better standards, and should like keeping
things simple and obvious.

Yes, it is regrettable that you have to support so many GNU/Linux
variants. The more UNIXy solution is to generate all the variants
statically, so what is in the repo is clean and obvious, and the
generating mess is inflicted on the repo maintainers alone.

Also, I have been looking at creating the missing docs above, for
manual installation, and found another aspirational attempt at
"automagic" coolness:

  # rpm2cpio dell-omsa-repository-2-5.noarch.rpm | cpio -idtv
  1 block
  # rpm -qlp dell-omsa-repository-2-5.noarch.rpm
  /etc/yum/repos.d/dell-omsa-repository.repo

The repo RPM seems not to contain any actual file, yet its table
of contents reports it contains a file, but its path is mispelt,
even if fortunately the right path is created at installation
time:

  # rpm -ivh dell-omsa-repository-2-5.noarch.rpm
  Preparing...                ########################################### [100%]
     1:dell-omsa-repository   ########################################### [100%]
  Write repository configuration
  Done!
  # ls -ld /etc/yum/repos.d/dell-omsa-repository.repo
  ls: /etc/yum/repos.d/dell-omsa-repository.repo: No such file or directory
  # ls -ld /etc/yum.repos.d/dell-omsa-repository.repo
  -rw-r--r-- 1 root root 986 Dec 24 22:31 
/etc/yum.repos.d/dell-omsa-repository.repo

That "Write repository configuration" seems to indicate that the
file is "automagically" generated probably by the '%post' script.

Even better, if I delete the repo RPM, the file so "automagically"
generated is not deleted:

  # rpm -e dell-omsa-repository-2-5
  # rpm -q dell-omsa-repository
  package dell-omsa-repository is not installed
  # ls -ld /etc/yum.repos.d/dell-omsa-repository.repo
  -rw-r--r-- 1 root root 986 Dec 24 22:37 
/etc/yum.repos.d/dell-omsa-repository.repo

My current guess (as a seasonal present) for manual installation
for EL5 style distros is:

  REPO=http://linux.dell.com/repo/hardware/latest

  cd /etc/pki/rpm-gpg
  wget -N "$REPO"/RPM-GPG-KEY-dell      && rpm --import RPM-GPG-KEY-dell
  wget -N "$REPO"/RPM-GPG-KEY-libsmbios && rpm --import RPM-GPG-KEY-libsmbios

  cd /etc/yum.repos.d && cat > dell-omsa.repo <<@@@
# See http://linux.dell.com/repo/hardware/latest/repoview.html
# for value of 'DISTRO' and 'MODEL' below. Or just use 'mirrorlist'.
# DISTRO: {rh40,rh40_64,rh50,rh50_64,suse10_64,suse11_64}
# MODEL: {pe2950,per710,...}

[dell-omsa-indep]
name=Dell OMSA repository - Hardware independent
type=rpm-md
failover=priority
#baseurl=$REPO/platform_independent/DISTRO
mirrorlist=$REPO/mirrors.cgi?osname=el\$releasever&basearch=\$basearch
gpgkey=$REPO/RPM-GPG-KEY-dell
       $REPO/RPM-GPG-KEY-libsmbios
gpgcheck=1
enabled=1

[dell-omsa-specific]
name=Dell OMSA repository - Hardware specific
type=rpm-md
failover=priority
#baseurl=$REPO/MODEL/DISTRO
mirrorlist=$REPO/mirrors.cgi?osname=el\$releasever&basearch=\$basearch&sys_ven_id=\$sys_ven_id&sys_dev_id=\$sys_dev_id
gpgkey=$REPO/RPM-GPG-KEY-dell
       $REPO/RPM-GPG-KEY-libsmbios
gpgcheck=1
enabled=1
@@@

  yum install yum-dellsysid

and then make sure the plugin is enabled and edit the '.repo'
file accordingly (uncomment the 'mirrorlist' and comment
'baseurl'). Could be made less manual...

Merry Festivities!

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to