On 12.02.2010 22:13, Daniel Dickinson wrote:
I think the packaging needs the following properties:
1) scripts for functionality (e.g. uuid and label, using blkid) are
automatically installed if the main block-mount (as I've called) is
installed, and the dependency is satisfied (.e.g if block-mount and
blkid are both installed then block-blkid should automatically be
selected for installation)

I'd rather keep them optional, that's why the log tells if it misses blkid.

2) It should be possible to pull in the dependencies for say
block-blkid, from the base system menu (device-dependent submenu),
rather than having to hunt down, say, blkid

Sorry, not sure what you mean. Could you explain by example?

4) Scripts for functionality should only be installed if the necessary
dependencies are present (e.g. block-blkid shouldn't be installed
without blkid and block-mount)

This will be ensured by dependency definition in the Makefile.

NB: All conditions  can't be met via a single package because menuconfig
doesn't like circular dependencies

me neither ;) .. but seriously. Circular dependencies only mean that somebody did not look deep enough into setting them properly.

Also note that the attached patches are incomplete...I'm having
difficulty getting menuconfig to do what I want, so I'm showing you what
I've got, and letting you try.

will do so.

because it it too small.  I think that those wanting 2/8 devices to work
should really think about working on a sister project that makes

How did you perceive that openwrt is not targeting 2MB routers?

To reiterate a 2/8 device should really be done with a different
choice-base than OpenWRT because in that case you want less
functionality and smaller size.

Currently you have to menuconfig/compile your own image for these devices. But I guess this is to keep the number of readymade images to build countable.


usb-storage should simply be depending on it .. and then it will be there.
It's not only applicable to usb though.   Anyway I think making
block-mount a part of profiles for devices with usb or other block
devices (other than the boot rootfs), would be appropriate.


Typically a package would be autoselected by different packages. e.g.

packages that supply block devices: usb-storage, sdcard, ...
autoselect
packages that are needed to use these: e.g. block-mount


kind regards ede
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to