Robert Connolly wrote:
> An index file for package management is just a side effect, not the goal. I 
> think a UnionFS system would be overkill.
> 
> Off the top of my head I'm thinking something like this:
> 
> find / -wholename '/sources' -prune -o \
>       -wholename '/etc/index' -prune -o -print > /etc/index/base.list
> # Install man-pages
> find / -wholename '/sources' -prune -o \
>       -wholename '/etc/index' -prune -o -print > /etc/index/total.txt
> #
> diff /etc/index/base.list /etc/index/total.txt > /etc/index/man-pages.list
OK, these may be what you want: http://jh.gvn.cz/~jd870911/hlfs/minitrip/

# sysfind >before.log

[install, move, remove...]

# sysfind >after.log
# logdiff before.log after.log >/etc/index/package.log
# mv after.log before.log

# cat /etc/index/package.log
f /bin/more | f807ebb3... | 0:0 -rwxr-xr-x 30136
f /bin/mount | 2cc320f2... | 0:0 -rwsr-xr-x 59608
f /bin/mountpoint | ce8aebba... | 0:0 -rwxr-xr-x 9540
X /bin/ping6

        What do you think?
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to