- Jan 16, 2017
-
-
Matthias Schiffer authored
Knowing the package architecture at runtime can be useful, e.g. to configure opkg repository URLs. The value of ARCH_PACKAGES ("%A" in VERSION_SED) as added to openwrt_release (as DISTRIB_ARCH) and os-release (as LEDE_ARCH). Signed-off-by:
Matthias Schiffer <mschiffer@universe-factory.net>
-
- Dec 02, 2016
-
-
Jo-Philipp Wich authored
Move the revision info to the VERSION_CODE variable and default VERSION_NUMBER to CURRENT for master branch builds. Also introduce a new menuconfig option CONFIG_VERSION_CODE which allows users to override the revision value put into VERSION_CODE and adjust the template files used by the base-files package to accomodate for the changed semantics. While we're at it, also adjust the various URLs to match the current web site. After this commit, the relevent files will look like the examples given below: # cat /etc/openwrt_version r2398+1 # cat /etc/openwrt_release DISTRIB_ID='LEDE' DISTRIB_RELEASE='CURRENT' DISTRIB_REVISION='r2398+1' DISTRIB_CODENAME='reboot' DISTRIB_TARGET='x86/64' DISTRIB_DESCRIPTION='LEDE Reboot CURRENT r2398+1' DISTRIB_TAINTS='no-all override' # cat /usr/lib/os-release NAME="LEDE" VERSION="CURRENT, Reboot" ID="lede" ID_LIKE="lede openwrt" PRETTY_NAME="LEDE Reboot CURRENT" VERSION_ID="current" HOME_URL="http://lede-project.org/" BUG_URL="http://bugs.lede-project.org/" SUPPORT_URL="http://forum.lede-project.org/" BUILD_ID="r2398+1" LEDE_BOARD="x86/64" LEDE_TAINTS="no-all override" LEDE_DEVICE_MANUFACTURER="LEDE" LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/" LEDE_DEVICE_PRODUCT="Generic" LEDE_DEVICE_REVISION="v0" LEDE_RELEASE="LEDE Reboot CURRENT r2398+1" On a release branch, those files would look like: # cat /etc/openwrt_version r2399 # cat /etc/openwrt_release DISTRIB_ID='LEDE' DISTRIB_RELEASE='16.12-CURRENT' DISTRIB_REVISION='r2399' DISTRIB_CODENAME='test_release' DISTRIB_TARGET='x86/64' DISTRIB_DESCRIPTION='LEDE Test Release 16.12-CURRENT r2399' DISTRIB_TAINTS='no-all override' # cat /usr/lib/os-release NAME="LEDE" VERSION="16.12-CURRENT, Test Release" ID="lede" ID_LIKE="lede openwrt" PRETTY_NAME="LEDE Test Release 16.12-CURRENT" VERSION_ID="16.12-current" HOME_URL="http://lede-project.org/" BUG_URL="http://bugs.lede-project.org/" SUPPORT_URL="http://forum.lede-project.org/" BUILD_ID="r2399" LEDE_BOARD="x86/64" LEDE_TAINTS="no-all override" LEDE_DEVICE_MANUFACTURER="LEDE" LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/" LEDE_DEVICE_PRODUCT="Generic" LEDE_DEVICE_REVISION="v0" LEDE_RELEASE="LEDE Test Release 16.12-CURRENT r2399" On a release tag, those files would look like: # cat /etc/openwrt_version r2500 # cat /etc/openwrt_release DISTRIB_ID='LEDE' DISTRIB_RELEASE='17.02.1' DISTRIB_REVISION='r2500' DISTRIB_CODENAME='mighty_unicorn' DISTRIB_TARGET='x86/64' DISTRIB_DESCRIPTION='LEDE Mighty Unicorn 17.02.1 r2500' DISTRIB_TAINTS='no-all override' # cat /usr/lib/os-release NAME="LEDE" VERSION="17.02.1, Mighty Unicorn" ID="lede" ID_LIKE="lede openwrt" PRETTY_NAME="LEDE Mighty Unicorn 17.02.1" VERSION_ID="17.02.1" HOME_URL="http://lede-project.org/" BUG_URL="http://bugs.lede-project.org/" SUPPORT_URL="http://forum.lede-project.org/" BUILD_ID="r2500" LEDE_BOARD="x86/64" LEDE_TAINTS="no-all override" LEDE_DEVICE_MANUFACTURER="LEDE" LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/ " LEDE_DEVICE_PRODUCT="Generic" LEDE_DEVICE_REVISION="v0" LEDE_RELEASE="LEDE Mighty Unicorn 17.02.1 r2500" Signed-off-by:
Jo-Philipp Wich <jo@mein.io> Acked-by:
Felix Fietkau <nbd@nbd.name>
-
- Jun 24, 2016
-
-
Daniel Dickinson authored
/etc/os-release is the standard distribution release information file, therefore add it (and image configuration options for fields not previously present in LEDE). Once it is deemed reasonable the non-standard openwrt_release, openwrt_version, and device_info files could be removed (that is with this patch we consider them deprecated in favour of the standard file). Signed-off-by:
Daniel Dickinson <lede@daniel.thecshore.com>
-
- Apr 18, 2016
-
-
John Crispin authored
Signed-off-by:
Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by:
John Crispin <john@phrozen.org>
-
- Oct 20, 2011
-
-
Felix Fietkau authored
base-files: move network related scripts to a separate package to make the transition to netifd easier SVN-Revision: 28495
-
- Feb 13, 2011
-
-
Felix Fietkau authored
SVN-Revision: 25495
-
- Feb 10, 2011
-
-
Jo-Philipp Wich authored
SVN-Revision: 25452
-
- Dec 22, 2010
-
-
Jo-Philipp Wich authored
base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format (#6435) SVN-Revision: 24778
-
- Nov 17, 2010
-
-
Jo-Philipp Wich authored
base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes SVN-Revision: 24020
-
- Oct 04, 2010
-
-
Jo-Philipp Wich authored
base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script. The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the cached state vars and query uci directly to make the script immune against unwanted runtime changes. SVN-Revision: 23211
-
- Sep 19, 2010
-
-
Jo-Philipp Wich authored
base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state SVN-Revision: 23091
-
- May 30, 2010
-
-
Jo-Philipp Wich authored
base-files: - use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision SVN-Revision: 21638
-
- May 17, 2010
-
-
Jo-Philipp Wich authored
SVN-Revision: 21490
-
- Feb 12, 2010
-
-
Jo-Philipp Wich authored
base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script SVN-Revision: 19597
-
- Feb 05, 2010
-
-
Jo-Philipp Wich authored
SVN-Revision: 19530
-
- Oct 20, 2009
-
-
Felix Fietkau authored
SVN-Revision: 18109
-
- Sep 09, 2009
-
-
Felix Fietkau authored
Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates SVN-Revision: 17544
-
- Sep 06, 2009
-
-
Travis Kemen authored
SVN-Revision: 17527
-
- Jul 12, 2009
-
-
Vasilis Tsiligiannis authored
Petitboot and maybe other apps need to know when the dhcp lease is lost. Move the udhcpc.user call to send it all udhcpc events. Signed-off-by:
Geoff Levand <geoffrey.levand@am.sony.com> SVN-Revision: 16815
-
- Jul 03, 2009
-
-
Felix Fietkau authored
SVN-Revision: 16664
-
- Jun 13, 2009
-
-
Felix Fietkau authored
SVN-Revision: 16433
-
- May 17, 2009
-
-
Jo-Philipp Wich authored
SVN-Revision: 15903
-
- May 10, 2009
-
-
Jo-Philipp Wich authored
base-files: - restore device, ifname and aliases state in dhcp script - make sure that resolv.conf.tmp is written once at least for statically configured dns SVN-Revision: 15753
-
- May 06, 2009
-
-
Jo-Philipp Wich authored
SVN-Revision: 15635
-
- Apr 04, 2009
-
-
Felix Fietkau authored
SVN-Revision: 15095
-
- Feb 19, 2009
-
-
Jo-Philipp Wich authored
SVN-Revision: 14562
-
- Sep 23, 2008
-
-
Felix Fietkau authored
don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type 'update' instead; fixes #3906 SVN-Revision: 12671
-
- Feb 03, 2008
-
-
Felix Fietkau authored
SVN-Revision: 10367
-
- Sep 12, 2007
-
-
Felix Fietkau authored
SVN-Revision: 8765
-
- Jul 12, 2007
-
-
Felix Fietkau authored
SVN-Revision: 7952
-
- Jun 16, 2007
-
-
Felix Fietkau authored
keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network) SVN-Revision: 7643
-
- May 15, 2007
-
-
Mike Baker authored
SVN-Revision: 7244
-
- May 14, 2007
-
-
Mike Baker authored
SVN-Revision: 7222
-
- May 13, 2007
-
-
Florian Fainelli authored
SVN-Revision: 7215
-
- Mar 04, 2007
-
-
Felix Fietkau authored
SVN-Revision: 6512
-
- Jan 08, 2007
-
-
Felix Fietkau authored
Forward port whiterussian resolv.conf changes /etc/resolv.conf links to /tmp/resolv.conf /tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in) When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1 SVN-Revision: 6043
-
- Nov 22, 2006
-
-
Felix Fietkau authored
SVN-Revision: 5622
-