Changeset 2141

Show
Ignore:
Timestamp:
11/28/07 07:12:29 (1 year ago)
Author:
alexander
Message:

Formatting fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doc/README.txt

    r2140 r2141  
    210210 * Create directories: 
    211211 
    212     export WORK=/mnt/lfslivecd 
    213     mkdir -p $WORK/{orig,copy} 
     212        export WORK=/mnt/lfslivecd 
     213        mkdir -p $WORK/{orig,copy} 
    214214         
    215215 * Copy all files except root.ext2 from the original image: 
    216216 
    217     mount -t iso9660 -o loop lfslivecd-[version].iso $WORK/orig 
    218     cp -a $WORK/orig/*/ $WORK/copy/ 
    219     umount $WORK/orig 
     217        mount -t iso9660 -o loop lfslivecd-[version].iso $WORK/orig 
     218        cp -a $WORK/orig/*/ $WORK/copy/ 
     219        umount $WORK/orig 
    220220         
    221221 * Copy the compressed root.ext2 file without uncompressing it: 
    222222 
    223     mount -t iso9660 -o loop,norock lfslivecd-[version].iso $WORK/orig 
    224     cp $WORK/orig/root.ext2 $WORK/copy/ 
    225     chmod 644 $WORK/copy/root.ext2 
    226     umount $WORK/orig 
     223        mount -t iso9660 -o loop,norock lfslivecd-[version].iso $WORK/orig 
     224        cp $WORK/orig/root.ext2 $WORK/copy/ 
     225        chmod 644 $WORK/copy/root.ext2 
     226        umount $WORK/orig 
    227227         
    228228 * Edit the boot loader configuration: 
    229229 
    230     # Append new kernel options to the "append" lines 
    231     vim $WORK/copy/boot/isolinux/isolinux.cfg 
     230        # Append new kernel options to the "append" lines 
     231        vim $WORK/copy/boot/isolinux/isolinux.cfg 
    232232         
    233233 * Create the new LiveCD image: 
    234234 
    235     mkisofs -z -R -l --allow-leading-dots -D -o \ 
    236         lfslivecd-[version]-custom.iso -b boot/isolinux/isolinux.bin \ 
    237        -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ 
    238        -V "lfslivecd-[version]" $WORK/copy 
     235        mkisofs -z -R -l --allow-leading-dots -D -o \ 
     236            lfslivecd-[version]-custom.iso -b boot/isolinux/isolinux.bin \ 
     237            -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ 
     238            -V "lfslivecd-[version]" $WORK/copy 
    239239 
    240240[NOTE] 
     
    242242argument to the "-V" option) this way. The "-nosrc" suffix is not part of 
    243243the volume label and should be left out, but "-min" should be preserved. 
    244 If in doubt, you can find out the correct volume label by running this command: 
    245  
    246     file lfslivecd-[version].iso 
    247244 
    248245To add or remove files, follow the instructions in the