On Wednesday 09 May 2007 03:51, Bernard Li wrote:
> Hi Erich:
>
> On 5/8/07, Erich Focht <[EMAIL PROTECTED]> wrote:
>
> > > I would recommend doing some cleanup to /tftpboot prior to copying the
> > > new files over, eg. deleting memtest* kernel-x* etc -- in this case in
> > > the future when upgrading netbootmgr, it won't leave cruft all over
> > > the place.
> >
> > that's something I don't dare to delete. The PXE config files have the
> > status
> > of config files and you would be very annoyed to lose them when doing an
> > update.
>
> I was not talking about the pxe config files, just the "extra" files
> which you provide, like "memtest86+-1.65.bin". However, perhaps you
> have already taken care of this for future upgrades (when I upgraded
> from the old version, /tftpboot had a bunch of extra files floating
> around).
Bernard,
this is from the spec file:
%post
if [ -d /tftpboot ]; then
for f in localboot kernel-x memtest86 memtest86+-1.65.bin; do
if [ ! -f /tftpboot/$f ]; then
cp -p /usr/share/netbootmgr/$f /tftpboot
fi
done
fi
%preun
# remove installed sample files if last instance of netbootmgr
# is being erased
if [ $1 -eq 0 ]; then
for f in localboot kernel-x memtest86 memtest86+-1.65.bin; do
if [ -f /tftpboot/$f ]; then
rm -f /tftpboot/$f
fi
done
fi
So actually this should be taken care of. I'll think of moving this to the
%files section and get rid of the scriptlet.
> >
> > # status update executable
> > STATUS /usr/bin/netbootmgr-status
>
> This is what my /etc/netbootmgr.conf says:
>
> # status update executable
> STATUS /usr/bin/netbootmgr-status
>
> When I run netbootmgr-status nothing happens. If I pass a hostname as
> argument, the hostname is displayed but nothing else.
Oh, well... I'll check what might have gone wrong. It works for me.
Regards,
Erich
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel