On Sun, 12 Feb 2017, Philip Prindeville wrote:
If you look for where the /files/* are copied into the filesystem, that is
probably the place you would want to add your scripting hooks.
Good idea. I’ll look there.
Once you find this, may I suggest that you create /scripts/* and contribute the
infrastructure to support it back upstream?
I have seen a lot of people wanting to do similar things.
Surprisingly, I’m still trying to find in the Makefiles where $(topdir)/files/
gets copied over…
-Philip
It's prepare_rootfs doing this job at the moment.
yousong
Sorry to be thick headed, but what’s the path to that?
grep -r "/files/" finds
scripts/env: cp -a "$ENVDIR/files/"* "$BASEDIR/files" 2>/dev/null
>/dev/null
_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev