Difference between revisions of "Arch32"

From ArchWiki
Jump to: navigation, search
(fix double redirect)
 
(47 intermediate revisions by 9 users not shown)
Line 1: Line 1:
First we decide where to place the 32bit system. This variable will be used throughout this page for flexibilty. The given value is just what the author used. If you prefer some other location, this is the time to change it.
+
#REDIRECT [[Install bundled 32-bit system in 64-bit system]]
ARCH32_ROOT="/opt/arch32"
 
 
 
mkdir $ARCH32_ROOT
 
mkdir -p $ARCH32_ROOT/var/{cache/pacman/pkg,lib/pacman}
 
 
 
 
 
/usr/local/bin/pacman32
 
#!/bin/bash
 
ARCH32_ROOT="/opt/arch32"
 
PACMAN_EXEC="pacman"
 
 
 
sed -e 's/x86_64/i686/g' /etc/pacman.d/mirrorlist > $ARCH32_ROOT/mirrorlist
 
sed -e 's@/etc/pacman.d/mirrorlist@/opt/arch32/mirrorlist@g' /etc/pacman.conf > $ARCH32_ROOT/pacman.conf
 
 
$PACMAN_EXEC --root $ARCH32_ROOT --cachedir $ARCH32_ROOT/var/cache/pacman/pkg --config $ARCH32_ROOT/pacman.conf "$@"
 
 
 
 
 
/usr/local/bin/arch32
 
#!/bin/bash
 
schroot -p -- "$@"
 

Latest revision as of 15:02, 7 December 2014