Re: Please test debootstrap
Hello!
On Thu, 16 Aug 2007 15:45:25 +0200, Michael Banck wrote:
> On Thu, Aug 16, 2007 at 03:36:17PM +0200, Michael Banck wrote:
>>> /usr/lib/debootstrap/functions: line 838: /bin/settrans: \
>>> No such file or directory
>>
>> cross-debootstrap isn't supported yet I think, due to this -
>> probably debootstrap should abort rather.
I understood it after Matthew King's post about using deboostrap from
hurd ;-)
>> It would be nice if we could figure out how to make this better -
>> without changing deboostrap too much.
>
> The above error is from setup_devices() which is called in
> first_stage_install() in /usr/lib/debootstrap/scripts/sid[1]. You
> could try to move that to second_stage_install() and run debootstrap
> with "--foreign --arch hurd-i386" as options. Then, after
> rebooting, you can try to run debootstrap again with
> "--second-stage" as option.
With the following patch at least we removed the error:
--8<---------------cut here---------------start------------->8---
--- sid.ORG 2007-08-20 22:39:39.000000000 +0200
+++ sid 2007-08-20 22:41:54.000000000 +0200
@@ -59,7 +59,7 @@
if doing_variant fakechroot; then
setup_devices_fakechroot
else
- setup_devices
+ test $ARCH != "hurd-i386" && setup_devices
fi
x_feign_install () {
@@ -85,6 +85,8 @@
}
second_stage_install () {
+ test $ARCH = "hurd-i386" && setup_devices
+
x_core_install () {
smallyes '' | in_target dpkg --force-depends --install $(debfor "$@")
}
Diff finished. Mon Aug 20 22:52:18 2007
--8<---------------cut here---------------end--------------->8---
But the segmentation fault is still there (so no second-stage) and I
cannot try on qemu because of the already reported error :-(
> No idea whether this would work, but that is what we should aim to
> get working at some point.
I don't know the general plan, but I was thinking about using the
GNU/Linux d-i_[i386|amd64] to install hurd-i386 (thanks to
debootstrap). Or are we talking about an hurd-i386 d-i CD?
Thx, bye,
Gismo / Luca
Reply to: