Files
poky/meta/recipes-devtools
Martin Jansa e2c3c0315c 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: d5a038b764720bd3267f258994371909f3f34ad6)

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>
(cherry picked from commit 3ace9fbfeb42ebf920812e3dd6d665b8b20a1ca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-04 04:13:25 -10:00
..
2023-03-11 00:08:41 +00:00
2023-08-15 06:18:49 -10:00
2022-12-06 15:23:18 +00:00
2023-02-09 09:57:24 +00:00
2023-03-27 15:44:02 +01:00
2022-11-07 14:32:42 +00:00
2023-07-20 12:10:40 -10:00
2023-06-30 04:07:59 -10:00
2023-05-31 04:08:11 -10:00
2023-08-30 04:52:35 -10:00
2023-07-07 04:30:25 -10:00
2023-06-30 04:07:59 -10:00
2021-11-03 10:12:42 +00:00
2023-08-15 06:18:48 -10:00
2023-01-06 12:03:47 +00:00
2022-08-16 14:57:58 +01:00
2023-06-24 09:13:07 -10:00
2023-01-06 12:03:47 +00:00
2022-03-23 12:13:49 +00:00
2023-03-12 23:39:13 +00:00
2023-03-11 00:08:41 +00:00
2022-11-08 22:47:16 +00:00
2023-05-10 04:16:50 -10:00
2023-01-06 12:03:47 +00:00
2023-08-15 06:18:49 -10:00
2022-11-07 14:32:42 +00:00
2023-08-01 06:17:28 -10:00
2023-08-18 03:57:05 -10:00
2023-03-06 09:52:16 +00:00
2023-07-07 04:30:26 -10:00
2023-08-01 06:17:27 -10:00
2022-04-26 18:25:08 +01:00
2022-12-06 15:23:18 +00:00
2023-05-10 04:16:51 -10:00
2022-09-08 14:59:39 +01:00