Commit Graph

312 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
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
14 years ago
Jo-Philipp Wich 520ea8e5f9 base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley)
SVN-Revision: 19530
14 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
14 years ago
Felix Fietkau 56bc02a305 add preinit modularization work by Daniel Dickinson (cshore)
SVN-Revision: 19331
14 years ago
Jo-Philipp Wich bf9917d651 base-files: disable bridge firewalling by default
SVN-Revision: 19214
14 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
14 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
Jo-Philipp Wich 27da9d1984 base-files: move ipv6 module loading from setup_interface() to addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356)
SVN-Revision: 17217
15 years ago
Felix Fietkau 907fb8d8e5 install static libraries from uclibc to the rootfs staging dir
SVN-Revision: 17169
15 years ago
Jo-Philipp Wich 3bb5ea71eb base-files: ensure that ipv6 is loaded if interfaces have an ip6addr defined, clean trailing whitespace, bump pkg revision (#5356)
SVN-Revision: 17118
15 years ago
Florian Fainelli 52b6f8f74a prevent rebuild issues on creation of lib64 with 64-bits targets
SVN-Revision: 17072
15 years ago
Andy Boyett 0194fea285 base-files: explicitly create /etc/rc.d/, fixes ImageBuilder when using git instead of svn
SVN-Revision: 16652
15 years ago
Imre Kaloz 2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
15 years ago
Jo-Philipp Wich c6fe201fb6 sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails
SVN-Revision: 16488
15 years ago
Gabor Juhos 9b5e65f101 base-files: set rules file for hotplug2 in the boot script (closes #5235)
SVN-Revision: 16215
15 years ago
Gabor Juhos 463a6f4bda base-files: update command line for the new hotplug2
SVN-Revision: 16154
15 years ago
Felix Fietkau 17ae4a4df0 fix mips64el base-files compile
SVN-Revision: 16018
15 years ago
Jo-Philipp Wich af8500e97d sysupgrade: use sysrq-trigger if available
SVN-Revision: 15865
15 years ago
Florian Fainelli 3dea7e450f create the lib64 symbolic links for 64-bits supported architectures (#5075)
SVN-Revision: 15698
15 years ago
Hamish Guthrie 42e35d0a95 base-files: Add additional base-files search paths
SVN-Revision: 15583
15 years ago
Nicolas Thill 7658ef1316 introduce a generic PKG_CONFIG_DEPENDS for packages that need to be reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS
SVN-Revision: 15451
15 years ago
Nicolas Thill 222f37cbde uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later)
SVN-Revision: 15368
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Nicolas Thill a245766507 move ldconfig & ldd to utils section
SVN-Revision: 15228
15 years ago
Jo-Philipp Wich a03e00bbcf base-files: remove redundant netmask handling in 10-routes
SVN-Revision: 15219
15 years ago
Jo-Philipp Wich 9a72419724 - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE
SVN-Revision: 15042
15 years ago
Felix Fietkau 566bdc37ad add uclibc 0.9.30.1
SVN-Revision: 15000
15 years ago
Jo-Philipp Wich 8a6acee2e2 sysupgrade: install /bin/sleep into ramdisk too and add completition notice (#4747)
SVN-Revision: 14784
15 years ago
Jo-Philipp Wich 2d672ef2f5 base-files: allow option dns to override dhcp assigned dns servers
SVN-Revision: 14562
15 years ago
Felix Fietkau ff89285b25 fix handling of eglibc config options for packaging
SVN-Revision: 14210
15 years ago
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
16 years ago
Nicolas Thill a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
16 years ago
Jo-Philipp Wich 341c1dbdf5 package/base-files: fix chmod of /tmp/.uci, bump package revision
SVN-Revision: 13903
16 years ago
Nicolas Thill f456099ca5 clean NATIVE_TOOLCHAIN dependencies
SVN-Revision: 13314
16 years ago
Peter Denison 5ff6932c66 Allow dropbear to use shadow passwords, and correct base-files generation of /etc/shadow
SVN-Revision: 12809
16 years ago
Travis Kemen 99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
16 years ago
John Crispin 79aebec9e0 creates a passwd's shadow file if busybox supports the feature, fixes #2887
SVN-Revision: 12017
16 years ago
Florian Fainelli cc99e5b35d Disable smash stacking support by default, but allow to enable it as an experimental feature
SVN-Revision: 12010
16 years ago
Nicolas Thill a5df818e0d fix libraries packaging for uml on x86_64
SVN-Revision: 11970
16 years ago
John Crispin 0bf765b362 system now knows which timezone it is in
SVN-Revision: 11445
16 years ago
Matteo Croce ac8bf03f8e create /etc/fstab on boot (closes #3458)
SVN-Revision: 11225
16 years ago
Rod Whitby c715985c97 base-files: Update /etc/init.d/fstab with new location of swapon and swapoff (they moved from /sbin to /usr/sbin)
SVN-Revision: 11157
16 years ago
Felix Fietkau ac2f4c97e7 fix typo
SVN-Revision: 9871
17 years ago
Felix Fietkau c2e873499a add profile specific base-files packages - does not work with the imagebuilder yet, but will be fixed later
SVN-Revision: 9870
17 years ago
Gabor Juhos 279f3719bf base-files: fix revision number in 'etc/banner'
SVN-Revision: 9755
17 years ago
Felix Fietkau 51996a78f1 clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git
SVN-Revision: 9723
17 years ago
Felix Fietkau 1fdd026406 fix path to the snapshot packages (snapshot build/upload needs to be fixed as well)
SVN-Revision: 9083
17 years ago
Gabor Juhos 438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
17 years ago
Rod Whitby ac8f66b987 base-files: Added support for swap configuration in /etc/config/fstab
SVN-Revision: 8947
17 years ago
Rod Whitby cd95009fc6 Added support for /etc/default/fstab - a means of automatically mounting devices on boot.
SVN-Revision: 8916
17 years ago
John Crispin f3b9e06a14 made HOME=/root global instead of x86 specific
SVN-Revision: 8845
17 years ago
Florian Fainelli 9dfd1faee3 Revert the InstallDev section, was only there testing
SVN-Revision: 8787
17 years ago
Florian Fainelli 776bc05179 Put back ldd and ldconfig (#1543)
SVN-Revision: 8786
17 years ago
Felix Fietkau a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
17 years ago
Felix Fietkau 4db9556f99 bump package versions after updates
SVN-Revision: 8680
17 years ago
Nicolas Thill 34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
17 years ago
Felix Fietkau 56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
17 years ago
Nicolas Thill be0de75a3e package Makefile cleanup: remove uneeded vars
SVN-Revision: 8587
17 years ago
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
17 years ago
Florian Fainelli 650ee7c337 libgcc is not available with host-toolchain, DEPENDS was overriden with the avr32 condition
SVN-Revision: 8038
17 years ago
Felix Fietkau fb684d26f3 add second package source for packages built from the /packages repository fix up first package source (should be release, not snapshots on 7.07)
SVN-Revision: 7897
17 years ago
Florian Fainelli 096917d10f Package libstdc++ (#1883)
SVN-Revision: 7581
17 years ago
Imre Kaloz 08c7265613 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
17 years ago
Felix Fietkau d96d98a88d Small bugfix for dependency handling - mostly for base-files and symlinks
SVN-Revision: 7058
17 years ago
Felix Fietkau 383a21f3c5 use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
SVN-Revision: 7043
17 years ago
Florian Fainelli 7b89c1622c Create /lib/firmware
SVN-Revision: 7033
17 years ago
Florian Fainelli ed654ae6bd Remove ldd/ldconfig for the moment (#1551)
SVN-Revision: 6866
17 years ago
Florian Fainelli da8174507a Add ldd and ldconfig support, template packages derived from gcc and uclibc
SVN-Revision: 6856
17 years ago
Felix Fietkau e68e6f4be9 fix default netmask
SVN-Revision: 6589
17 years ago
Felix Fietkau f38df5a0af package libssp for apps that need it (only enabled for gcc4)
SVN-Revision: 6584
17 years ago
Felix Fietkau c96e173c28 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481
17 years ago
Tim Yardley 484609eeb0 commit profile support for base-files... patches still need to be done
SVN-Revision: 6465
17 years ago
Felix Fietkau 68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6
SVN-Revision: 6450
17 years ago
Felix Fietkau 0e3a29c270 Fix the annoying base-files autorebuild bug. When checking file mtimes in directories, timestamp.pl was following symlinks. This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.
SVN-Revision: 6084
18 years ago
Felix Fietkau 656412d1a3 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
18 years ago
Felix Fietkau c2211dc51e replace lots of manual install commands with INSTALL_* variables
SVN-Revision: 5624
18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
18 years ago
Felix Fietkau 37362df7ea move platform specific base-files into target/linux/<targetname>
SVN-Revision: 5621
18 years ago
Felix Fietkau 105a602ecf implement target profiles in menuconfig
SVN-Revision: 5512
18 years ago
Felix Fietkau 137d2b4d43 fix jffs2root compile
SVN-Revision: 5500
18 years ago
Felix Fietkau 86e2fbaaa4 rename the <boardname>-<kernelversion> directories of base-files to just <boardname>, so that the broadcom stuff can share files across kernel versions. adding back <boardname>-<kernelversion> for version specific overrides is still possible
SVN-Revision: 5427
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago