[flashboot] build-diskimage.sh sudo bug

Jussi Peltola pelzi at pelzi.net
Sat May 5 23:34:26 EST 2007


Hi,

build-diskimage.sh contains the line
${SUDO} sed "/^stty/s/19200/${TTYSPEED}/" < \
	${BASE}/initial-conf/boot.conf > ${MOUNTPOINT}/etc/boot.conf

This does run sed as root, but the redirect is handled by the shell and
writing to ${MOUNTPOINT}/etc/boot.conf fails.

-- 
Jussi Peltola


More information about the flashboot mailing list