Re: [LEDE-DEV] [RFC] kernel patches cleanup

2017-08-01 Thread Rafał Miłecki
On 2 August 2017 at 06:36, John Crispin wrote: > On 31/07/17 18:11, John Crispin wrote: >> >> Hi, >> >> I rebased my ages old kernel patch cleanup series. It can be found here >> [1]. >> >> the series annotates all patches and splits them up into 3 folders >> backports/pending/hacks. >> >> I'd lik

Re: [LEDE-DEV] [RFC] kernel patches cleanup

2017-08-01 Thread John Crispin
On 31/07/17 18:11, John Crispin wrote: Hi, I rebased my ages old kernel patch cleanup series. It can be found here [1]. the series annotates all patches and splits them up into 3 folders backports/pending/hacks. I'd like to push this asap if there are no mayor issues as it will be a pai

Re: [LEDE-DEV] [PATCH fstools] libblkid-tiny: add support for UBI superblock

2017-08-01 Thread John Crispin
On 01/08/17 21:37, Rafał Miłecki wrote: From: Rafał Miłecki Detecting UBI superblock may be useful for tools wanting to simplify or automate attaching UBI. Please note it's not directly related to the ubifs support which is just a filesystem working on top of UBI volume. This patch adds simp

Re: [LEDE-DEV] Problem with PKG_CONFIG_DEPENDS and string configs

2017-08-01 Thread Florian Fainelli
On 08/01/2017 02:00 PM, Rafał Miłecki wrote: > Packages are allowed to specify dependency configs in their > PKG_CONFIG_DEPENDS. Any value change for any dependency should result > in rebuilding the package. > > This feature is handled with STAMP_CONFIGURED in package.mk. For every > package we ha

[LEDE-DEV] Problem with PKG_CONFIG_DEPENDS and string configs

2017-08-01 Thread Rafał Miłecki
Packages are allowed to specify dependency configs in their PKG_CONFIG_DEPENDS. Any value change for any dependency should result in rebuilding the package. This feature is handled with STAMP_CONFIGURED in package.mk. For every package we have something like: build_dir/target-*/fstools-*/.configur

[LEDE-DEV] [PATCH fstools] libblkid-tiny: add support for UBI superblock

2017-08-01 Thread Rafał Miłecki
From: Rafał Miłecki Detecting UBI superblock may be useful for tools wanting to simplify or automate attaching UBI. Please note it's not directly related to the ubifs support which is just a filesystem working on top of UBI volume. This patch adds simple code reading UBI version and unique numbe

Re: [LEDE-DEV] Stock config files as templates

2017-08-01 Thread Eric Luehrsen
I would recommend two options and break this into two steps or concepts. (1) A new option removes default servers. This option is independent of option 2. For implementation, an inline awk script might have more robust syntax then sed. (2) Current list server option adds servers to the list. E

Re: [LEDE-DEV] Fwd: future-proofing opkg

2017-08-01 Thread Mike Kelly
On Mon, Jul 31, 2017 at 4:58 PM, Val Kulkov wrote: > I am requesting feedback on how to make LEDE/OpenWrt a little more > friendly to end users where an outdated version of opkg cannot install > a package properly. A few possible approaches I can think of are: Some approaches I've seen around thi