[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: foreign rootfs without root priviliges with multistrap, fakeroot, fakechroot and qemu user emulation



On 22 June 2011 11:15, Johannes Schauer <j.schauer@email.de> wrote:
[...]
> When reading this bit I was pressing the reply key to write down that
> this would add just too much complexity for my taste. But while I was
> thinking about how to phrase my lines I had some ideas on how to unify
> those scripts without (in my taste) sacrificing simplicity too much. It
> is just that I am very scared by scripts like rootstock from ubuntu
> which is thousands of lines long and does so much stuff I never need.
>
> To see what I came up with, check out this git repository:
>
> git clone http://git.mister-muffin.de/polystrap.git

Sweet! I've been looking for something like this. Thanks! :-)

However, I get an error when running it (on Ubuntu 11.04):

[...]
+ mv debian-sid-armel/sbin/ldconfig debian-sid-armel/sbin/ldconfig.REAL
+ mv debian-sid-armel/usr/bin/ldd debian-sid-armel/usr/bin/ldd.REAL
+ [ -r kirkwood//root ]
+ cp --recursive --dereference kirkwood//root/etc kirkwood//root/sbin
kirkwood//root/usr debian-sid-armel/
+ dpkg --print-architecture
+ [ armel != amd64 ]
+ which qemu-arm-static
+ cp /usr/bin/qemu-arm-static debian-sid-armel/usr/bin
+ [ -r kirkwood//debconfseed.txt ]
+ cp kirkwood//debconfseed.txt debian-sid-armel/tmp/
+ fakechroot chroot debian-sid-armel debconf-set-selections /tmp/debconfseed.txt
/lib/ld-linux.so.3: No such file or directory

Any idea what's wrong and how to fix it? What distro and version do
you run it on?

Best regards,
Bjørn Forsman


Reply to: