On Mon, 2012-08-13 at 14:14 -0700, Scott Garman wrote:
> +pkg_postinst_${PN} () {
> +# run this on the target
> +if [ "x$D" == "x" ]; then
> + tmp="${SERIAL_CONSOLES_CHECK}"
> + for i in $tmp
> + do
> + j=`echo ${i} | sed s/^.*\;//g`
> + if [ -z "`cat /proc/consoles | grep ${j}`" ]; then
> + sed -i /^.*${j}$/d /etc/inittab
> + fi
> + done
> + kill -HUP 1
> +else
> + exit 1
> +fi
> +}
This makes the package uninstallable, even if SERIAL_CONSOLES_CHECK is
empty, on a READ_ONLY_ROOTFS.
p.
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core