Changeset 54789f3
- Timestamp:
- 01/24/2016 02:04:18 AM (7 years ago)
- Branches:
- systemd-13485
- Children:
- 83f6c770
- Parents:
- 295ca00
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/welcome/changelog.xml
r295ca00 r54789f3 80 80 <para>[renodr] - Update to GnuTLS-3.4.8. Merged from trunk r16797.</para> 81 81 </listitem> 82 <listitem> 83 <para>[renodr] - Update to LVM-2.02.420. Merged from trunk r16816.</para> 84 </listitem> 85 <listitem> 86 <para>[renodr] - Update to Fuse-2.9.5. Merged from trunk r16814.</para> 87 </listitem> 88 <listitem> 89 <para>[renodr] - Update to gptfdisk-1.0.1. Merged from trunk r16553.</para> 90 </listitem> 91 <listitem> 92 <para>[renodr] - Update to xfsprogs-4.3.0. Merged from trunk r16376.</para> 93 </listitem> 94 <listitem> 95 <para>[renodr] - Update to JOE-4.1. Merged from trunk r16385.</para> 96 </listitem> 97 <listitem> 98 <para>[renodr] - Update to nano-2.5.1. Merged from trunk r16799.</para> 99 </listitem> 100 <listitem> 101 <para>[renodr] - Update to tcsh-6.19.00. Merged from trunk r16332.</para> 102 </listitem> 103 <listitem> 104 <para>[renodr] - Update to zsh-5.2. Merged from trunk r16706.</para> 105 </listitem> 106 <listitem> 107 <para>[renodr] - Update to qemu-2.5.0. Merged from trunk r16773.</para> 108 </listitem> 82 109 </itemizedlist> 83 110 </listitem> -
packages.ent
r295ca00 r54789f3 40 40 41 41 <!-- Chapter 5 --> 42 <!ENTITY fuse-version "2.9.4"> 42 <!ENTITY fuse-version "2.9.5"> 43 <!ENTITY fuse-download-version "2_9_5"> 43 44 <!ENTITY jfsutils-version "1.1.15"> 44 <!ENTITY lvm2-version "2.02.1 28">45 <!ENTITY lvm2-version "2.02.140"> 45 46 <!ENTITY mdadm-version "3.3.4"> 46 47 <!ENTITY ntfs-3g-version "2015.3.14"> 47 <!ENTITY gptfdisk-version "1.0. 0">48 <!ENTITY gptfdisk-version "1.0.1"> 48 49 <!ENTITY parted-version "3.2"> 49 50 <!ENTITY reiser-version "3.6.24"> 50 51 <!ENTITY sshfs-fuse-version "2.5"> 51 <!ENTITY xfsprogs-version " 3.2.4">52 <!ENTITY xfsprogs-version "4.3.0"> 52 53 53 54 <!-- Chapter 6 --> … … 55 56 <!ENTITY ed-version "1.12"> 56 57 <!ENTITY emacs-version "24.5"> 57 <!ENTITY joe-version "4. 0">58 <!ENTITY nano-version "2. 4.2">58 <!ENTITY joe-version "4.1"> 59 <!ENTITY nano-version "2.5.1"> 59 60 <!ENTITY vim-version "7.4"> 60 61 61 62 <!-- Chapter 7 --> 62 63 <!ENTITY dash-version "0.5.8"> 63 <!ENTITY tcsh-version "6.1 8.01">64 <!ENTITY zsh-version "5. 0.8">64 <!ENTITY tcsh-version "6.19.00"> 65 <!ENTITY zsh-version "5.2"> 65 66 66 67 <!-- Chapter 8 Virtualization --> 67 <!ENTITY qemu-version "2. 3.0">68 <!ENTITY qemu-version "2.5.0"> 68 69 69 70 <!-- Part III --> -
postlfs/editors/joe.xml
r295ca00 r54789f3 7 7 <!ENTITY joe-download-http "&sourceforge-repo;/joe-editor/joe-&joe-version;.tar.gz"> 8 8 <!ENTITY joe-download-ftp "&gentoo-ftp-repo;/joe-&joe-version;.tar.gz"> 9 <!ENTITY joe-md5sum " 3c3b6d5089a29ddc746ee89bab59286e">10 <!ENTITY joe-size " 820 KB">11 <!ENTITY joe-buildsize " 12MB">9 <!ENTITY joe-md5sum "b8c9ab4295e3208ddbbaa9c1141564f9"> 10 <!ENTITY joe-size "1.3 MB"> 11 <!ENTITY joe-buildsize "20 MB"> 12 12 <!ENTITY joe-time "0.2 SBU"> 13 13 ]> … … 78 78 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 79 79 80 <screen role="root"><userinput>make install</userinput></screen> 80 <screen role="root"><userinput>make install && 81 82 install -vm 755 joe/util/{stringify,termidx,uniproc} /usr/bin && 83 install -vdm755 /usr/share/joe/util && 84 install -vm 644 joe/util/{*.txt,README} /usr/share/joe/util</userinput></screen> 81 85 82 86 </sect2> … … 134 138 jpico, 135 139 jstar, 136 rjoe, and 137 termidx</seg> 140 rjoe, 141 stringify, 142 termidx, and 143 uniproc</seg> 138 144 <seg>None</seg> 139 145 <seg>/etc/joe, 140 146 /usr/share/joe, and 141 /usr/share/doc/joe </seg>147 /usr/share/doc/joe-&joe-version;</seg> 142 148 </seglistitem> 143 149 </segmentedlist> … … 205 211 </varlistentry> 206 212 213 <varlistentry id="stringify"> 214 <term><command>stringify</command></term> 215 <listitem> 216 <para>is a program used by <command>joe</command> to convert rc and 217 .jsf files into a C file (see /usr/share/joe/util/README).</para> 218 <indexterm zone="joe stringify"> 219 <primary sortas="b-stringify">stringify</primary> 220 </indexterm> 221 </listitem> 222 </varlistentry> 223 207 224 <varlistentry id="termidx"> 208 225 <term><command>termidx</command></term> 209 226 <listitem> 210 227 <para>is a program used by <command>joe</command> to generate the 211 termcap index file .</para>228 termcap index file (see /usr/share/joe/util/README).</para> 212 229 <indexterm zone="joe termidx"> 213 230 <primary sortas="b-termidx">termidx</primary> … … 216 233 </varlistentry> 217 234 235 <varlistentry id="uniproc"> 236 <term><command>uniproc</command></term> 237 <listitem> 238 <para>is a program used by <command>joe</command> to generate joe's 239 unicode database file unicat.c from Blocks.txt, CaseFolding.txt, 240 EastAsianWidth.txt, and UnicodeData.txt (find them at 241 /usr/share/joe/util; see /usr/share/joe/util/README).</para> 242 <indexterm zone="joe uniproc"> 243 <primary sortas="b-uniproc">uniproc</primary> 244 </indexterm> 245 </listitem> 246 </varlistentry> 218 247 </variablelist> 219 248 -
postlfs/editors/nano.xml
r295ca00 r54789f3 7 7 <!ENTITY nano-download-http "http://ftp.gnu.org/gnu/nano/nano-&nano-version;.tar.gz"> 8 8 <!ENTITY nano-download-ftp "ftp://ftp.gnu.org/gnu/nano/nano-&nano-version;.tar.gz"> 9 <!ENTITY nano-md5sum " ce6968992fec4283c17984b53554168b">10 <!ENTITY nano-size "1. 8MB">11 <!ENTITY nano-buildsize "1 1MB">12 <!ENTITY nano-time " less than0.1 SBU">9 <!ENTITY nano-md5sum "f25c7da9813ae5f1df7e5dd1072de4ce"> 10 <!ENTITY nano-size "1.9 MB"> 11 <!ENTITY nano-buildsize "13 MB"> 12 <!ENTITY nano-time "0.1 SBU"> 13 13 ]> 14 14 … … 171 171 </para> 172 172 173 <para> 174 Syntax highlighting is provided for several file types, in the 175 <filename class="directory">/usr/share/nano/</filename> directory. 176 As an example, for shell scripts, you can insert 177 <option>include /usr/share/nano/sh.nanorc</option> in your personal 178 or global configuration file. If you want highlighting for all supported 179 files, use <option>include /usr/share/nano/*.nanorc</option>. 180 </para> 181 173 182 </sect3> 174 183 … … 185 194 <seglistitem> 186 195 <seg> 187 nano and rnano (symlink) 196 nano 197 and rnano (symlink) 188 198 </seg> 189 199 <seg> -
postlfs/filesystems/fuse.xml
r295ca00 r54789f3 5 5 %general-entities; 6 6 7 <!ENTITY fuse-download-http " &sourceforge-repo;/fuse/fuse-&fuse-version;.tar.gz">7 <!ENTITY fuse-download-http "https://github.com/libfuse/libfuse/releases/download/fuse_&fuse-download-version;/fuse-&fuse-version;.tar.gz"> 8 8 <!ENTITY fuse-download-ftp " "> 9 <!ENTITY fuse-md5sum " ecb712b5ffc6dffd54f4a405c9b372d8">10 <!ENTITY fuse-size "5 64KB">11 <!ENTITY fuse-buildsize " 9.9 MB">9 <!ENTITY fuse-md5sum "c901b77a1c4584c7ac6c2b67c0713f2b"> 10 <!ENTITY fuse-size "552 KB"> 11 <!ENTITY fuse-buildsize "8.2 MB (9.8 MB with API documentation"> 12 12 <!ENTITY fuse-time "0.1 SBU"> 13 13 ]> … … 123 123 </para> 124 124 125 <screen><userinput>./configure --prefix=/usr --disable-static INIT_D_PATH=/tmp/init.d && 125 <screen><userinput>sed -i 's/2:9:4/2:9:5/' lib/Makefile.in && 126 127 ./configure --prefix=/usr \ 128 --disable-static \ 129 INIT_D_PATH=/tmp/init.d && 126 130 make</userinput></screen> 127 131 … … 142 146 143 147 mv -v /usr/lib/libfuse.so.* /lib && 144 ln -sfv ../../lib/ $(readlink /usr/lib/libfuse.so)/usr/lib/libfuse.so &&148 ln -sfv ../../lib/libfuse.so.&fuse-version; /usr/lib/libfuse.so && 145 149 rm -rf /tmp/init.d && 146 150 … … 162 166 <sect2 role="commands"> 163 167 <title>Command Explanations</title> 168 169 <para><command>sed -i ... lib/Makefile.in</command> This command fixes 170 the libfuse so version. 171 </para> 164 172 165 173 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 232 240 <seglistitem> 233 241 <seg> 234 fusermount, mount.fuse, and ulockmgr_server 242 fusermount, 243 mount.fuse, 244 and ulockmgr_server 235 245 </seg> 236 246 <seg> 237 libfuse.so and libulockmgr.so 247 libfuse.so 248 and libulockmgr.so 238 249 </seg> 239 250 <seg> 240 /usr/include/fuse and /usr/share/doc/fuse-&fuse-version; 251 /usr/include/fuse 252 and /usr/share/doc/fuse-&fuse-version; 241 253 </seg> 242 254 </seglistitem> -
postlfs/filesystems/gptfdisk.xml
r295ca00 r54789f3 8 8 "&sourceforge-repo;/project/gptfdisk/gptfdisk/&gptfdisk-version;/gptfdisk-&gptfdisk-version;.tar.gz"> 9 9 <!ENTITY gptfdisk-download-ftp " "> 10 <!ENTITY gptfdisk-md5sum " 2061f917af084215898d4fea04d8388f">10 <!ENTITY gptfdisk-md5sum "d7f3d306b083123bcc6f5941efade586"> 11 11 <!ENTITY gptfdisk-size "192 KB"> 12 <!ENTITY gptfdisk-buildsize "2. 1MB">12 <!ENTITY gptfdisk-buildsize "2.2 MB"> 13 13 <!ENTITY gptfdisk-time "less than 0.1 SBU"> 14 14 ]> … … 133 133 <seglistitem> 134 134 <seg> 135 cgdisk, gdisk, fixparts, and sgdisk 135 cgdisk, 136 gdisk, 137 fixparts, 138 and sgdisk 136 139 </seg> 137 140 </seglistitem> -
postlfs/filesystems/lvm2.xml
r295ca00 r54789f3 6 6 7 7 <!ENTITY lvm2-download-http " "> 8 <!ENTITY lvm2-download-ftp "ftp://sources.redhat.com/pub/lvm2/ LVM2.&lvm2-version;.tgz">9 <!ENTITY lvm2-md5sum " b3f4c273a30b316678755cec2a129718">8 <!ENTITY lvm2-download-ftp "ftp://sources.redhat.com/pub/lvm2/releases/LVM2.&lvm2-version;.tgz"> 9 <!ENTITY lvm2-md5sum "f2191c4798c8927a6d31a96010b9f568"> 10 10 <!ENTITY lvm2-size "1.8 MB"> 11 <!ENTITY lvm2-buildsize " 31 MB (additional 10 MB to run the test suite)">12 <!ENTITY lvm2-time "0. 6 SBU (additional 8.2 SBU to run the test suite)">11 <!ENTITY lvm2-buildsize "46 MB (during the test suite, transient files can grow up to around 500 MB)"> 12 <!ENTITY lvm2-time "0.4 SBU (additional about 10 SBU to run the test suite with parallelism = 4)"> 13 13 ]> 14 14 … … 31 31 32 32 <para> 33 The <application>LVM2</application> package is a packagethat manages33 The <application>LVM2</application> package is a set of utilities that manages 34 34 logical partitions. It allows spanning of file systems across multiple 35 35 physical disks and disk partitions and provides for dynamic growing or 36 shrinking of logical partitions .36 shrinking of logical partitions, mirroring and low storage footprint snapshots. 37 37 </para> 38 38 … … 77 77 <bridgehead renderas="sect4">Optional</bridgehead> 78 78 <para role="optional"> 79 <xref linkend='mdadm'/> (for checks) and 80 <xref linkend='xfsprogs'/> (for checks) 79 <xref linkend='mdadm'/> (for checks), 80 <xref linkend='reiserfs'/>, 81 <xref linkend='valgrind'/>, 82 <xref linkend='which'/>, 83 <xref linkend='xfsprogs'/> (all five may be used, but are not required, 84 for tests), and 85 <ulink url='https://github.com/jthornber/thin-provisioning-tools'> 86 thin-provisioning-tools</ulink> 81 87 </para> 82 88 … … 84 90 <ulink url="&blfs-wiki;/lvm2"/> 85 91 </para> 92 93 <note> 94 <para> 95 Kernel versions in the 4.1 and 4.2 series have a broken RAID 96 implementation. If you want to use RAID style LV's, you should 97 install a kernel with a version number above 4.2.4. Note that several 98 tests use RAID logical volumes, and can generate a <quote>kernel 99 oops</quote> with faulty kernel versions, which usually renders the 100 system unusable. 101 </para> 102 </note> 86 103 </sect2> 87 104 … … 105 122 <*/M/ > Crypt target support [CONFIG_DM_CRYPT] 106 123 <*/M/ > Snapshot target [CONFIG_DM_SNAPSHOT] 124 <*/M/ > Thin provisioning target [CONFIG_DM_THIN_PROVISIONING] 107 125 <*/M/ > Mirror target [CONFIG_DM_MIRROR]</literal></screen> 108 126 … … 121 139 </para> 122 140 123 <screen><userinput>./configure --prefix=/usr \ 141 <screen><userinput>SAVEPATH=$PATH && 142 PATH=$PATH:/sbin:/usr/sbin && 143 ./configure --prefix=/usr \ 124 144 --exec-prefix= \ 125 145 --with-confdir=/etc \ … … 128 148 --enable-pkgconfig \ 129 149 --enable-udev_sync && 130 make</userinput></screen> 131 132 <para> 133 <!--The check command must be run as the <systemitem 134 class="username">root</systemitem> user. Also the tests are known to 135 hang if at least one partition on a hard drive is not set up as a Linux 136 LVM partition (type 8e00).-->To test the results, issue: <command>make -k 137 check</command> as the <systemitem class="username">root</systemitem> 138 user. At least one partition on a hard drive must be set up as a Linux 139 LVM partition (type 8e00). The test timings are very dependent on the 140 speed of the disk(s) and on the number of enabled kernel options. 150 make && 151 PATH=$SAVEPATH && 152 unset SAVEPATH</userinput></screen> 153 154 <para> 155 The tests use <application>udev</application> for logical volume 156 synchronization, so the LVM udev rules and some utilities need to 157 be installed before running the tests. If you are installing 158 <application>LVM2</application> for the first time, and do not 159 want to install the full package before running the tests, the minimal 160 set of utilities can be installed by running the following commands 161 as the <systemitem class="username">root</systemitem> user: 162 </para> 163 164 <screen role="root"><userinput>make -C tools install_dmsetup_dynamic && 165 make -C udev install && 166 make -C libdm install</userinput></screen> 167 168 <para> 169 To test the results, issue: <command>make check_local</command> as the 170 <systemitem class="username">root</systemitem> user. Other targets are 171 available and can be listed with <command>make -C test help</command>. 172 The test timings are very dependent on the speed of the disk(s), and on 173 the number of enabled kernel options. 174 </para> 175 <para> 176 Those tests do not implement the <quote>expected fail</quote> possibility, 177 and a small number of test failures is expected by upstream. More 178 failures may happen because some kernel options are missing. For example, 179 the lack of the <emphasis>dm-delay</emphasis> device mapper target may 180 explain up to 10 failures or so. Some tests are flagged 181 <quote>warned</quote> if 182 <ulink url='https://github.com/jthornber/thin-provisioning-tools'> 183 thin-provisioning-tools</ulink> are not installed. A workaround is to 184 add the following flags to <command>configure</command>: 185 </para> 186 187 <screen role="nodump"><userinput> --with-thin-check= \ 188 --with-thin-dump= \ 189 --with-thin-repair= \ 190 --with-thin-restore= \ 191 --with-cache-check= \ 192 --with-cache-dump= \ 193 --with-cache-repair= \ 194 --with-cache-restore= \</userinput></screen> 195 196 <para> 197 Some tests may hang with kernel versions within the 4.1 and 4.2 series (see 198 above). They can be removed if necessary, for example: <command>rm 199 test/shell/lvcreate-large-raid.sh</command>. The tests generate a lot 200 of kernel messages, which may clutter your terminal. You can disable them 201 by issuing <command>dmesg -D</command> before running the tests (do not 202 forget to issue <command>dmesg -E</command> when the tests are done). 141 203 </para> 142 204 … … 151 213 <sect2 role="commands"> 152 214 <title>Command Explanations</title> 215 216 <para> 217 <command>PATH=$PATH:/sbin:/usr/sbin</command>: The path 218 must contain <filename class="directory">/sbin</filename> and 219 <filename class="directory">/usr/sbin</filename> for proper system tool 220 detection by the <command>configure</command> script. This command 221 ensures that it is properly set if you are building as an unprivileged user. 222 </para> 153 223 154 224 <para> … … 161 231 building of the shared command library. It is required 162 232 when building the event daemon. 233 </para> 234 235 <para> 236 <option>--enable-lvmetad</option>: This switch enables 237 building of the <application>LVM</application> metadata daemon, 238 which avoids scanning all the filesystems when an LVM command is 239 run. 163 240 </para> 164 241 … … 191 268 <seglistitem> 192 269 <seg> 193 blkdeactivate, dmeventd (optional), dmsetup, fsadm, lvm, lvmconf, 194 lvmdump, and vgimportclone. There are also numerous symbolic links to 270 blkdeactivate, 271 dmeventd (optional), 272 dmsetup, 273 fsadm, 274 lvm, 275 lvmconf, 276 lvmdump, 277 lvmetad (optional), 278 and vgimportclone. 279 There are also numerous symbolic links to 195 280 lvm that implement specific functionalities 196 281 </seg> 197 282 <seg> 198 libdevmapper.so, liblvm2app.so and liblvm2cmd.so; optional: 199 libdevmapper-event.so, libdevmapper-event-lvm2.so, 200 libdevmapper-event-lvm2mirror.so, libdevmapper-event-lvm2snapshot.so, 201 libdevmapper-event-lvm2raid.so, and libdevmapper-event-lvm2thin.so 283 libdevmapper.so, 284 liblvm2app.so, 285 and liblvm2cmd.so; 286 optional: libdevmapper-event.so, 287 libdevmapper-event-lvm2.so, 288 libdevmapper-event-lvm2mirror.so, 289 libdevmapper-event-lvm2snapshot.so, 290 libdevmapper-event-lvm2raid.so, 291 and libdevmapper-event-lvm2thin.so 202 292 </seg> 203 293 <seg> … … 303 393 </varlistentry> 304 394 395 <varlistentry id="lvmetad"> 396 <term><command>lvmetad</command></term> 397 <listitem> 398 <para> 399 (optional) is the LVM metadata daemon. 400 </para> 401 <indexterm zone="lvm2 lvmetad"> 402 <primary sortas="b-lvmetad">lvmetad</primary> 403 </indexterm> 404 </listitem> 405 </varlistentry> 406 305 407 <varlistentry id="vgimportclone"> 306 408 <term><command>vgimportclone</command></term> -
postlfs/filesystems/xfsprogs.xml
r295ca00 r54789f3 8 8 <!ENTITY xfsprogs-download-http " "> 9 9 <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-&xfsprogs-version;.tar.gz"> 10 <!ENTITY xfsprogs-md5sum " c28db88f058ada506fe0ac6a897a1c42">11 <!ENTITY xfsprogs-size "1. 4MB">12 <!ENTITY xfsprogs-buildsize " 34MB">13 <!ENTITY xfsprogs-time "0. 6SBU">10 <!ENTITY xfsprogs-md5sum "ade22791338fa3d2cf442d6bb84f1748"> 11 <!ENTITY xfsprogs-size "1.5 MB"> 12 <!ENTITY xfsprogs-buildsize "63 MB"> 13 <!ENTITY xfsprogs-time "0.5 SBU"> 14 14 ]> 15 15 … … 133 133 134 134 <seglistitem> 135 <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_copy, xfs_db, 136 xfs_estimate, xfs_freeze, xfs_fsr, xfs_growfs, xfs_info, xfs_io, 137 xfs_logprint, xfs_mdrestore, xfs_metadump, xfs_mkfile, xfs_ncheck, 138 xfs_quota, xfs_repair, and xfs_rtcp</seg> 135 <seg>fsck.xfs, 136 mkfs.xfs, 137 xfs_admin, 138 xfs_bmap, 139 xfs_copy, 140 xfs_db, 141 xfs_estimate, 142 xfs_freeze, 143 xfs_fsr, 144 xfs_growfs, 145 xfs_info, 146 xfs_io, 147 xfs_logprint, 148 xfs_mdrestore, 149 xfs_metadump, 150 xfs_mkfile, 151 xfs_ncheck, 152 xfs_quota, 153 xfs_repair, 154 and xfs_rtcp</seg> 139 155 <seg>libhandle.so</seg> 140 156 <seg>/usr/include/xfs and /usr/share/doc/xfsprogs-&xfsprogs-version;</seg> -
postlfs/shells/tcsh.xml
r295ca00 r54789f3 5 5 %general-entities; 6 6 7 <!ENTITY tcsh-download-http "http:// www.sfr-fresh.com/unix/misc/tcsh-&tcsh-version;.tar.gz">7 <!ENTITY tcsh-download-http "http://fossies.org/linux/misc/tcsh-&tcsh-version;.tar.gz"> 8 8 <!ENTITY tcsh-download-ftp "ftp://ftp.astron.com/pub/tcsh/tcsh-&tcsh-version;.tar.gz"> 9 <!ENTITY tcsh-md5sum " 6eed09dbd4223ab5b6955378450d228a">10 <!ENTITY tcsh-size "9 12KB">11 <!ENTITY tcsh-buildsize "1 2.6 MB">12 <!ENTITY tcsh-time "0.2 SBU ">9 <!ENTITY tcsh-md5sum "f5f854833578647795bc906dd4bcb5d5"> 10 <!ENTITY tcsh-size "928 KB"> 11 <!ENTITY tcsh-buildsize "15 MB (with tests)"> 12 <!ENTITY tcsh-time "0.2 SBU (with tests)"> 13 13 ]> 14 14 … … 68 68 <sect2 role="installation"> 69 69 <title>Installation of Tcsh</title> 70 71 <para> 72 First, fix the package for gcc5 optimizations: 73 </para> 74 75 <screen><userinput>sed -e 's/ i)/ k)/' \ 76 -e '/ k)/ i \ k = i;' \ 77 -e '/\*cp/ a \ volatile size_t k;' \ 78 -i tc.alloc.c</userinput></screen> 70 79 71 80 <para>Install <application>Tcsh</application> by running the following 72 81 commands:</para> 73 82 74 <screen><userinput>sed -i -e 's|\$\*|#&|' -e's|fR/g|&m|' tcsh.man2html &&83 <screen><userinput>sed -i 's|fR/g|&m|' tcsh.man2html && 75 84 76 85 ./configure --prefix=/usr --bindir=/bin && … … 94 103 <title>Command Explanations</title> 95 104 96 <para><command>sed -i -e 's|\$\*|#&|' -e's|fR/g|&m|' tcsh.man2html</command>:105 <para><command>sed -i 's|fR/g|&m|' tcsh.man2html</command>: 97 106 This updates some deprecated Perl code.</para> 98 107 … … 175 184 <literal>/bin/tcsh 176 185 /bin/csh</literal> 186 EOF</userinput></screen> 187 188 <para> 189 The following <filename>~/.cshrc</filename> provides two alternative 190 colour prompts and coloured <command>ls</command> output. If you prefer 191 a global modification, issue the command as the 192 <systemitem class="username">root</systemitem> user, replacing 193 <filename>~/.cshrc</filename> by <filename>/etc/csh.cshrc</filename>. 194 </para> 195 196 <screen><userinput>cat > ~/.cshrc << "EOF" 197 <literal># Original at: 198 # https://www.cs.umd.edu/~srhuang/teaching/code_snippets/prompt_color.tcsh.html 199 200 # Modified by the BLFS Development Team. 201 202 # Add these lines to your ~/.cshrc (or to /etc/csh.cshrc). 203 204 # Colors! 205 set red="%{\033[1;31m%}" 206 set green="%{\033[0;32m%}" 207 set yellow="%{\033[1;33m%}" 208 set blue="%{\033[1;34m%}" 209 set magenta="%{\033[1;35m%}" 210 set cyan="%{\033[1;36m%}" 211 set white="%{\033[0;37m%}" 212 set end="%{\033[0m%}" # This is needed at the end... 213 214 # Setting the actual prompt. Two separate versions are available for you to try. Pick 215 # whichever one you like better, and change the colors as you want. 216 # Just don't mess with the ${end} guy in either line... Comment out or 217 # delete the prompt that you don't use. 218 219 set prompt="${green}%n${blue}@%m ${white}%~ ${green}%%${end} " 220 set prompt="[${green}%n${blue}@%m ${white}%~ ]${end} " 221 222 # This was not in the original URL above. 223 # Provides coloured ls 224 alias ls ls --color=always 225 226 # Clean up after ourselves... 227 unset red green yellow blue magenta cyan yellow white end</literal> 177 228 EOF</userinput></screen> 178 229 -
postlfs/shells/zsh.xml
r295ca00 r54789f3 5 5 %general-entities; 6 6 7 <!ENTITY zsh-download-http "http://www.zsh.org/pub/zsh-&zsh-version;.tar. bz2">7 <!ENTITY zsh-download-http "http://www.zsh.org/pub/zsh-&zsh-version;.tar.xz"> 8 8 <!ENTITY zsh-download-ftp " "> 9 <!ENTITY zsh-md5sum " e6759e8dd7b714d624feffd0a73ba0fe">10 <!ENTITY zsh-size " 3.2MB">11 <!ENTITY zsh-buildsize "6 6 MB">12 <!ENTITY zsh-time "1.1 SBU ">13 14 <!ENTITY zsh-doc-md5sum " c49d1f0d2e7593c966461e0c1fa70532">15 <!ENTITY zsh-doc-size "3. 1MB">9 <!ENTITY zsh-md5sum "afe96fde08b70e23c1cab1ca7a68fb34"> 10 <!ENTITY zsh-size "2.7 MB"> 11 <!ENTITY zsh-buildsize "64 MB (includes documentation and tests)"> 12 <!ENTITY zsh-time "1.1 SBU (includes documentation and tests)"> 13 14 <!ENTITY zsh-doc-md5sum "873f1ade1fa5d0d15f9cba16d3ba5f98"> 15 <!ENTITY zsh-doc-size "3.0 MB"> 16 16 ]> 17 17 … … 67 67 <listitem> 68 68 <para>Optional Documentation: <ulink 69 url="http://www.zsh.org/pub/zsh-&zsh-version;-doc.tar. bz2"/></para>69 url="http://www.zsh.org/pub/zsh-&zsh-version;-doc.tar.xz"/></para> 70 70 </listitem> 71 71 <listitem> … … 76 76 </listitem> 77 77 </itemizedlist> 78 79 <note> 80 <para> 81 When there is a new <application>zsh</application> release available, the old 82 files shown above are moved to a new server directory: 83 <ulink url="http://www.zsh.org/pub/old/"/> 84 </para> 85 </note> 78 86 79 87 <bridgehead renderas="sect3">zsh Dependencies</bridgehead> … … 97 105 the following command:</para> 98 106 99 <screen><userinput>tar --strip-components=1 -xvf ../zsh-&zsh-version;-doc.tar. bz2</userinput></screen>107 <screen><userinput>tar --strip-components=1 -xvf ../zsh-&zsh-version;-doc.tar.xz</userinput></screen> 100 108 101 109 <!-- <note> -
postlfs/virtualization/qemu-systemd.xml
r295ca00 r54789f3 7 7 <!ENTITY qemu-download-http "http://wiki.qemu.org/download/qemu-&qemu-version;.tar.bz2"> 8 8 <!ENTITY qemu-download-ftp " "> 9 <!ENTITY qemu-md5sum " 2fab3ea4460de9b57192e5b8b311f221">10 <!ENTITY qemu-size "2 4MB">11 <!ENTITY qemu-buildsize " 291 MB">12 <!ENTITY qemu-time " 1.4 SBU">9 <!ENTITY qemu-md5sum "f469f2330bbe76e3e39db10e9ac4f8db"> 10 <!ENTITY qemu-size "25 MB"> 11 <!ENTITY qemu-buildsize "419 MB (with tests)"> 12 <!ENTITY qemu-time "2.4 SBU (with tests)"> 13 13 ]> 14 14 … … 79 79 <xref linkend="curl"/>, 80 80 <xref linkend="cyrus-sasl"/>, 81 <xref linkend="gnutls"/>, 81 82 <xref linkend="gtk2"/>, 82 83 <xref linkend="gtk3"/>, 83 84 <xref linkend="libusb"/>, 85 <xref linkend="libgcrypt"/>, 84 86 <xref linkend="lzo"/>, 87 <xref linkend="nettle"/>, 85 88 <xref linkend="nss"/> (for libcacard.so), 86 <xref linkend="mesalib"/>, and 89 <xref linkend="mesalib"/>, 90 <xref linkend="sdl"/>, and 87 91 <xref linkend="vte"/> 92 <ulink url="http://www.libssh2.org">libssh2</ulink> 88 93 </para> 89 94 … … 151 156 commands:</para> 152 157 153 <screen><userinput>./configure --prefix=/usr \ 154 --sysconfdir=/etc \ 155 --docdir=/usr/share/doc/qemu-&qemu-version; \ 156 --target-list=x86_64-softmmu && 158 <note><para>Qemu is capable of running many targets. The build process 159 is also capable of building multiple targets at one time in a 160 comma delimited list assigned to <option>--target-list</option>. Run 161 <command>./configure --help</command> to get a complete list of 162 available targets.</para></note> 163 164 <screen><userinput>if [ $(uname -m) = i686 ]; then 165 QEMU_ARCH=i386-softmmu 166 else 167 QEMU_ARCH=x86_64-softmmu 168 fi 169 170 mkdir -vp build && 171 cd build && 172 173 ../configure --prefix=/usr \ 174 --sysconfdir=/etc \ 175 --target-list=$QEMU_ARCH \ 176 --audio-drv-list=alsa \ 177 --docdir=/usr/share/doc/qemu-&qemu-version; && 178 179 unset QEMU_ARCH && 180 157 181 make</userinput></screen> 158 182 159 <para>To run the built in tests, run <command>make V=1 check</command>.</para> 183 <para>To run the built in tests, run <command>make V=1 check</command>. 184 One test is known to fail.</para> 160 185 161 186 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 162 187 163 188 <screen role="root"><userinput>make install && 164 [ -e /usr/lib/libcacard.so ] && chmod -v 755 /usr/lib/libcacard.so</userinput></screen> 189 [ -e /usr/lib/libcacard.so ] && 190 chmod -v 755 /usr/lib/libcacard.so</userinput></screen> 165 191 166 192 <para> … … 193 219 194 220 <para>For convenience you may want to create a symbolic link to run 195 <command>qemu-system-x86_64</command>:</para>196 197 <screen role="root"><userinput>ln -sv qemu-system-x86_64/usr/bin/qemu</userinput></screen>221 The installed program. For instance:</para> 222 223 <screen role="root"><userinput>ln -sv qemu-system-`uname -m` /usr/bin/qemu</userinput></screen> 198 224 </note> 199 225 … … 203 229 <title>Command Explanations</title> 204 230 205 <para><parameter>--target-list=x86_64-softmmu</parameter>: This switch206 limits the build target to the x86_64 architecture. For other207 hardware emulation see the --target-list list in <command>configure</command>'s208 help output. Omitting this option will build all architectures.</para>209 210 231 <para> 211 < option>--audio-drv-list=alsa</option>: This switch sets the audio driver232 <parameter>--audio-drv-list=alsa</parameter>: This switch sets the audio driver 212 233 to ALSA. For other drivers see the --audio-drv-list list in 213 234 <command>configure</command>'s help output. The default audio driver is … … 230 251 <note><para>The following instructions assume you have created the optional 231 252 symbolic link, <userinput>qemu</userinput>. Additionally, you must run 232 <userinput>qemu</userinput> from an X Window System based terminal.</para></note> 253 <userinput>qemu</userinput> from an X Window System based terminal. 254 (either locally or over ssh).</para></note> 233 255 234 256 <para>To install an operating system, download an iso of your choice or use … … 257 279 <screen><userinput>qemu -enable-kvm vdisk.img -m 384</userinput></screen> 258 280 259 <para>To add networking to the instance add "-net nic -net user" to the 260 command above. qemu provides a DHCP server for the VM and, depending on 281 <para>You may have a problem with <parameter>--enable-kvm</parameter>. Also, 282 you may want to define audio and video drivers, the number of cpu cores, and 283 the number of threads. An alternative command to install the operating system is (see qemu 284 man page for parameters definitions):</para> 285 286 <screen><userinput>qemu -enable-kvm \ 287 -cdrom /home/fernando/ISO/linuxmint-17.1-mate-32bit.iso \ 288 -boot order=d \ 289 -m 1G,slots=3,maxmem=4G \ 290 -machine smm=off \ 291 -soundhw es1370 \ 292 -cpu host \ 293 -smp cores=4,threads=2 \ 294 -vga std \ 295 vdisk.img</userinput></screen> 296 297 <para>One parameter not appearing in the qemu man page is 298 <parameter>-machine smm=off</parameter>, and it used to allow 299 <parameter>-enable-kvm</parameter> in some systems. In order to run the 300 machine, you can alternatively issue:</para> 301 302 <screen><userinput>qemu -enable-kvm \ 303 -machine smm=off \ 304 -boot order=d \ 305 -m 1G,slots=3,maxmem=4G \ 306 -soundhw es1370 \ 307 -cpu host \ 308 -smp cores=4,threads=2 \ 309 -vga vmware \ 310 -hda vdisk.img</userinput></screen> 311 312 <para>Sometimes, you want the machine to have different screen sizes than 313 the ones natively offered by the virtual graphics card. The example below is 314 for the qemu vmware graphics card, which uses 315 <xref linkend="xorg-vmware-driver"/> and is set to give the maximum screen size 316 of 1600x900. As the <systemitem class="username">root</systemitem> user, 317 issue the following:</para> 318 319 <screen role="root"><userinput>cat > /usr/share/X11/xorg.conf.d/20-vmware.conf << "EOF" 320 <literal>Section "Monitor" 321 Identifier "Monitor0" 322 # cvt 1600 900 323 # 1600x900 59.95 Hz (CVT 1.44M9) hsync:55.99 kHz; pclk: 118.25 MHz 324 Modeline "1600x900" 118.25 1600 1696 1856 2112 900 903 908 934 -hysnc +vsync 325 Option "PreferredMode" "1600x900" 326 HorizSync 1-200 327 VertRefresh 1-200 328 EndSection 329 330 Section "Device" 331 Identifier "VMWare SVGA II Adapter" 332 Option "Monitor" "Default" 333 Driver "vmware" 334 EndSection 335 336 Section "Screen" 337 Identifier "Default Screen" 338 Device "VMWare SVGA II Adapter" 339 Monitor "Monitor0" 340 341 SubSection "Display" 342 Depth 24 343 Modes "1600x900" "1440x900" "1366x768" "1280x720" "800x480" 344 EndSubSection 345 EndSection </literal> 346 EOF </userinput></screen> 347 348 <para>New sizes will be available besides the native ones. You need to 349 restart X in order to have the new sizes available.</para> 350 351 <para><!--To add networking to the instance add "-net nic -net user" to the 352 command above.--> qemu provides a DHCP server for the VM and, depending on 261 353 the client system, sets up networking though the host.</para> 262 354 … … 268 360 <itemizedlist spacing="compact"> 269 361 <listitem> 270 <para>Set up bridging using <xref linkend=" network-bridge"/>.</para>362 <para>Set up bridging using <xref linkend="bridgeutils"/>.</para> 271 363 </listitem> 272 364 … … 375 467 <seglistitem> 376 468 <seg> 469 ivshmem-client, 470 ivshmem-server, 471 qemu (symlink), 377 472 qemu-ga, 378 473 qemu-img, 379 474 qemu-io, 380 475 qemu-nbd, 381 qemu-system- x86_64,476 qemu-system-<arch>, 382 477 virtfs-proxy-helper, and 383 478 vscclient … … 385 480 <seg>libcacard.so</seg> 386 481 <seg> 387 /etc/qemu, 388 /usr/include/cacard, 389 /usr/lib/qemu, 390 /usr/share/qemu, and 482 /etc/qemu, and 391 483 /usr/share/doc/qemu-&qemu-version; 392 484 </seg>
Note:
See TracChangeset
for help on using the changeset viewer.