-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Based on #143 Changes: * python2 is removed, as it seems to be unused at the moment * Perl updated to 5.34.0, and build changed to official method * Python3 updated to 3.9.6 * ncurses updated to 6.2 * img updated to the release Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
- Loading branch information
Showing
14 changed files
with
158 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
bin/ | ||
_out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Makefile b/Makefile | ||
index b336159f..7d1e071c 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -24,7 +24,7 @@ $(BUILDDIR)/bin/runc: $(RUNCBUILDDIR) | ||
mkdir -p $(BUILDDIR)/bin | ||
mv $(RUNCBUILDDIR)/runc $(BUILDDIR)/bin/runc | ||
|
||
-internal/binutils/runc.go: $(BUILDDIR)/bin/runc | ||
+internal/binutils/runc.go: | ||
go-bindata -tags \!noembed -pkg binutils -prefix "$(BUILDDIR)/bin" -o $(CURDIR)/internal/binutils/runc.go $(BUILDDIR)/bin | ||
gofmt -s -w $(CURDIR)/internal/binutils/runc.go | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
Don't encode the current timestamp. | ||
|
||
This affects the output of `perl -V`, specifically the message "Compiled | ||
at [...]". | ||
|
||
The 'cf_time' and 'cf_by' values show up in 'config.h' and | ||
in 'Config_heavy.pl'. | ||
|
||
Use the output of 'uname -s' instead of 'uname -a' to avoid recording | ||
the kernel version ('uname -o' leads to directory names like | ||
'x86_64-gnulinux' instead of 'x86_64-linux', which might cause breakage | ||
down the road.) | ||
|
||
From: https://raw.githubusercontent.com/guix-mirror/guix/master/gnu/packages/patches/perl-reproducible-build-date.patch | ||
|
||
diff --git a/perl.c b/perl.c | ||
index 228a0d8..ed38313 100644 | ||
--- a/perl.c | ||
+++ b/perl.c | ||
@@ -1825,6 +1825,7 @@ S_Internals_V(pTHX_ CV *cv) | ||
PUSHs(Perl_newSVpvn_flags(aTHX_ non_bincompat_options, | ||
sizeof(non_bincompat_options) - 1, SVs_TEMP)); | ||
|
||
+#define PERL_BUILD_DATE "Jan 1 1970 00:00:00" | ||
#ifndef PERL_BUILD_DATE | ||
# ifdef __DATE__ | ||
# ifdef __TIME__ | ||
|
||
--- a/Configure 1970-01-01 01:00:00.000000000 +0100 | ||
+++ b/Configure 2016-10-01 14:47:20.017319739 +0200 | ||
@@ -3276,7 +3276,7 @@ $eunicefix tr | ||
: Try to determine whether config.sh was made on this system | ||
case "$config_sh" in | ||
'') | ||
-myuname=`$uname -a 2>/dev/null` | ||
+myuname=`$uname -s 2>/dev/null` | ||
$test -z "$myuname" && myuname=`hostname 2>/dev/null` | ||
# Downcase everything to avoid ambiguity. | ||
# Remove slashes and single quotes so we can use parts of this in | ||
@@ -3845,10 +3845,10 @@ | ||
. ./posthint.sh | ||
|
||
: who configured the system | ||
-cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1` | ||
+cf_time="1970-01-01" | ||
case "$cf_by" in | ||
"") | ||
- cf_by=`(logname) 2>/dev/null` | ||
+ cf_by="guix" | ||
case "$cf_by" in | ||
"") | ||
cf_by=`(whoami) 2>/dev/null` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters