-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/02/12 01:50, Luka Perkov wrote: > This patch makes several changes with uboot-envtools package: > > * bumps to version 2011.12 ack. > * adds md5sum ack. > * creates a menu so it will look better in 'make menuconfig' ack. > * adds /etc/fw_env.config to conffile ack. > * refresh patches ack. > * removes init script because we should be using uci-defaults instead nack. The actual board-detection and uboot-env config should not be in the uboot-envtools package as it is very platform dependent. adding lantiq_env to uci-defaults obviously makes on lantiq platform only, but we are using uboot-envtools on a couple of different platforms. the approach of creating uci-configuration values from the a uci-default script of the platform and then have a run-once init script to generate the actual /etc/fw_env.config had a couple of reasons to be exactly as it was: in this way, the platform *defaults* always live in /etc/config/ubootenv and can be created by a uci-default script for every platform. fw_env.config gets generated only if it doesn't exist yet and values in uci exist. in this way, uboot-env remains target agnostic. the configuration, a far as OpenWrt is concerned, lives in uci. the configuration-file used by the fw_printenv/fw_setenv tool is generated from uci, just like it happens for most config-files in OpenWrt which are run-time generated out of uci. in this specific case I see that it makes sense to store it in /etc instead of /var/etc, as we don't want to overwrite user-made changes to this file and have the user brick his system...
> I would also like to maintain this package. ack, it would be nice to have you maintining it :) > Changes since v1: > > We should put target uboot environment uci-defaults in this package and use > Makefile to install correct one. I should have think of that the first > time. Idea is from owsip package. See above. target uboot environment uci-defaults should live at the targets imho , see target/linux/ar71xx/base-files/etc/uci-defaults/ubootenv for the way I intended it. Cheers for the good work! Daniel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJPeBVTAAoJEDy9cKN/1Et0f4oP/20h1fXw4iry2luvHIRGrT9F pjDmGBRstXW1MUx3otdCHbnJgblxGvjCLrdCT7k65Ph5oWFA+jN3l1ea8CS94054 vA6bPAISJg2MVdb2HwSCsFhSoGkMzm4tuC1BRrcSVaetvvci0o5ilnqr/n4L4Riq HZCEDkPpq4t5Hb5yftYmrWvB6S6tsSIHSiLLx+Gt6GkV8fVjJ77X/P/TAwIYLzLE aR4UZVAcOzk7fOu4qLMFFUUH5v4XKN3F8fKBVOU4gDgPsXqn9Q/gni/XkFF/CVn2 82kFgFz5FBSHUiNPmEmB+2KSs1WY8kgLRc/ZMcBr/f3EfMazsP3Ela/ycCtoTmS9 hD2KE3EKSK2J+Ibb7R0TzqPmFHpDYmKqYPEcYUo7vbgRTZKf+8ZTPZSc51vEPxsG vui1MKisbB8tb3cASb0yAz1MXG1sPorE/IFcPM2g3L6yknl47XvkIoICRfAGzWDM xNZZCfgcqxKCtgJFMjEXWegRaw3pxqAFRCilJxsXNdVZJXq4wLj3bAbG0k1X/eYz i5//ykCb6xJHHuKwIUP2zm5rF4QDdT0iTpCEGQLOzYN/001qplRzc00NcTEow7Ce iJHjIVJuaJkKDB2H9Krcv8rb4jNujjCFh6vaIOeN91YzjWMmaCJ8Royc9t1ucNQg 3K3pu+io7rElSQbbyXmH =qNF5 -----END PGP SIGNATURE----- _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel