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
-------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to