Your message dated Wed, 4 May 2011 23:43:14 +0200
with message-id <[email protected]>
and subject line clsoing the bug
has caused the Debian Bug report #594477,
regarding rinse: Fail to install 32bits chroot on 64bits system
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
594477: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594477
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Since there's a good solution (call linux32 rinse ....) I close this bug.
IMO it's not needed to fix this inside rinse itself.
--
regards Thomas
--- End Message ---