~ubuntu-branches/ubuntu/vivid/lowmem/vivid

« back to all changes in this revision

Viewing changes to debian-installer-startup.d/S38lowmemwarn

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-08-02 10:50:14 UTC
  • mfrom: (1.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20130802105014-j400aw9qvlmztmk6
Tags: 1.40ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Don't install the desktop in lowmem mode.
  - Even in lowmem mode, leave the framebuffer enabled if vga= is found on
    the kernel command line.
* Move most of lowmem_debconf to happen after the framebuffer is
  (conditionally) loaded.  If the framebuffer is enabled, then we need
  this to happen later otherwise the initial lowmem warning is invisible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
if [ -e /var/lib/lowmem ]; then
2
 
        anna-install lowmem
3
 
 
4
 
        if  [ -e /var/lib/lowmem_insufficient ]; then
5
 
                min=`cat /var/lib/lowmem_insufficient`
6
 
                lowmem_debconf lowmem/insufficient "$min"
7
 
        else
8
 
                lowmem_debconf lowmem/low ""
9
 
        fi
10
 
fi