Changes between Version 16 and Version 17 of Documentation/SupportedImages/BuildingBaselineImage


Ignore:
Timestamp:
Apr 2, 2012, 4:36:48 PM (12 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/SupportedImages/BuildingBaselineImage

    v16 v17  
    135135    resizefs: true
    136136    }}}
     137 1. Switch to a swap file instead of swap partition:
     138    1. Make the file:
     139    {{{
     140    dd if=/dev/zero of=/swapfile bs=1G count=2
     141    mkswap /swapfile
     142    chown root.root /swapfile
     143    chmod 0600 swapfile
     144    }}}
     145    1. Edit the fstab to make /swapfile the mounted swap device: Add this line:
     146    {{{
     147    /swap none            swap    sw              0       0
     148    }}}
     149
    137150 1. Run the prepare [attachment:prepare.sh file]