Hi florian

have you looked at mountd ? its the rewrite of automount we did for fon20.

it will need considerable work before being ready for trunk mergery, but i guess we can add your needs to the spec, before i start hacking ?


John






Quoting Florian Fainelli <[email protected]>:

Hi devs,

Jo, Nico and I have been discussing an issue which is defining at build time
packages that should be installed on, say an usb flash drive. For this we
have two approaches:

1) Define a new state in menuconfig, "E" for external which will change the
ipkg header and include a Destination keyword containing the destination name
the usb drive will be mounted on. Additionnaly we generate the external
filesystem containing the packages. This approach requires quite a lof of
changes in the scripts/* files and we need to know the usb drive size in
advance.

2) We add a new configuration symbol CONFIG_EXT_PACKAGES which contains the
list of packages (without their dependencies) we want to install on the usb
drive. The rootfs on the main flash will embedd a script which will mount and
format the usb drive, then install the list of packages to this destination.
That is easier to implement.

Second approach requires us to fix the usb automount script which should be
done anyway.

Thanks for your comments.
--
Best regards, Florian Fainelli
Email : [email protected]
http://openwrt.org
-------------------------------




--
John Crispin
hacking, coding, etc
blogic on irc

   _______                     ________        __
  |       |.-----.-----.-----.|  |  |  |.----.|  |_
  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
  |_______||   __|_____|__|__||________||__|  |____|
           |__| W I R E L E S S   F R E E D O M
  KAMIKAZE (bleeding edge) -----------------------
   * 10 oz Vodka       Shake well with ice and strain
   * 10 oz Triple sec  mixture into 10 shot glasses.
   * 10 oz lime juice  Salute!
  ---------------------------------------------------
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to