Re: [OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-06-17 Thread Alexey I. Froloff
On Thu, Jun 17, 2010 at 08:09:02AM -0500, Travis Kemen wrote: > Did you check this against both opkg and the ipkg-script the buildroot uses > to generate the info file? (they are different) My thought was to compile > the opkg on the host as well and use it during the compile to fix this issue > bu

Re: [OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-06-17 Thread Travis Kemen
Did you check this against both opkg and the ipkg-script the buildroot uses to generate the info file? (they are different) My thought was to compile the opkg on the host as well and use it during the compile to fix this issue but I haven't had time to do it yet. Travis On Thu, Jun 17, 2010 at 7:

Re: [OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-06-17 Thread Alexey I. Froloff
On Wed, Feb 03, 2010 at 09:27:21AM +0100, Bastian Bittorf wrote: > > > > + find /usr/lib/opkg/info -name '*.conffiles' | xargs -r cat >> > > > > "$file" > > > seems complicated to me, why not: > > > cat /usr/lib/opkg/info/*.conffiles >>"$file" > > There's still an opportunity that none of *.

[OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-02-07 Thread Alexey I. Froloff
When performing sysupgrade process, opkg should report its conffiles list. Signed-off-by: Alexey I. Froloff --- package/opkg/Makefile|2 ++ package/opkg/files/opkg-conffiles.sh |9 + 2 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 package/opk

Re: [OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-02-04 Thread Alexey I. Froloff
On Wed, Feb 03, 2010 at 09:27:21AM +0100, Bastian Bittorf wrote: > personally i try to avoid unnecessary usage of "complicated" > commands to leave the way open for busybox minimal builts Should I resend patch? -- Regards,-- Sir Raorn. --- http://thousandsofhate.blogspot.com/ signature.as

Re: [OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-02-03 Thread Bastian Bittorf
* Alexey I. Froloff [03.02.2010 09:10]: > On Wed, Feb 03, 2010 at 08:59:04AM +0100, Bastian Bittorf wrote: > > > + find /usr/lib/opkg/info -name '*.conffiles' | xargs -r cat >> "$file" > > seems complicated to me, why not: > > cat /usr/lib/opkg/info/*.conffiles >>"$file" > There's still an opportu

Re: [OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-02-03 Thread Alexey I. Froloff
On Wed, Feb 03, 2010 at 08:59:04AM +0100, Bastian Bittorf wrote: > > + find /usr/lib/opkg/info -name '*.conffiles' | xargs -r cat >> "$file" > seems complicated to me, why not: > cat /usr/lib/opkg/info/*.conffiles >>"$file" There's still an opportunity that none of *.conffiles exists. You may cal

Re: [OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-02-02 Thread Bastian Bittorf
* Alexey I. Froloff [03.02.2010 00:00]: > +#!/bin/sh > + > +add_opkg_conffiles() { > + local file="$1" > + find /usr/lib/opkg/info -name '*.conffiles' | xargs -r cat >> "$file" > + return 0 > +} seems complicated to me, why not: cat /usr/lib/opkg/info/*.conffiles >>"$file" bye, Ba

[OpenWrt-Devel] [PATCH] packages/opkg: provide conffiles list upon sysupgrade

2010-02-02 Thread Alexey I. Froloff
When performing sysupgrade process, opkg should report its conffiles list. Signed-off-by: Alexey I. Froloff --- package/opkg/Makefile|2 ++ package/opkg/files/opkg-conffiles.sh |8 2 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 package/opkg