test-container: Install with $(sorted-subdirs) [BZ #24794]
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Wed, 24 Jul 2019 22:49:00 +0000 (19:49 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Mon, 29 Jul 2019 13:31:06 +0000 (10:31 -0300)
Commit 35e038c1d2ccb3a75395662f9c4f28d85a61444f started to use an
incomplete list of subdirs based on $(all-subdirs) causing
testroot.pristine to miss files from nss.

Tested if the list of files in testroot.pristine remains the same.

[BZ #24794]
* Makeconfig (all-subdirs): Improved source comments.
* Makefile (testroot.pristine/install.stamp): Pass
subdirs='$(sorted-subdirs)' to make install.

ChangeLog
Makeconfig
Makefile

index dbdb85de6a21af9cf2c4df4d068a4dcd01bd796a..b4b6bc20d1c5d524989e53c675d6de9bba1bec11 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-07-29  DJ Delorie  <dj@redhat.com>
+           Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>
+
+       [BZ #24794]
+       * Makeconfig (all-subdirs): Improved source comments.
+       * Makefile (testroot.pristine/install.stamp): Pass
+       subdirs='$(sorted-subdirs)' to make install.
+
 2019-07-25  Florian Weimer  <fweimer@redhat.com>
 
        [BZ #24677]
index 0e386fbc196736b0eb4da3e183b5384e5e0d9f99..fd36c58c041271091551b43448ef1e2d21bd460f 100644 (file)
@@ -1267,9 +1267,9 @@ else
 libsupport = $(common-objpfx)support/libsupport.a
 endif
 
-# These are the subdirectories containing the library source.  The order
-# is more or less arbitrary.  The sorting step will take care of the
-# dependencies.
+# This is a partial list of subdirectories containing the library source.
+# The order is more or less arbitrary.  The sorting step will take care of the
+# dependencies and generate sorted-subdirs dynamically.
 all-subdirs = csu assert ctype locale intl catgets math setjmp signal      \
              stdlib stdio-common libio malloc string wcsmbs time dirent    \
              grp pwd posix io termios resource misc socket sysvipc gmon    \
index 9fbf7052009c2615cab336848cf20248386b3767..ac1125853bf692c4b631f97ba2b38bf2bde02067 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -402,7 +402,7 @@ ifeq ($(run-built-tests),yes)
          done
 endif
        $(MAKE) install DESTDIR=$(objpfx)testroot.pristine \
-         subdirs='$(all-subdirs)'
+         subdirs='$(sorted-subdirs)'
        touch $(objpfx)testroot.pristine/install.stamp
 
 tests-special-notdir = $(patsubst $(objpfx)%, %, $(tests-special))