From 6f5ed66fd94f594bf2fb6a3cce12ef25aef4eca7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Jan 2015 15:03:35 -0500 Subject: 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. --- src/chroot-tools/librechroot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/chroot-tools/librechroot') 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 # Copyright (C) 2011-2012 Joshua Ismael Haase Hernández (xihh) # Copyright (C) 2012 Michał Masłowski -# Copyright (C) 2012-2014 Luke Shumaker +# Copyright (C) 2012-2015 Luke Shumaker # # 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 -- cgit v1.2.3