logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

reproducibility2.patch (1704B)


  1. SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
  2. SPDX-License-Identifier: Artistic-1.0
  3. Set some things that cannot be overriden in the perl Configure script to
  4. generate with correct values for live-bootstrap.
  5. NOTE: this patch CANNOT be applied to a non-live-bootstrap environment.
  6. --- perl-5.32.1/../metaconfig-5.32.1~rc1/dist/U/archname.U 2022-02-26 10:51:45.343097807 +1100
  7. +++ perl-5.32.1/../metaconfig-5.32.1~rc1/dist/U/archname.U 2022-02-26 10:51:51.742527859 +1100
  8. @@ -72,5 +72,5 @@
  9. rp='What is your architecture name'
  10. . ./myread
  11. archname="$ans"
  12. -myarchname="$tarch"
  13. +myarchname="i386"
  14. --- perl-5.32.1/../metaconfig-5.32.1~rc1/dist/U/Oldconfig.U 2022-02-27 10:55:04.890396204 +1100
  15. +++ perl-5.32.1/../metaconfig-5.32.1~rc1/dist/U/Oldconfig.U 2022-02-27 11:00:31.324396204 +1100
  16. @@ -109,16 +109,13 @@
  17. ?LINT:extern hostarch libswanted libs
  18. ?LINT:change hostarch libswanted libs
  19. : Determine the name of the machine
  20. -myuname=`$uname -a 2>/dev/null`
  21. -$test -z "$myuname" && myuname=`hostname 2>/dev/null`
  22. ?X: Special mention for Xenix, whose 'uname -a' gives us output like this:
  23. ?X: sysname=XENIX
  24. ?X: nodename=whatever
  25. ?X: release=2.3.2 .. etc...
  26. ?X: Therefore, we strip all this variable assignment junk and remove all the
  27. ?X: new lines to keep the myuname variable sane... --RAM
  28. -myuname=`echo $myuname | $sed -e 's/^[^=]*=//' -e 's/\///g' | \
  29. - ./tr '[A-Z]' '[a-z]' | $tr $trnl ' '`
  30. +myuname=""
  31. ?X: Save the value we just computed to reset myuname after we get done here.
  32. newmyuname="$myuname"
  33. has_uname=
  34. @@ -277,7 +274,7 @@
  35. ;;
  36. linux) osname=linux
  37. case "$3" in
  38. - *) osvers="$3" ;;
  39. + *) osvers="4.14.341-openela" ;;
  40. esac
  41. ;;
  42. MiNT) osname=mint