Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Sep 2014 15:45:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193493] [NEW PORT] sysutils/rinse: Install RPM-based system into a directory
Message-ID:  <bug-193493-13-fOOpY1irLW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193493-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193493-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193493

--- Comment #1 from Jan Beich <jbeich@vfemail.net> ---
It can be used to help set up a linux environment for debugging or building
packages compatible with emulators/linux_base-{f10,c6} e.g., newer glibc or
linux-x86_64 nspluginwrapper target.

$ rinse --arch i386 --distribution fedora-10 --directory /compat/fedora10


Execute postcmd of *-release package
warning: /tmp/fedora-release-notes-10.0.0-1.noarch.rpm: Header V3 DSA
signature: NOKEY, key ID 4ebfc273
error: failed to open /etc/mtab: No such file or directory
Preparing...                ########################################### [100%]
   1:fedora-release-notes   ########################################### [100%]
Running post-install script /usr/local/lib/rinse/common/10-resolv.conf.sh:
Running post-install script /usr/local/lib/rinse/common/15-mount-proc.sh:
Running post-install script /usr/local/lib/rinse/common/20-dev-zero.sh:
Running post-install script /usr/local/lib/rinse/fedora-10/post-install.sh:
  Setting up YUM cache
  Creating yum.conf
  Priming the yum cache
  Bootstrapping yum
  Cleaning up
Failed to set locale, defaulting to C
  Final tidy...
Installation complete.

$ rinse --arch i386 --distribution centos-6 --directory /compat/centos6


Execute postcmd of *-release package
warning: /tmp/centos-release-6-5.el6.centos.11.1.i686.rpm: Header V3 RSA/SHA1
Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:centos-release         ########################################### [100%]
Running post-install script /usr/local/lib/rinse/common/10-resolv.conf.sh:
Running post-install script /usr/local/lib/rinse/common/15-mount-proc.sh:
Running post-install script /usr/local/lib/rinse/common/20-dev-zero.sh:
Running post-install script /usr/local/lib/rinse/centos-6/post-install.sh:
  Bootstrapping yum
Loaded plugins: fastestmirror, keys, protectbase
base                                                         | 3.7 kB     00:00
base/primary_db                                              | 3.5 MB     00:02
extras                                                       | 3.3 kB     00:00
extras/primary_db                                            |  19 kB     00:00
updates                                                      | 3.4 kB     00:00
updates/primary_db                                           | 4.5 MB     00:02
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dhclient.i686 12:4.1.1-38.P1.el6.centos will be installed
--> Processing Dependency: dhcp-common = 12:4.1.1-38.P1.el6.centos for package:
12:dhclient-4.1.1-38.P1.el6.centos.i686
--> Processing Dependency: libcap-ng.so.0 for package:
12:dhclient-4.1.1-38.P1.el6.centos.i686
---> Package vim-minimal.i686 2:7.2.411-1.8.el6 will be installed
---> Package yum.noarch 0:3.2.29-40.el6.centos will be updated
---> Package yum.noarch 0:3.2.29-43.el6.centos will be an update
--> Running transaction check
---> Package dhcp-common.i686 12:4.1.1-38.P1.el6.centos will be installed
---> Package libcap-ng.i686 0:0.6.4-3.el6_0.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================
 Package           Arch         Version                         Repository    
Size
====================================================================================
Installing:
 dhclient          i686         12:4.1.1-38.P1.el6.centos       base         
316 k
 vim-minimal       i686         2:7.2.411-1.8.el6               base         
337 k
Updating:
 yum               noarch       3.2.29-43.el6.centos            updates      
996 k
Installing for dependencies:
 dhcp-common       i686         12:4.1.1-38.P1.el6.centos       base         
142 k
 libcap-ng         i686         0.6.4-3.el6_0.1                 base          
21 k

Transaction Summary
====================================================================================
Install       4 Package(s)
Upgrade       1 Package(s)

Total download size: 1.8 M
Downloading Packages:
(1/5): dhclient-4.1.1-38.P1.el6.centos.i686.rpm              | 316 kB     00:00
(2/5): dhcp-common-4.1.1-38.P1.el6.centos.i686.rpm           | 142 kB     00:00
(3/5): libcap-ng-0.6.4-3.el6_0.1.i686.rpm                    |  21 kB     00:00
(4/5): vim-minimal-7.2.411-1.8.el6.i686.rpm                  | 337 kB     00:00
(5/5): yum-3.2.29-43.el6.centos.noarch.rpm                   | 996 kB     00:00
------------------------------------------------------------------------------------
Total                                               1.5 MB/s | 1.8 MB     00:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 12:dhcp-common-4.1.1-38.P1.el6.centos.i686                      
1/6
  Installing : libcap-ng-0.6.4-3.el6_0.1.i686                                  
2/6
  Updating   : yum-3.2.29-43.el6.centos.noarch                                 
3/6
  Installing : 12:dhclient-4.1.1-38.P1.el6.centos.i686                         
4/6
  Installing : 2:vim-minimal-7.2.411-1.8.el6.i686                              
5/6
  Cleanup    : yum-3.2.29-40.el6.centos.noarch                                 
6/6
  Verifying  : 12:dhcp-common-4.1.1-38.P1.el6.centos.i686                      
1/6
  Verifying  : 12:dhclient-4.1.1-38.P1.el6.centos.i686                         
2/6
  Verifying  : 2:vim-minimal-7.2.411-1.8.el6.i686                              
3/6
  Verifying  : libcap-ng-0.6.4-3.el6_0.1.i686                                  
4/6
  Verifying  : yum-3.2.29-43.el6.centos.noarch                                 
5/6
  Verifying  : yum-3.2.29-40.el6.centos.noarch                                 
6/6

Installed:
  dhclient.i686 12:4.1.1-38.P1.el6.centos     vim-minimal.i686
2:7.2.411-1.8.el6

Dependency Installed:
  dhcp-common.i686 12:4.1.1-38.P1.el6.centos    libcap-ng.i686
0:0.6.4-3.el6_0.1

Updated:
  yum.noarch 0:3.2.29-43.el6.centos

Complete!
  cleaning up...
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, keys, protectbase
Cleaning repos: base extras updates
Cleaning up Everything
  post-install.sh : done.
Installation complete.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193493-13-fOOpY1irLW>