Hello
      please find the patch for the debconf frontend Noninteractive setting.
 
now , you can auto-build iso image w/o interaction daily
 
Patch_debconf_frontend ()
{
 # setting debconf front_end to Noninteractive

 case "${1}" in
  apply)
   # Write configuration option
   if [ -f "${LIVE_CHROOT}"/var/cache/debconf/config.dat ]; then
    sed -i -e "s/^Value: Dialog.*\$/Value: Noninteractive/" \
     "${LIVE_CHROOT}"/var/cache/debconf/config.dat
   fi
   ;;

  deapply)
   # Remove configuration file
   if [ -f "${LIVE_CHROOT}"/var/cache/debconf/config.dat ]; then
    sed -i -e "s/^Value: Noninteractive.*\$/Value: Dialog/" \
     "${LIVE_CHROOT}"/var/cache/debconf/config.dat
   fi
   ;;
 esac
}
 
 
Best Regards
 
Wufu Chen
_______________________________________________
Debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to