I eventually reverse engineered myself through the buildroot Makefiles
and came up with the following solution.
define KernelPackage/fuse24/install
$(call $(Package/kmod-fuse24/install))
echo mknod /dev/fuse -m 0666 c 10 229 >> $(1)/CONTROL/postinst
endef
I could find another definition that is hooked up in the right time ..
after AUTOLOAD is written to CONTROL/postinst but before ipkg creates
the installation archive.
The Package/<pkgname>/postinst definition does not seem to be executed
as only the KernelPackage is defined and $(eval $(call'ed in the end of
the Makefile.
.. Bud
the definition suggested seems not to change the postinst script in ipkg/CONTROL
anything different if it is a kmod only package?
pls see attached Makefile
thanks bud
--
Le Thursday 04 June 2009 17:23:20 [email protected], vous avez écrit :
I currently play around with sshfs and it was missing the kernel fuse
module (so it said). In reality the /dev/fuse character device was missing.
Now I need a clue on how to modify the package Makefile to create
/dev/fuse either on package installation or earlier and package it with
the ipkg archive.
Any ideas?
All I know the commandline would be 'mknod /dev/fuse -m 0666 c 10 229'
I suggest that you use the postinstall script defined like this:
define Package/quagga/postinst
#!/bin/sh
mknod /dev/fuse -m 0666 c 10 229
endef
Even though the device should be created automatically once the module is
inserted, is not it ?
------------------------------------------------------------------------
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel