Changeset fcc84cc
- Timestamp:
- May 29, 2014, 12:48:56 AM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- 7cb9b1d
- Parents:
- 1916102
- Location:
- BOOK
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/eudev.xml
r1916102 rfcc84cc 48 48 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para> 49 49 50 <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" >\50 <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" > \ 51 51 /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen> 52 52 -
BOOK/boot/common/shadow.xml
r1916102 rfcc84cc 29 29 <screen os="c"><userinput>cp -v src/Makefile.in{,.orig} 30 30 sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \ 31 src/Makefile.in.orig >src/Makefile.in</userinput></screen>31 src/Makefile.in.orig > src/Makefile.in</userinput></screen> 32 32 33 33 <para os="d">Prepare Shadow for compilation:</para> -
BOOK/boot/mips/colo-build.xml
r1916102 rfcc84cc 40 40 41 41 <screen os="s2"><userinput>cp -v stage2/Makefile{,.orig} 42 sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig >stage2/Makefile</userinput></screen>42 sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig > stage2/Makefile</userinput></screen> 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/64/createfiles.xml
r1916102 rfcc84cc 21 21 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 22 22 ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib 23 sed -e 's/tools/usr/' /tools/lib/libstdc++.la >/usr/lib/libstdc++.la23 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la 24 24 ln -sv bash /bin/sh 25 25 ln -sv /run /var/run</userinput></screen> -
BOOK/chroot/common/createfiles.xml
r1916102 rfcc84cc 19 19 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 20 20 ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib 21 sed -e 's/tools/usr/' /tools/lib/libstdc++.la >/usr/lib/libstdc++.la21 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la 22 22 ln -sv bash /bin/sh 23 23 ln -sv /run /var/run</userinput></screen> -
BOOK/chroot/mips64/createfiles.xml
r1916102 rfcc84cc 23 23 ln -sv /tools/lib32/libstdc++.so{.6,} /usr/lib32 24 24 ln -sv /tools/lib64/libstdc++.so{.6,} /usr/lib64 25 sed -e 's/tools/usr/' /tools/lib/libstdc++.la >/usr/lib/libstdc++.la25 sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la 26 26 ln -sv bash /bin/sh 27 27 ln -sv /run /var/run</userinput></screen> -
BOOK/cross-tools/common/gcc-static.xml
r1916102 rfcc84cc 51 51 <filename class="directory">/tools</filename>:</para> 52 52 53 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >>gcc/config/linux.h54 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >>gcc/config/linux.h</userinput></screen>53 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h 54 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen> 55 55 56 56 <para os="t1">We will create a dummy <filename>limits.h</filename> so -
BOOK/cross-tools/ppc/gcc-static.xml
r1916102 rfcc84cc 48 48 xpointer="xpointer(//*[@os='ag'])"/> 49 49 50 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >>gcc/config/rs6000/sysv4.h51 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >>gcc/config/rs6000/sysv4.h</userinput></screen>50 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h 51 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/rs6000/sysv4.h</userinput></screen> 52 52 53 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/common/coreutils.xml
r1916102 rfcc84cc 68 68 of it so that the tests are not skipped:</para> 69 69 70 <screen os="j"><userinput remap="test">echo "dummy:x:1000:nobody" >>/etc/group</userinput></screen>70 <screen os="j"><userinput remap="test">echo "dummy:x:1000:nobody" >> /etc/group</userinput></screen> 71 71 72 72 <para os="k">Fix permissions of some files so the non-root user can compile -
BOOK/final-system/common/ncurses.xml
r1916102 rfcc84cc 68 68 69 69 <screen os="m"><userinput>for lib in curses ncurses form panel menu ; do 70 echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so70 echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so 71 71 ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a 72 72 done -
BOOK/final-system/common/tar.xml
r1916102 rfcc84cc 49 49 <para os="h">Generate the man page and place it in the proper location:</para> 50 50 51 <screen os="i"><userinput>perl tarman >/usr/share/man/man1/tar.1</userinput></screen>51 <screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</userinput></screen> 52 52 53 53 <para os="j">Install the documentation:</para> -
BOOK/final-system/multilib/ncurses-64bit.xml
r1916102 rfcc84cc 86 86 87 87 <screen os="m"><userinput>for lib in curses ncurses form panel menu ; do 88 echo "INPUT(-l${lib}w)" >/usr/lib64/lib${lib}.so88 echo "INPUT(-l${lib}w)" > /usr/lib64/lib${lib}.so 89 89 ln -sfv lib${lib}w.a /usr/lib64/lib${lib}.a 90 90 done -
BOOK/final-system/multilib/ncurses-n32.xml
r1916102 rfcc84cc 86 86 87 87 <screen os="m"><userinput>for lib in curses ncurses form panel menu ; do 88 echo "INPUT(-l${lib}w)" >/usr/lib32/lib${lib}.so88 echo "INPUT(-l${lib}w)" > /usr/lib32/lib${lib}.so 89 89 ln -sfv lib${lib}w.a /usr/lib32/lib${lib}.a 90 90 done -
BOOK/final-system/multilib/ncurses.xml
r1916102 rfcc84cc 87 87 88 88 <screen os="m"><userinput>for lib in curses ncurses form panel menu ; do 89 echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so89 echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so 90 90 ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a 91 91 done -
BOOK/final-system/multilib/perl-64bit.xml
r1916102 rfcc84cc 47 47 <para os="m2">We still need to tell Perl to actually use <filename class="directory">lib64</filename>:</para> 48 48 49 <screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' >>hints/linux.sh</userinput></screen>49 <screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' >> hints/linux.sh</userinput></screen> 50 50 51 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/final-system/multilib/perl-n32.xml
r1916102 rfcc84cc 48 48 <para os="m2">We still need to tell perl to actually use lib32:</para> 49 49 50 <screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >>hints/linux.sh</userinput></screen>50 <screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >> hints/linux.sh</userinput></screen> 51 51 52 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/prologue/common/hostreqs.xml
r1916102 rfcc84cc 134 134 makeinfo --version | head -n1 135 135 xz --version | head -n1 136 echo 'main(){}' | gcc -v -o /dev/null -x c - >dummy.log 2>&1136 echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&1 137 137 if ! grep -q ' error' dummy.log; then 138 138 echo "Compilation successful" && rm dummy.log -
BOOK/temp-system/common/bison.xml
r1916102 rfcc84cc 26 26 27 27 <screen os='s2'><userinput>cp -v Makefile.in{,.orig} 28 sed '/bison.help:/s/^/# /' Makefile.in.orig >Makefile.in</userinput></screen>28 sed '/bison.help:/s/^/# /' Makefile.in.orig > Makefile.in</userinput></screen> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/temp-system/common/gcc.xml
r1916102 rfcc84cc 97 97 <screen os="s2"><userinput>cp -v Makefile{,.orig} 98 98 sed "/^HOST_\(GMP\|ISL\|CLOOG\)\(LIBS\|INC\)/s:/tools:/cross-tools:g" \ 99 Makefile.orig >Makefile</userinput></screen>99 Makefile.orig > Makefile</userinput></screen> 100 100 101 101 <para os="cm">Compile the package:</para> -
BOOK/the-end/downloadclient.xml
r1916102 rfcc84cc 58 58 NetService = "/inet/tcp/0/mirror.anl.gov/80" 59 59 print "GET /pub/gnu/wget/wget-1.14.tar.xz" |& NetService 60 while ((NetService |& getline) >0)60 while ((NetService |& getline) > 0) 61 61 print $0 62 62 close(NetService) 63 }' >binary63 }' > binary 64 64 65 65 gawk '{q=p;p=$0}NR>1{print q}END{ORS = ""; print p}' binary > wget-1.14.tar.xz
Note:
See TracChangeset
for help on using the changeset viewer.