bootstrap for arduino yun and updar automatically atmega

Hello

I have two questions:

  1. Is it possible to do a debootstrap on arduino yun and derivatives?
    I obviously mean the linux part (linino or openwrt).

  2. is it possible to update the micro component (atmega) starting from linux without manually intervening?

that procedure is good for update linux :
http://wiki.dragino.com/index.php?title=Getting_Start_with_Arduino_Yun#Upgrade_via_WEB_GUI

?