Dell RAID firmware and lockfile on Ubuntu

Ian P. Christian ran into this problem a while ago:

On a seperate note, anyone know how to upgrade firmware using Dell’s software
on a non-RH system?

# ./RAID_FRMW_LX_R107404.BIN
/root
which: no lockfile in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.6)
spsetup.sh: Cannot find utilities on the system to execute package.
Make sure the following utilities are in the path: sed lockfile tail rm mkdir
chmod ls basename
/root

‘lockfile’ is missing – whatever that is!

Lockfile just doesn’t seem to exist outside of RedHat (e.g. lockfile-progs on Debian doesn’t include it), however, you can of course find it on a RedHat system, and I happen to have one handy. I just copied the binary to my Ubuntu installation, where it appeared to run just fine, and allowed the firmware updaters to run ok. Thought someone might like to know.