diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-05 15:03:35 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-05 15:03:35 -0500 |
commit | 6f5ed66fd94f594bf2fb6a3cce12ef25aef4eca7 (patch) | |
tree | 973ae3aa54e04ae24cca64cf477a7a576d7a5418 /src/chroot-tools/librechroot | |
parent | cecb92679a5086d1ead4acee363bd726e5ab891d (diff) |
chroot-tools: Drop support for CHROOTARCH
This only existed to work around a compatibility-breaking change in
the Linux kernel. `uname -m` for MIPS-64 little-endian changed from
"mips64el" to "mips64". This meant that all existing packages' CARCH
was no longer == `uname -m`, so we had to de-unify the two, as we
couldn't do `setarch $CARCH`.
I'm removing this kludge because:
- We no longer actively support MIPS.
- Until two commits ago, it didn't work anyway
- We should avoid this on new architectures going forward (ARM,
anyone?)
- It's gross.
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-x | src/chroot-tools/librechroot | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index 616d868..79f57c9 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -5,7 +5,7 @@ set -euE # Copyright (C) 2010-2012 Nicolás Reynolds <fauno@parabola.nu> # Copyright (C) 2011-2012 Joshua Ismael Haase Hernández (xihh) <hahj87@gmail.com> # Copyright (C) 2012 Michał Masłowski <mtjm@mtjm.eu> -# Copyright (C) 2012-2014 Luke Shumaker <lukeshu@sbcglobal.net> +# Copyright (C) 2012-2015 Luke Shumaker <lukeshu@sbcglobal.net> # # License: GNU GPLv2+ # @@ -338,8 +338,6 @@ main() { printf '%q ' "${CHROOTEXTRAPKG[@]}" printf ')\n' fi - # TODO: only set CHROOTARCH if $CARCH != $(uname -m) - printf 'CHROOTARCH=%q\n' "$(uname -m)" } > "$copydir"/etc/libretools.d/chroot.conf if [[ $mode != delete ]]; then |