[Buildroot] Properly setting up hotplug

Peter Korsgaard jacmet at uclibc.org
Wed Apr 22 08:52:56 UTC 2009

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan at skynet.be> writes:


 Sagaert> 1) libssp issue

 Sagaert> I started of with a clean build again to do the check:

 Sagaert> I enabled the packages openssh ,openssl

 Sagaert> After building the libssp.so.0,libssp.so.0.0.0 and libssp.so are under
 Sagaert> build_arm/stagingdir/usr/arm-linux-uclibc/lib
 Sagaert> But they are NOT insite the project_build_arm/.../root

 Sagaert> Generating RSA Key...
 Sagaert> /usr/bin/ssh-keygen: can't load library 'libssp.so.0'
 Sagaert> Generating DSA Key...

 Sagaert> /usr/bin/ssh-keygen: can't load library 'libssp.so.0'

That's not really an issue with openssh as such, but the fact that we
used to compile gcc with --enable-libssp and NOT install the libs in
the target. It should be fixed in r26182 - r26183.

 Sagaert> 2) dbus

 Sagaert> After distclean the build_arm directoory gets cleaned,but
 Sagaert> the autotools-stamps not, As a result dbus get build again
 Sagaert> but never installed again.(this may apply to others too)

Hmm.. distclean removes toolchain_build_arch, build_arch,
project_build_arch and binaries, so this I don't get. Are you talking
about the dbus-clean / dbus-dirclean make targets instead?

 Sagaert> 3) .. /root/var

 Sagaert> I always remove the var directory and replace it with a
 Sagaert> symlink to /tmp/ I then create the required directory
 Sagaert> structure (var lock, etc) in init.d/ S00mktmp Doing so
 Sagaert> results in var been actually on tmpfs, this avoids that my
 Sagaert> flash gets written.

Yes, that's pretty similar to what the generic target does (/var is on
rootfs, but the subdirs cache, lock, log, pcmcia, run, spool, tmp are
all symlinks to /tmp.

 Sagaert> Maybe this is something to consider making this configurable.

 Sagaert> (for the same reason i have put a symplink /etc/resolv.conf
 Sagaert> pointing to /tmp/ resolv.conf )

Same for the generic target.

Bye, Peter Korsgaard

More information about the buildroot mailing list