[flashboot] Getting ready for 4.4 /etc/netstart need /usr/bin/stat

Yannick Gravel
Wed, 22 Oct 2008 04:55:09 -0000

Hi,

  I built current flashboot code using OpenBSD 4.4 stable for a Soekris
net5501-70.

  /etc/netstart has changed since 4.3 and it now need /usr/bin/stat that
was missing from flashboot.

cvs server: Diffing .
Index: list
==================================================================RCS file:
/cvs/flashboot/list,v
retrieving revision 1.57
diff -r1.57 list
177a178
 > COPY ${DESTDIR}/usr/bin/stat                  usr/bin/stat
Index: list.recovery
==================================================================RCS file:
/cvs/flashboot/list.recovery,v
retrieving revision 1.3
diff -r1.3 list.recovery
135a136
 > COPY ${DESTDIR}/usr/bin/stat                  usr/bin/stat

  Also, I have updated /etc/rc.conf to source /etc/rc.conf.local ? la
full OpenBSD. I have been doing this for the last 4 years in my
postinstall procedure. But it would be nice to have this embeded in
flashboot so that /etc/rc.conf can set the default and show all the rc
knobs even after the update to a new kernel/ramdisk with new features.
What you guys think about this?

cvs server: Diffing initial-conf
Index: initial-conf/rc.conf
==================================================================RCS file:
/cvs/flashboot/initial-conf/rc.conf,v
retrieving revision 1.15
diff -r1.15 rc.conf
36a37,40
 >
 > local_rcconf="/etc/rc.conf.local"
 >
 > [ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this
line

I''ll continue to play with my latest build and see if other things need
to be "changed" to adapt for OpenBSD 4.4.

Cheers

Y.