[Pkg-uml-pkgs] Bug#533533: rootstrap: Allow to specify arch

Vincent Bernat bernat at debian.org
Thu Jun 18 12:58:41 UTC 2009


Package: rootstrap
Version: 0.3.24-5
Severity: wishlist

Hi!

Currently, we can only rootstrap the current arch. It would be nice to
be able to rootstrap another architecture. Since UML is running with
the current distribution, we cannot use arbitrary arch, but with an
amd64 distribution, we should be able to rootstrap a 32bit one.

In modules/debian, we could add:

if test -n "$arch"; then
   opts="$opts --arch=$arch"
fi

I think this would do the trick.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rootstrap depends on:
ii  debootstrap              1.0.13          Bootstrap a basic Debian system
ii  dpkg                     1.15.2          Debian package management system
ii  python                   2.5.4-2         An interactive high-level object-o
ii  user-mode-linux          2.6.26-1um-2+15 User-mode Linux (kernel)

Versions of packages rootstrap recommends:
ii  uml-utilities               20070815-1.1 User-mode Linux (utility programs)

Versions of packages rootstrap suggests:
ii  dhcp3-client                  3.1.2-1    DHCP client
ii  dhcp3-server                  3.1.2-1    DHCP server for automatic IP addre

-- no debconf information





More information about the Pkg-uml-pkgs mailing list