Re: [LFS Trac] #5705: White space reduction? - LFS r12.3-36-systemd

"LFS Trac" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
#5705: White space reduction? - LFS r12.3-36-systemd
---------------------------+-----------------------
 Reporter:  rhubarbpieguy  |       Owner:  lfs-book
     Type:  enhancement    |      Status:  new
 Priority:  low            |   Milestone:  12.4
Component:  Book           |     Version:  git
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+-----------------------
Changes (by Bruce Dubbs):

 * priority:  normal => low


Old description:

> Are the following candidates to reduce white space?
>

> {{{
>
> chapter05/gcc-libstdc++.xml
>
>          ../libstdc++-v3/configure           \
>              --host=$LFS_TGT                 \
>              --build=$(../config.guess)      \
>              --prefix=/usr                   \
>              --disable-multilib              \
>              --disable-nls                   \
>              --disable-libstdcxx-pch         \
>
>          ../libstdc++-v3/configure      \
>              --host=$LFS_TGT            \
>              --build=$(../config.guess) \
>              --prefix=/usr              \
>              --disable-multilib         \
>              --disable-nls              \
>              --disable-libstdcxx-pch    \
> -----------------------------------------
>
>  chapter06/gcc-pass2.xml
>
>          ../configure                                       \
>              --build=$(../config.guess)                     \
>              --host=$LFS_TGT                                \
>              --target=$LFS_TGT                              \
>              LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
>              --prefix=/usr                                  \
>              --with-build-sysroot=$LFS                      \
>              --enable-default-pie                           \
>              --enable-default-ssp                           \
>              --disable-nls                                  \
>              --disable-multilib                             \
>              --disable-libatomic                            \
>              --disable-libgomp                              \
>              --disable-libquadmath                          \
>              --disable-libsanitizer                         \
>              --disable-libssp                               \
>              --disable-libvtv                               \
>
>          ../configure                                  \
>              --build=$(../config.guess)                \
>              --host=$LFS_TGT                           \
>              --target=$LFS_TGT                         \
>              LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
>              --prefix=/usr                             \
>              --with-build-sysroot=$LFS                 \
>              --enable-default-pie                      \
>              --enable-default-ssp                      \
>              --disable-nls                             \
>              --disable-multilib                        \
>              --disable-libatomic                       \
>              --disable-libgomp                         \
>              --disable-libquadmath                     \
>              --disable-libsanitizer                    \
>              --disable-libssp                          \
>              --disable-libvtv                          \
> --------------------------------------------------------
>
>  chapter06/tar.xml
>
>          ./configure --prefix=/usr                     \
>                      --host=$LFS_TGT                   \
>
>          ./configure --prefix=/usr   \
>                      --host=$LFS_TGT \
> --------------------------------------
>
>  chapter08/acl.xml
>
>          ./configure --prefix=/usr         \
>                      --disable-static      \
>
>          ./configure --prefix=/usr    \
>                      --disable-static \
> ---------------------------------------
>
>  chapter08/e2fsprogs.xml
>
>          ../configure --prefix=/usr           \
>                       --sysconfdir=/etc       \
>                       --enable-elf-shlibs     \
>                       --disable-libblkid      \
>                       --disable-libuuid       \
>                       --disable-uuidd         \
>
>          ../configure --prefix=/usr       \
>                       --sysconfdir=/etc   \
>                       --enable-elf-shlibs \
>                       --disable-libblkid  \
>                       --disable-libuuid   \
>                       --disable-uuidd     \
> -------------------------------------------
>
>  chapter08/glibc.xml
>
>          ../configure --prefix=/usr                            \
>                       --disable-werror                         \
>                       --enable-kernel=5.4                      \
>                       --enable-stack-protector=strong          \
>                       --disable-nscd                           \
>
>          ../configure --prefix=/usr                   \
>                       --disable-werror                \
>                       --enable-kernel=5.4             \
>                       --enable-stack-protector=strong \
>                       --disable-nscd                  \
> -------------------------------------------------------
>
>  chapter08/grub.xml
>
>          ./configure --prefix=/usr          \
>                      --sysconfdir=/etc      \
>                      --disable-efiemu       \
>
>          ./configure --prefix=/usr     \
>                      --sysconfdir=/etc \
>                      --disable-efiemu  \
> ----------------------------------------
>
>  chapter08/libelf.xml
>
>          ./configure --prefix=/usr                \
>                      --disable-debuginfod         \
>
>          ./configure --prefix=/usr        \
>                      --disable-debuginfod \
> -------------------------------------------
>
>  chapter08/libffi.xml
>
>          ./configure --prefix=/usr          \
>                      --disable-static       \
>
>          ./configure --prefix=/usr    \
>                      --disable-static \
> ---------------------------------------
>
>  chapter08/pkgconf.xml
>
>          ./configure --prefix=/usr              \
>                      --disable-static           \
>
>          ./configure --prefix=/usr    \
>                      --disable-static \
>

> }}}

