<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Ticket search results</title><link>https://forge.codesys.com/tol/wharfie/tickets/</link><description>You searched for assigned_to:"ingo"</description><language>en</language><lastBuildDate>Sun, 07 Apr 2019 18:56:32 -0000</lastBuildDate><item><title>g++ missing in cross toolchain</title><link>https://forge.codesys.com/tol/wharfie/tickets/15/</link><description>gcc for cross compilation is included in toolchain, but g++ is missing.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">erichspitzweg</dc:creator><pubDate>Sun, 07 Apr 2019 18:56:32 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/tol/wharfie/tickets/15/</guid></item><item><title>g++ in env.sh is wrong</title><link>https://forge.codesys.com/tol/wharfie/tickets/13/</link><description>CXX=$${COMPILE_PREFIX}cpp

in wharfie.mk should be

CXX=$${COMPILE_PREFIX}g++</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">erichspitzweg</dc:creator><pubDate>Wed, 03 Apr 2019 06:40:15 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/tol/wharfie/tickets/13/</guid></item><item><title>debootstrap doesn't work on stretch</title><link>https://forge.codesys.com/tol/wharfie/tickets/11/</link><description>*Originally created by:* labi

Currently we are facing the problem with stretch, that debootstrap doesn't want to build. Most likely its because of this error:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838388</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 05 Apr 2019 11:39:39 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/tol/wharfie/tickets/11/</guid></item><item><title>Recreate SSH key at boot</title><link>https://forge.codesys.com/tol/wharfie/tickets/3/</link><description>*Originally created by:* labi

*Originally owned by:* labi

Currently the SSH key is created during installation. So it is the same for all targets where the created root filesystem will be rolled out.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 05 Apr 2019 11:40:41 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/tol/wharfie/tickets/3/</guid></item><item><title>Build as non-root user</title><link>https://forge.codesys.com/tol/wharfie/tickets/1/</link><description>*Originally created by:* labi

*Originally owned by:* labi

Allow building as non-root user. Currently we need root, as we are using chroot.
After switching to fakechroot, we have the problem of non-native target systems. Then we are using qemu through binfmt, which simply doesn't work in combination with chroot.

The way how fakechroot works is preloading a wrapper library through LD_PRELOAD. So the following scenerio sounds valid:

~~~
fakechroot chroot rootfs/ /bin/bash
~~~

/bin/bash is a target binary, executed through binfmt.
chroot itself is still a host binary.

fakechroot will fixly preload it's wrapper.

We would need a few things:

* When building a base system with debootstrap, we always need to corresponding libfakechroot.so fo the target.
* In my opinion this library can be stored globally in a similar manner as debian_version.mk
* When issuing the chroot, we need to switch LD_PRELOAD to the new folder

Note: We need to check if the permissions on the files will remain the same after we switched from the host to the target library. Because the command is in fact a bit more complex:

~~~
fakechroot bash -c "cd ...; tar -xf ...; chroot . ./.trg.sh; ..."
~~~

So we have the files created with the host version of libchfakeroot.so and then we execute the target binaries with the target version. Not sure if we can guarantee, that they are seeing the same file permissions, as I don't know where this information is stored.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 09 Mar 2018 15:40:55 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/tol/wharfie/tickets/1/</guid></item></channel></rss>