-mabi=elfv2 is default on ppc64le in gcc/glibc toolchain for all
powerpc64le-*-linux-gnu CHOSTS, so we don't need to pass it.
forcing -mabi=elfv2 on ppc64(be) is quite risky, as it's not standard
configuration and not officialy supported by glibc at all.
according to glibc upstream it should be a
Signed-off-by: Georgy Yakovlev
---
arch/ppc.toml | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/ppc.toml b/arch/ppc.toml
index 6f74789d..c8623cca 100644
--- a/arch/ppc.toml
+++ b/arch/ppc.toml
@@ -42,6 +42,16 @@ COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8"
CHOST =
if stage spec sets chost value, code in
catalyst/base/stagebase.py#L76 will derive subarch
value from the frontmost part of CHOST triple.
if such subarch is not defined in toml file, build will fail.
Add generic copy of base subarches defined in CHOST format.
Signed-off-by: Georgy Yakovlev
---
Signed-off-by: Matt Turner
---
catalyst/base/stagebase.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 1ccc9f04..ffcc211c 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1504,7
Signed-off-by: Matt Turner
---
targets/support/netboot-final.sh | 12
1 file changed, 12 deletions(-)
diff --git a/targets/support/netboot-final.sh b/targets/support/netboot-final.sh
index f71e4099..7a26e0f4 100755
--- a/targets/support/netboot-final.sh
+++
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index d150a530..b0583785 100755
--- a/targets/support/kmerge.sh
+++ b/targets/support/kmerge.sh
@@ -65,9 +65,6
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index b4c3963a..bcc83cd6 100755
--- a/targets/support/kmerge.sh
+++ b/targets/support/kmerge.sh
@@ -111,10
We don't use os.system anymore. We pass self.env to Popen, so the
comment isn't accurate.
Signed-off-by: Matt Turner
---
catalyst/base/stagebase.py | 5 -
1 file changed, 5 deletions(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 48157837..532f7133 100644
---
Dead since 2015.
Fixes: 1c7687f6 ("update-modules doesn't exists anymore.")
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 7 ---
1 file changed, 7 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index d512954b..911d7cb3 100755
---
A follow-on commit is going to remove this code, but I thought it was
still valuable to fix the immediate problem for documentation purporses.
Broken since it was first added in 2006.
Fixes: 6aa64bf7 ("filter kname so - and . work")
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 2
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index bcc83cd6..3d7f697a 100755
--- a/targets/support/kmerge.sh
+++ b/targets/support/kmerge.sh
@@ -66,8 +66,7 @@
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 7 ---
1 file changed, 7 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index aec4d71e..d512954b 100755
--- a/targets/support/kmerge.sh
+++ b/targets/support/kmerge.sh
@@ -128,7 +128,6 @@ fi
if [
Signed-off-by: Matt Turner
---
catalyst/base/stagebase.py | 521 +++--
1 file changed, 269 insertions(+), 252 deletions(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 2e313bd8..48157837 100644
--- a/catalyst/base/stagebase.py
+++
Broken since 2005. I don't even know what the author could have been
thinking when they changed this.
Fixes: c06264e3 ("Initial import of Catalyst 2.0.0")
Signed-off-by: Matt Turner
---
catalyst/base/stagebase.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
Now that the Python code passes the sanitize name, we don't need this.
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index b0583785..b4c3963a
Will be used in an additional place in a follow-on commit.
Signed-off-by: Matt Turner
---
catalyst/base/stagebase.py | 10 +-
catalyst/support.py| 9 +
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/catalyst/base/stagebase.py
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index 3d7f697a..0e72e98b 100755
--- a/targets/support/kmerge.sh
+++ b/targets/support/kmerge.sh
@@ -67,8 +67,6 @@ setup_gk_args() {
Signed-off-by: Matt Turner
---
targets/support/pre-kmerge.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/targets/support/pre-kmerge.sh b/targets/support/pre-kmerge.sh
index 165dfd51..a92c436c 100755
--- a/targets/support/pre-kmerge.sh
+++ b/targets/support/pre-kmerge.sh
Signed-off-by: Matt Turner
---
targets/support/pre-kmerge.sh | 43 ++-
1 file changed, 17 insertions(+), 26 deletions(-)
diff --git a/targets/support/pre-kmerge.sh b/targets/support/pre-kmerge.sh
index dd51ae9a..165dfd51 100755
--- a/targets/support/pre-kmerge.sh
The commit that added it says it did so in order to "export ROOT=/ prior
to running genkernel". Why that was necessary is unclear. I can find no
evidence that genkernel needs (or needed) ROOT to be set, and why it
would need ROOT=/ seems even more doubtful.
Fixes: 8fb885ff ("Added an additional
With pkgcache fixed for kernel sources in a prior commit, I noticed that
if a livecd-stage2 built three kernels, the first would emerge normally
and build a binpkg, the second would emerge and fail to use the binpkg
produced earlier, and the third would use a previously produced binpkg.
I
CONFIG_PROTECT is set in run_merge, making this assignment and export
unnecessary.
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 1 -
1 file changed, 1 deletion(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index 972feb99..5e284183 100755
---
The find ... touch modules.dep command doesn't seem necessary anymore,
and this is all the script still does. Additionally confusing,
pre-kmerge runs only once while post-kmerge runs once for each kernel.
Signed-off-by: Matt Turner
---
catalyst/base/stagebase.py | 4
Using virtual/linux-sources was a nice idea, but leads to multiple
failures in practice. For example, we use 'portageq contents' later, and
the virtual provides no files. We could handle the indirection with
'portageq expand_virtual' in some cases but that requires the virtual to
be installed on
Dead code since 2008.
Fixes: b79d06a3 ("Remove temporary package listing code, ...")
Signed-off-by: Matt Turner
---
targets/support/chroot-functions.sh | 1 -
1 file changed, 1 deletion(-)
diff --git a/targets/support/chroot-functions.sh
b/targets/support/chroot-functions.sh
index
Dead code since 2008.
Fixes: 454c1682 ("Rather than using the environment, we write out our USE to
make.conf ...")
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 1 -
1 file changed, 1 deletion(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index
I cannot see how the code added in commit fed3b45b could have possibly
worked, and in practice it did not.
An earlier commit (beb92087) deleted most or all of the uses of the
*_MATCH variables but left the code that set them in place.
Fixes: beb92087 ("Added patches from Joshua Kinard ")
Fixes:
These both just do a bunch of argument concatenation and are not
separate functions in any meaningful way.
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
Added in 2008 with a commit message saying
Added code to livecd-stage1 to generate a package list, which
will be used in livecd-stage2 with the upcoming livedvd
livecd/type to fetch the distfiles automatically.
which sounds like a nice plan, but until it's implemented we
Most platforms use grub now and don't need a cdtar. Also use double
brackets while we're here.
Signed-off-by: Matt Turner
---
targets/support/bootloader-setup.sh | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/targets/support/bootloader-setup.sh
And use <<- so we can indent the heredoc properly.
Signed-off-by: Matt Turner
---
targets/support/chroot-functions.sh | 14 --
targets/support/livecdfs-update.sh | 15 +++
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git
Just use the thing that exists instead of rolling our own...
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index 1209e330..7eb18313 100755
---
Evidently this was to be consumed by the Gentoo Linux Installer, which
saw its last commit in 2008.
Signed-off-by: Matt Turner
---
targets/support/kmerge.sh | 10 --
targets/support/livecdfs-update.sh | 11 ---
2 files changed, 21 deletions(-)
diff --git
Signed-off-by: Matt Turner
---
targets/support/chroot-functions.sh | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/targets/support/chroot-functions.sh
b/targets/support/chroot-functions.sh
index b531eb6a..307a9042 100755
---
Signed-off-by: Matt Turner
---
targets/livecd-stage2/controller.sh | 3 ---
targets/netboot/controller.sh | 3 ---
2 files changed, 6 deletions(-)
diff --git a/targets/livecd-stage2/controller.sh
b/targets/livecd-stage2/controller.sh
index 566571e6..fe078eed 100755
---
clst_* prefixed variables are created by setup_environment(), which
these variables are not.
Signed-off-by: Matt Turner
---
targets/embedded/controller.sh | 2 +-
targets/livecd-stage2/controller.sh | 4 +-
targets/netboot/controller.sh | 4 +-
targets/stage4/controller.sh
For documentation purposes.
Signed-off-by: Matt Turner
---
targets/support/pre-kmerge.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/targets/support/pre-kmerge.sh b/targets/support/pre-kmerge.sh
index a92c436c..0dfc835e 100755
--- a/targets/support/pre-kmerge.sh
+++
On Tue, 20 Oct 2020 17:23:09 -0700
Matt Turner wrote:
> We don't use os.system anymore. We pass self.env to Popen, so the
> comment isn't accurate.
>
> Signed-off-by: Matt Turner
> ---
> catalyst/base/stagebase.py | 5 -
> 1 file changed, 5 deletions(-)
>
> diff --git
On Tue, Oct 20, 2020 at 8:02 PM Brian Dolbec wrote:
>
> On Tue, 20 Oct 2020 17:23:09 -0700
> Matt Turner wrote:
>
> > We don't use os.system anymore. We pass self.env to Popen, so the
> > comment isn't accurate.
> >
> > Signed-off-by: Matt Turner
> > ---
> > catalyst/base/stagebase.py | 5
39 matches
Mail list logo