I attach a patch for /usr/share/debootstrap/gutsy to support fake-uname wrapper[1] for LD_PRELOAD and workaround this problem.
# HOWTO # Compile fake-uname.so as shown here: $ gcc -shared -fPIC uname.c -o /usr/local/lib/fake-uname.so -ldl (-ldl parameter at last of command line is important) (fake-uname.so at /usr/local/lib is also important according to following patch) Patch /usr/share/debootstrap/gutsy: $ sudo patch -p0 fake-uname_support.patch Use debootstrap with UTS_RELEASE variable like: $ UTS_RELEASE=2.6.32 debootstrap lucid target_dir/ [1]http://www.developpez.net/forums/d466836/systemes/linux/systeme /changer-version-kernel-dynamiquement-chroot/#post2815469 ** Patch added: "Patch for /usr/share/debootstrap/gutsy" https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/802985/+attachment/2190917/+files/fake-uname_support.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/802985 Title: [lucid] /var/lib/dpkg/tmp.ci/preinst: 399: arithmetic expression: expecting EOF: "3.0-0-generic" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/802985/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
