FreeWRT dixit:

>#122: new files are installed inside fwcf

Pointing here for a discussion.

> If I have a router where I installed some packages and I want to use it
> for something different later, I do a "fwcf erase" and start to configure
> it from scratch. but I really don't want broken packages then.

This is not what 'fwcf erase' is for. It is for if you flash a new image
using mtd and want clean configuration.

(Is it just me or... if you delete configuration files, programmes should
not break, and you could just write new configuration files to make them
work again.)

For everything else, just copy /tmp/.fwcf/root/ to /etc/ instead.

> And when I am able to
> install additional packages I want them installed persistent.

Actually, configuration files normally should not be installed to
/etc, in sensible packaging systems, unlike ipkg. They aren't, due
to space constraints. If you do what you are doing - starting anew -
you're better off flashing a new image with the packages you want
to have added anyway.

What you want is not what fwcf was designed/intended for.

And to quote from a previous mail:
> "fwcf erase" or if someone forgets to commit the files.

If "someone forgets" whatever, be it fwcf commit, he's shoot
himself into the foot anyway. We expect our target audience
to have RTFM.

//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.              -- Coywolf Qi Hunt
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to