> Hi devs,

Hi,

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

personally i would prefer something like mini_fo to overlay the flash
drive over the rootfs. I already tried that but ran in a hen/egg
problem:

I must overlay the flash drive over the rootfs _after_ mounting jffs
over the squashfs root because I need the config to know which usb
storage device i should use. And thats not possible afaik...

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

I was on rewriting the automount script to use uuid based config for
supporting multiple usb drives. But some time ago my usb-enabled router
died so I stopped working on it. This version was working at least some
months ago:

https://freigeist.org/files/openwrt/10-usb-storage
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to