Package: rinse
Version: 1.7-1
Severity: normal

Hello,

I have tried to use rinse 1.7 (from Sid) to install Centos5 i386 on my
Debian Lenny 64bits. While the first stage goes smoothly the
post-install consider that I am running amd64 system and install an
amd64 system.

This can be fixed, if you call "linux32 chroot" rather than simply
"chroot" in post-install.sh.

I attach the patch that I used to succesfully perform the install. 

Regards
Sylvain Le Gall

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rinse depends on:
ii  libterm-size-perl        0.2-4+b1        Perl extension for retrieving term
ii  libwww-perl              5.813-1         WWW client/server library for Perl
ii  perl-modules             5.10.0-19lenny2 Core Perl modules
ii  rpm                      4.4.2.3-1       Red Hat package manager
ii  wget                     1.11.4-2+lenny1 retrieves files from the web

rinse recommends no packages.

rinse suggests no packages.

-- no debconf information
--- /usr/lib/rinse/centos-5/post-install.sh     2010-08-26 10:54:22.000000000 
+0200
+++ ../scripts/centos-5/post-install.sh 2010-08-26 10:38:10.000000000 +0200
@@ -38,22 +38,22 @@
 mount -o bind /proc ${prefix}/proc
 
 echo "  Bootstrapping yum"
-linux32 chroot ${prefix} /usr/bin/yum -y install yum         2>/dev/null
-linux32 chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
-linux32 chroot ${prefix} /usr/bin/yum -y install dhclient    2>/dev/null
+chroot ${prefix} /usr/bin/yum -y install yum         2>/dev/null
+chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
+chroot ${prefix} /usr/bin/yum -y install dhclient    2>/dev/null
 
 #
 #  4.5 make 'passwd' work.
 #
 echo "  Authfix"
-linux32 chroot ${prefix} /usr/bin/yum -y install authconfig
-linux32 chroot ${prefix} /usr/bin/authconfig --enableshadow --update
+chroot ${prefix} /usr/bin/yum -y install authconfig
+chroot ${prefix} /usr/bin/authconfig --enableshadow --update
 
 #
 #  5.  Clean up
 #
 echo "  Cleaning up"
-linux32 chroot ${prefix} /usr/bin/yum clean all
+chroot ${prefix} /usr/bin/yum clean all
 umount ${prefix}/proc
 
 

Reply via email to