Commit Graph

125 Commits (d80f82d7a4cbf6d5c7dbabe5ac493a8e3e5665c0)

Author SHA1 Message Date
Jo-Philipp Wich d80f82d7a4 base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles
SVN-Revision: 23258
14 years ago
Jo-Philipp Wich 978ecae685 base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list
SVN-Revision: 23233
14 years ago
Jo-Philipp Wich a65975e0d6 base-files: mark /etc/rc.local as conffile
SVN-Revision: 23232
14 years ago
Jo-Philipp Wich 0fda5f7507 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
14 years ago
Jo-Philipp Wich cdd98e3f3a base-files: bump pkg revision after r23091, r23092
SVN-Revision: 23093
14 years ago
Jo-Philipp Wich 4815de3f26 base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill
SVN-Revision: 23087
14 years ago
Jo-Philipp Wich 91118a9500 base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files
SVN-Revision: 22977
14 years ago
Jo-Philipp Wich 5949f33b06 base-files: make build dependant on opkg/host
SVN-Revision: 22948
14 years ago
Felix Fietkau 62c1740676 toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
SVN-Revision: 22723
14 years ago
Jo-Philipp Wich 63991ba875 base-files, uci: properly revert list state on config_load This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times.
SVN-Revision: 22629
14 years ago
Jo-Philipp Wich e1a654dd9f base-files: unconditionally unlock the rootfs_data partition (#7437)
SVN-Revision: 22377
14 years ago
Jo-Philipp Wich 506db2a57e base-files: add "mtu" option for route sections, allows setting per-route mtu values
SVN-Revision: 22003
14 years ago
Jo-Philipp Wich ce5d644ac1 base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now
SVN-Revision: 21766
14 years ago
Jo-Philipp Wich 75941a19ac base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.
SVN-Revision: 21652
14 years ago
Jo-Philipp Wich 261d41a906 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
14 years ago
Jo-Philipp Wich 8bc961239b base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them
SVN-Revision: 21591
14 years ago
Jo-Philipp Wich c0820d3261 base-files: respect .auto option when running coldplug_interface_*() hooks on boot
SVN-Revision: 21588
14 years ago
Jo-Philipp Wich da55c9639a base-files (#7316) - improve rdate reliability - make rdate config more ntp like - move time server list to /etc/config/timeserver - bump package revision
SVN-Revision: 21495
14 years ago
Nicolas Thill ebb5858ba8 package/base-files: fix libraries packaging on 64bits targets (closes: #6918)
SVN-Revision: 21282
14 years ago
Nicolas Thill e5e0966186 package/base-files: fix typo in r20874 (thanks to rhk for spotting it)
SVN-Revision: 20878
14 years ago
Nicolas Thill 15542fcdd8 package/base-files: use a single $(CP) instead of two to copy shared library files
SVN-Revision: 20874
14 years ago
Jo-Philipp Wich 10c00a6368 base-files: also regenerate wifi config if existing config contains only whitespace
SVN-Revision: 20669
14 years ago
Jo-Philipp Wich 63f49e43e6 base-files: add a hotplug handler for rdate
SVN-Revision: 20518
14 years ago
Florian Fainelli 7af8ee0481 change from /jffs to /overlay, patch from Daniel Dickinson
SVN-Revision: 20356
14 years ago
Gabor Juhos 32be7f7605 package/base-files: call preinit_ip_deconfig before processing init on initramfs images
SVN-Revision: 20159
14 years ago
Jo-Philipp Wich 250b52f673 base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script
SVN-Revision: 19597
15 years ago
Jo-Philipp Wich 520ea8e5f9 base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley)
SVN-Revision: 19530
15 years ago
Gabor Juhos 785e45786f base-files: don't build '00_preinit.conf' if CONFIG_PREINITOPT is not selected
Also, use the default pi_broadcast address if it is not specified

SVN-Revision: 19346
15 years ago
Felix Fietkau 56bc02a305 add preinit modularization work by Daniel Dickinson (cshore)
SVN-Revision: 19331
15 years ago
Jo-Philipp Wich bf9917d651 base-files: disable bridge firewalling by default
SVN-Revision: 19214
15 years ago
Jo-Philipp Wich 39f2b6d957 base-files: sysupgade library coomon.sh has "bug" in glibc enviorement. For some reason ld-linux.so.3 is not installed at ramfs and sysupgrade always fails. Signed-off-by: Zintis Petersons <zintis.petersons@e-mail.lv>
SVN-Revision: 19167
15 years ago
Nicolas Thill 1772df7037 base-files: check for libpthread_so.a instead of libc_so.a (some gcc/libc combinations don't provide a libpthread_so.a matching libc_so.a)
SVN-Revision: 18810
15 years ago
Jo-Philipp Wich 4d9b1d6c75 base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive
SVN-Revision: 18455
15 years ago
Imre Kaloz c2eba9719e neither avr32 or coldfire has a shared libgcc
SVN-Revision: 18402
15 years ago
Felix Fietkau b2f4f696bf do not relink libresolv, it makes iproute2 barf
SVN-Revision: 18111
15 years ago
Jo-Philipp Wich cfe1bc11ad base-files: only try to execute watchdog if binary is present
SVN-Revision: 18102
15 years ago
Felix Fietkau cb3495fac5 fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
SVN-Revision: 18090
15 years ago
Felix Fietkau dc637ccdff install the right version of libgcc along with its version map to fix relinking issues with mklibs, attempt to relink only if the version map is actually present
SVN-Revision: 18089
15 years ago
Jo-Philipp Wich f44e4dcb4b base-files: add hotplug rules for /dev/lpX (#863)
SVN-Revision: 17792
15 years ago
Felix Fietkau 32bb31ca36 base-files: add libgcc dependency to libc (#5262)
SVN-Revision: 17714
15 years ago
Nicolas Thill c9bc7c504c add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
SVN-Revision: 17682
15 years ago
Felix Fietkau ca300a2f07 base-files: fix conffiles entry check (patch from #2425)
SVN-Revision: 17618
15 years ago
Jo-Philipp Wich 2f921cb48d base-files: clear ip addresses on interfaces that are about to be added to a bridge
SVN-Revision: 17596
15 years ago
Jo-Philipp Wich bc37b2e831 base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers
SVN-Revision: 17582
15 years ago
Jo-Philipp Wich bdaeaafbef base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts
SVN-Revision: 17571
15 years ago
Andy Boyett a5f80019ef bump some revisions and update copyrights
SVN-Revision: 17554
15 years ago
Gabor Juhos f494bcc222 package/base-files: set state to 'preinit' before preinit.arch is used, and set state to 'failsafe' when entering failsafe mode
SVN-Revision: 17517
15 years ago
Felix Fietkau 91fe363562 uclibc: to rebuild libc.so.0, mklibs.py needs access to libc_so.a which was not exported by default. use it instead of libc_pic.a
SVN-Revision: 17438
15 years ago
Felix Fietkau fc5426e4bc allow mklibs.py to optimize libgcc_s.so.1
SVN-Revision: 17437
15 years ago
Felix Fietkau 72cf6925a4 now that each target has its own package directory, remove the base-files package renaming hack
SVN-Revision: 17330
15 years ago