New description:

 Are the following candidates to reduce white space?


 {{{

 chapter05/gcc-libstdc++.xml

          ../libstdc++-v3/configure           \
              --host=$LFS_TGT                 \
              --build=$(../config.guess)      \
              --prefix=/usr                   \
              --disable-multilib              \
              --disable-nls                   \
              --disable-libstdcxx-pch         \

          ../libstdc++-v3/configure      \
              --host=$LFS_TGT            \
              --build=$(../config.guess) \
              --prefix=/usr              \
              --disable-multilib         \
              --disable-nls              \
              --disable-libstdcxx-pch    \
 -----------------------------------------

  chapter06/gcc-pass2.xml

          ../configure                                       \
              --build=$(../config.guess)                     \
              --host=$LFS_TGT                                \
              --target=$LFS_TGT                              \
              LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
              --prefix=/usr                                  \
              --with-build-sysroot=$LFS                      \
              --enable-default-pie                           \
              --enable-default-ssp                           \
              --disable-nls                                  \
              --disable-multilib                             \
              --disable-libatomic                            \
              --disable-libgomp                              \
              --disable-libquadmath                          \
              --disable-libsanitizer                         \
              --disable-libssp                               \
              --disable-libvtv                               \

          ../configure                                  \
              --build=$(../config.guess)                \
              --host=$LFS_TGT                           \
              --target=$LFS_TGT                         \
              LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
              --prefix=/usr                             \
              --with-build-sysroot=$LFS                 \
              --enable-default-pie                      \
              --enable-default-ssp                      \
              --disable-nls                             \
              --disable-multilib                        \
              --disable-libatomic                       \
              --disable-libgomp                         \
              --disable-libquadmath                     \
              --disable-libsanitizer                    \
              --disable-libssp                          \
              --disable-libvtv                          \
 --------------------------------------------------------

  chapter06/tar.xml

          ./configure --prefix=/usr                     \
                      --host=$LFS_TGT                   \

          ./configure --prefix=/usr   \
                      --host=$LFS_TGT \
 --------------------------------------

  chapter08/acl.xml

          ./configure --prefix=/usr         \
                      --disable-static      \

          ./configure --prefix=/usr    \
                      --disable-static \
 ---------------------------------------

  chapter08/e2fsprogs.xml

          ../configure --prefix=/usr           \
                       --sysconfdir=/etc       \
                       --enable-elf-shlibs     \
                       --disable-libblkid      \
                       --disable-libuuid       \
                       --disable-uuidd         \

          ../configure --prefix=/usr       \
                       --sysconfdir=/etc   \
                       --enable-elf-shlibs \
                       --disable-libblkid  \
                       --disable-libuuid   \
                       --disable-uuidd     \
 -------------------------------------------

  chapter08/glibc.xml

          ../configure --prefix=/usr                            \
                       --disable-werror                         \
                       --enable-kernel=5.4                      \
                       --enable-stack-protector=strong          \
                       --disable-nscd                           \

          ../configure --prefix=/usr                   \
                       --disable-werror                \
                       --enable-kernel=5.4             \
                       --enable-stack-protector=strong \
                       --disable-nscd                  \
 -------------------------------------------------------

  chapter08/grub.xml

          ./configure --prefix=/usr          \
                      --sysconfdir=/etc      \
                      --disable-efiemu       \

          ./configure --prefix=/usr     \
                      --sysconfdir=/etc \
                      --disable-efiemu  \
 ----------------------------------------

  chapter08/libelf.xml

          ./configure --prefix=/usr                \
                      --disable-debuginfod         \

          ./configure --prefix=/usr        \
                      --disable-debuginfod \
 -------------------------------------------

  chapter08/libffi.xml

          ./configure --prefix=/usr          \
                      --disable-static       \

          ./configure --prefix=/usr    \
                      --disable-static \
 ---------------------------------------

  chapter08/pkgconf.xml

          ./configure --prefix=/usr              \
                      --disable-static           \

          ./configure --prefix=/usr    \
                      --disable-static \


 }}}

--
Comment:

 Overall the list is good, but this is relatively low priority. My next
 scheduled update to LFS is at the end of the month and I'll address this
 then.

 As for the min-kernel value, that needs to be addressed also. I noticed in
 one place it is used at the end of a sentence and inserts a space before
 the period. That's pretty trivial and hard to notice, but should be fixed.
 I'll do that too.
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5705#comment:2>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.