Files
poky/meta/recipes-devtools
Martin Jansa d9a71a83d3 tcl: prevent installing another copy of tzdata
It checks build host filesystem and if it doesn't find UTC or GMT
files it installs another copy of tzdata files in:
/usr/lib/tcl8.6/tzdata

Buildhistory shows the difference:
-PKGSIZE = 2227075
+PKGSIZE = 3433088

See the autodetection in configure.in:
  #------------------------------------------------------------------------
  #       Check whether the timezone data is supplied by the OS or has
  #       to be installed by Tcl. The default is autodetection, but can
  #       be overridden on the configure command line either way.
  #------------------------------------------------------------------------

  AC_MSG_CHECKING([for timezone data])
  AC_ARG_WITH(tzdata,
      AC_HELP_STRING([--with-tzdata],
          [install timezone data (default: autodetect)]),
      [tcl_ok=$withval], [tcl_ok=auto])

  #
  # Any directories that get added here must also be added to the
  # search path in ::tcl::clock::Initialize (library/clock.tcl).
  #
  case $tcl_ok in
      no)
          AC_MSG_RESULT([supplied by OS vendor])
      ;;
      yes)
          # nothing to do here
      ;;
      auto*)
          AC_CACHE_VAL([tcl_cv_dir_zoneinfo], [
          for dir in /usr/share/zoneinfo \
                  /usr/share/lib/zoneinfo \
                  /usr/lib/zoneinfo
          do
                  if test -f $dir/UTC -o -f $dir/GMT
                  then
                          tcl_cv_dir_zoneinfo="$dir"
                          break
                  fi
          done])
          if test -n "$tcl_cv_dir_zoneinfo"; then
              tcl_ok=no
              AC_MSG_RESULT([$dir])
          else
              tcl_ok=yes
          fi
      ;;
      *)
          AC_MSG_ERROR([invalid argument: $tcl_ok])
      ;;
  esac
  if test $tcl_ok = yes
  then
      AC_MSG_RESULT([supplied by Tcl])
      INSTALL_TZDATA=install-tzdata
  fi

(From OE-Core rev: 3ace9fbfeb42ebf920812e3dd6d665b8b20a1ca0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
..
2023-06-01 08:05:11 +01:00
2023-07-19 19:37:38 +01:00
2023-07-30 07:54:44 +01:00
2023-06-28 07:56:33 +01:00
2023-03-27 15:44:02 +01:00
2022-11-07 14:32:42 +00:00
2023-05-05 11:07:25 +01:00
2023-06-13 22:10:31 +01:00
2023-05-25 10:29:08 +01:00
2023-05-22 10:53:49 +01:00
2023-08-14 12:51:21 +01:00
2023-06-17 11:50:57 +01:00
2023-07-25 15:27:33 +01:00
2023-08-10 09:18:54 +01:00
2023-07-30 09:16:53 +01:00
2022-08-16 14:57:58 +01:00
2023-05-25 10:29:08 +01:00
2023-06-02 15:16:35 +01:00
2023-01-06 12:03:47 +00:00
2022-03-23 12:13:49 +00:00
2023-06-19 13:18:56 +01:00
2023-06-27 16:23:40 +01:00
2023-03-11 00:08:41 +00:00
2023-06-16 15:40:11 +01:00
2023-06-16 15:40:11 +01:00
2023-04-13 11:56:07 +01:00
2023-01-06 12:03:47 +00:00
2023-07-21 11:52:25 +01:00
2023-06-02 15:16:36 +01:00
2023-07-21 11:52:26 +01:00
2023-05-22 10:53:47 +01:00
2023-07-10 11:36:34 +01:00
2023-08-15 08:15:25 +01:00
2023-07-21 11:52:26 +01:00
2023-07-30 09:16:53 +01:00
2022-04-26 18:25:08 +01:00
2022-12-06 15:23:18 +00:00
2023-06-16 15:40:11 +01:00
2022-09-08 14:59:39 +01:00