Currently, debootstrap works for installing debian e.g. in a chroot. I'd like to have a ubuntu chroot, so I hacked around doing a few crude changes to the debootstrap ebuild in a chroot. It's crude, but worked. perhaps the ebootstrap maintainer could add ubuntu support? Reproducible: Always Steps to Reproduce: 1.emerge debootstrap Actual Results: debian debootstrap is emerged Expected Results: debootstrap should have ubuntu support too
Exceedingly simple hack to use ubuntu's debootstrap: # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/debootstrap/debootstrap-0.3.3-r1.ebuild,v 1.5 2006/10/21 16:00:03 dertobi123 Exp $ DESCRIPTION="Debian bootstrap scripts" HOMEPAGE="http://packages.qa.debian.org/d/debootstrap.html" SRC_URI="http://archive.ubuntulinux.org/ubuntu/pool/main/d/debootstrap/debootstrap_0.3.3.1ubuntu1.tar.gz mirror://gentoo/devices.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha ~amd64 hppa ia64 ppc ~sparc ~x86" IUSE="nodpkg" DEPEND="sys-devel/binutils net-misc/wget !nodpkg? ( app-arch/dpkg )" S=${WORKDIR}/debootstrap-0.3.3.1ubuntu1 src_unpack() { unpack debootstrap_0.3.3.1ubuntu1.tar.gz echo "${DISTDIR}"/devices.tar.gz "${S}"/devices-std.tar.gz cp "${DISTDIR}"/devices.tar.gz "${S}"/devices-std.tar.gz || die } src_compile() { emake pkgdetails debootstrap-arch || die } src_install() { make DESTDIR="${D}" install-allarch || die dodoc TODO }
If you get upstream to merge the changes, sure.
*** Bug 164901 has been marked as a duplicate of this bug. ***