Changeset 2143

Show
Ignore:
Timestamp:
11/28/07 08:14:51 (1 year ago)
Author:
alexander
Message:

Merged all changes since r2139 from trunk

Files:

Legend:

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

    r2123 r2143  
    114114 
    115115It is possible to burn a customized version of the official Linux From 
    116 Scratch LiveCD, with your own files added. To do that, follow the 
    117 instructions in the /root/lfscd-remastering-howto.txt file. 
     116Scratch LiveCD, with changed default boot parameters and/or your own files 
     117added. 
     118 
     119To change the default boot arguments, follow these steps as root. 
     120 
     121 * Create directories: 
     122 
     123        export WORK=/mnt/lfslivecd 
     124        mkdir -p $WORK/{orig,copy} 
     125         
     126 * Copy all files except root.ext2 from the original image: 
     127 
     128        mount -t iso9660 -o loop lfslivecd-[version].iso $WORK/orig 
     129        cp -a $WORK/orig/*/ $WORK/copy/ 
     130        umount $WORK/orig 
     131         
     132 * Copy the compressed root.ext2 file without uncompressing it: 
     133 
     134        mount -t iso9660 -o loop,norock lfslivecd-[version].iso $WORK/orig 
     135        cp $WORK/orig/root.ext2 $WORK/copy/ 
     136        chmod 644 $WORK/copy/root.ext2 
     137        umount $WORK/orig 
     138         
     139 * Edit the boot loader configuration: 
     140 
     141        # Append new kernel options to the "append" lines 
     142        vim $WORK/copy/boot/isolinux/isolinux.cfg 
     143         
     144 * Create the new LiveCD image: 
     145 
     146        mkisofs -z -R -l --allow-leading-dots -D -o \ 
     147            lfslivecd-[version]-custom.iso -b boot/isolinux/isolinux.bin \ 
     148            -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ 
     149            -V "lfslivecd-[version]" $WORK/copy 
     150 
     151[NOTE] 
     152You cannot change the volume label of the customized CD (i.e., the 
     153argument to the "-V" option) this way. The "-nosrc" suffix is not part of 
     154the volume label and should be left out, but "-min" should be preserved. 
     155 
     156To add or remove files, follow the instructions in the 
     157/root/lfscd-remastering-howto.txt file instead. 
    118158 
    119159AUTOSSHD 
     
    163203(e.g., vfat and isofs). 
    164204 
    165 BRAILLE DISPLAY SUPPORT 
    166 ----------------------- 
     205ACCESSIBILITY 
     206------------- 
     207 
     208The Live CD includes software (BRLTTY and speakup) that make the contents 
     209of the Linux text console accessible to visually-impaired users. This 
     210software is not started by default, and special boot parameters (documented 
     211below) are needed in order to use it. 
     212 
     213Unfortunately, the boot loader expects the parameters to be entered with 
     214US English keyboard layout, which is not familiar to non-US users, and they 
     215cannot see their mistakes. Thus, it is recommended for such users to 
     216customize default boot parameters of the CD as described above instead of 
     217trying to type them at the boot prompt. 
     218 
     219### BRAILLE DISPLAY SUPPORT ### 
    167220 
    168221The LiveCD includes the "brltty" program that allows a blind person to read 
     
    189242wrong result in the ru_RU.CP1251 locale. 
    190243 
    191 ### Known non-working cases ### 
     244#### Known non-working cases #### 
    192245 
    193246 * All CP1251-based locales (no CP1251 Braille table in "brltty") 
     
    206259<livecd@linuxfromscratch.org>. 
    207260 
    208 SPEECH OUTPUT WITH SPEAKUP 
    209 -------------------------- 
     261### SPEECH OUTPUT WITH SPEAKUP ### 
    210262 
    211263This CD includes a development version of Speakup (because no stable versions 
     
    290342testsuite may lead to failures that would not occur otherwise. 
    291343 
    292 NOTE: you must unmount all USB flash drives and all partitions used by other 
     344[NOTE] 
     345You must unmount all USB flash drives and all partitions used by other 
    293346operating systems installed on your computer before hibernating! Do not 
    294347attempt to mount partitions used by a hibernated system from other systems 
     
    351404 * as user "jhalfs", follow the instructions in the jhalfs README file 
    352405 
    353 Note that this user already has the required root access (via "sudo") to 
    354 complete the build. 
     406This user already has the required root access (via "sudo") to complete 
     407the build. 
    355408 
    356409LOADING CD CONTENTS TO RAM 
     
    366419RAM, add swap when the CD boot finishes. 
    367420 
    368 NOTE: in order to save RAM, sources and proprietary drivers are not loaded 
     421[NOTE] 
     422In order to save RAM, sources and proprietary drivers are not loaded 
    369423there. In order to access them, please mount this CD and look into 
    370424/media/cdrom/sources and /media/cdrom/drivers. 
     
    674728order given above and in various combinations if the CD does not boot, or if 
    675729a device does not work correctly or fails after hibernating and resuming. 
    676 Note: if this helps, the bug is in the hardware or the BIOS, not in this CD. 
     730If this helps, the bug is in the hardware or the BIOS, not in this CD. 
    677731 
    678732THANKS 
  • branches/minimal/doc/lfscd-remastering-howto.txt

    r2125 r2143  
    1 AUTHOR:         Alexander E. Patrakov <patrakov@ums.usu.ru>, Sylvie Migneault <alisou@alixe.org> 
    2  
    3 DATE:           2007-08-28 
     1AUTHOR:         Alexander E. Patrakov <patrakov@gmail.com>, Sylvie Migneault <alisou@alixe.org> 
     2 
     3DATE:           2007-11-28 
    44 
    55LICENSE:        GNU Free Documentation License Version 1.2 
     
    9797 
    9898In the chroot, change the current directory to /build, and install any 
    99 additional packages you want. Modify other files as necessary. 
     99additional packages you want. Modify other files as necessary. If you want 
     100to compile a new kernel, please include the following options: 
     101        CONFIG_MD=y 
     102        CONFIG_BLK_DEV_DM=y 
     103        CONFIG_DM_SNAPSHOT=y 
     104        CONFIG_EXT2_FS=y or m 
     105        CONFIG_ISO9660_FS=y or m 
     106        CONFIG_ZISOFS=y 
    100107 
    101108Generate initramfs images for your CD by running the create-initramfs command 
    102109for each kernel. This command accepts the following parameters: the LiveCD 
    103110version, the kernel version, and the name of the initramfs file to create. 
     111For self-compiled kernels, the list of directories to search for modules is not 
     112accurate, and you can either ignore "no such file" errors (if you feel lucky) 
     113or edit the /usr/bin/create-initramfs script. For the default LiveCD kernel, 
     114the shipped script should just work. 
    104115 
    105116For x86: 
     
    112123(you can replace the "6.3-custom" with your own string). This produces the 
    113124initramfs_data.cpio.gz and possibly initramfs_data64.cpio.gz files in the 
    114 current directory. Copy them to /build: 
     125current directory. Copy them (and kernel bzImages, if you have built any) 
     126to /build: 
    115127        cp initramfs_data*.cpio.gz /build 
    116128 
     
    152164        cp -r /media/cdrom/*/ $WORK/iso 
    153165 
    154 Replace the stock initramfs images with your own: 
     166Replace the stock initramfs images (and, possibly, kernel images) with your 
     167own: 
    155168        cp $WORK/build/initramfs_data*.cpio.gz \ 
    156169            $WORK/iso/boot/isolinux/ 
     
    190203   [2007-10-21] 
    191204    * Updated for the new create-initramfs script 
     205 
     206   [2007-11-28[ 
     207    * Updated my e-mail address 
     208    * Added kernel instructions 
  • branches/minimal/root/.purple/prefs.xml

    r1977 r2143  
    1717                        <pref name='list_visible' type='bool' value='1'/> 
    1818                </pref> 
     19                <pref name='sound'> 
     20                        <pref name='command' type='path' value='aplay -q %s'/> 
     21                        <pref name='method' type='string' value='custom'/> 
     22                </pref> 
    1923        </pref> 
    2024</pref>