Commit Graph

254 Commits (469b8297fab3a589da4e598cb915e75dfd87dcba)

Author SHA1 Message Date
Jo-Philipp Wich 10c00a6368 base-files: also regenerate wifi config if existing config contains only whitespace
SVN-Revision: 20669
2010-04-03 13:31:59 +00:00
Jo-Philipp Wich 63f49e43e6 base-files: add a hotplug handler for rdate
SVN-Revision: 20518
2010-03-27 17:13:33 +00:00
Florian Fainelli 7af8ee0481 change from /jffs to /overlay, patch from Daniel Dickinson
SVN-Revision: 20356
2010-03-21 17:16:50 +00:00
Gabor Juhos 32be7f7605 package/base-files: call preinit_ip_deconfig before processing init on initramfs images
SVN-Revision: 20159
2010-03-12 14:37:19 +00:00
Jo-Philipp Wich 250b52f673 base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script
SVN-Revision: 19597
2010-02-12 02:06:57 +00:00
Jo-Philipp Wich 520ea8e5f9 base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley)
SVN-Revision: 19530
2010-02-05 07:57:07 +00:00
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
2010-01-26 14:41:26 +00:00
Felix Fietkau 56bc02a305 add preinit modularization work by Daniel Dickinson (cshore)
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00
Jo-Philipp Wich bf9917d651 base-files: disable bridge firewalling by default
SVN-Revision: 19214
2010-01-18 05:38:44 +00:00
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
2010-01-16 13:39:13 +00:00
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
2009-12-18 10:32:38 +00:00
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
2009-11-20 23:02:35 +00:00
Imre Kaloz c2eba9719e neither avr32 or coldfire has a shared libgcc
SVN-Revision: 18402
2009-11-12 12:20:38 +00:00
Felix Fietkau b2f4f696bf do not relink libresolv, it makes iproute2 barf
SVN-Revision: 18111
2009-10-20 22:22:59 +00:00
Jo-Philipp Wich cfe1bc11ad base-files: only try to execute watchdog if binary is present
SVN-Revision: 18102
2009-10-20 17:07:08 +00:00
Felix Fietkau cb3495fac5 fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
SVN-Revision: 18090
2009-10-20 07:26:34 +00:00
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
2009-10-20 06:57:19 +00:00
Jo-Philipp Wich f44e4dcb4b base-files: add hotplug rules for /dev/lpX (#863)
SVN-Revision: 17792
2009-09-28 20:05:50 +00:00
Felix Fietkau 32bb31ca36 base-files: add libgcc dependency to libc (#5262)
SVN-Revision: 17714
2009-09-24 22:02:39 +00:00
Nicolas Thill c9bc7c504c add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
SVN-Revision: 17682
2009-09-23 02:27:38 +00:00
Felix Fietkau ca300a2f07 base-files: fix conffiles entry check (patch from #2425)
SVN-Revision: 17618
2009-09-19 23:04:34 +00:00
Jo-Philipp Wich 2f921cb48d base-files: clear ip addresses on interfaces that are about to be added to a bridge
SVN-Revision: 17596
2009-09-16 14:21:19 +00:00
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
2009-09-14 16:14:27 +00:00
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
2009-09-11 21:35:03 +00:00
Andy Boyett a5f80019ef bump some revisions and update copyrights
SVN-Revision: 17554
2009-09-10 10:07:04 +00:00
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
2009-09-05 18:44:48 +00:00
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
2009-08-29 11:56:27 +00:00
Felix Fietkau fc5426e4bc allow mklibs.py to optimize libgcc_s.so.1
SVN-Revision: 17437
2009-08-29 03:51:43 +00:00
Felix Fietkau 72cf6925a4 now that each target has its own package directory, remove the base-files package renaming hack
SVN-Revision: 17330
2009-08-20 15:31:22 +00:00
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
2009-08-10 23:48:10 +00:00
Felix Fietkau 907fb8d8e5 install static libraries from uclibc to the rootfs staging dir
SVN-Revision: 17169
2009-08-08 02:24:45 +00:00
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
2009-08-04 00:06:47 +00:00
Florian Fainelli 52b6f8f74a prevent rebuild issues on creation of lib64 with 64-bits targets
SVN-Revision: 17072
2009-08-01 10:51:19 +00:00
Andy Boyett 0194fea285 base-files: explicitly create /etc/rc.d/, fixes ImageBuilder when using git instead of svn
SVN-Revision: 16652
2009-07-02 07:24:44 +00:00
Imre Kaloz 2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
2009-06-21 18:34:07 +00:00
Jo-Philipp Wich c6fe201fb6 sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails
SVN-Revision: 16488
2009-06-17 11:09:10 +00:00
Gabor Juhos 9b5e65f101 base-files: set rules file for hotplug2 in the boot script (closes #5235)
SVN-Revision: 16215
2009-05-30 17:09:41 +00:00
Gabor Juhos 463a6f4bda base-files: update command line for the new hotplug2
SVN-Revision: 16154
2009-05-28 18:48:54 +00:00
Felix Fietkau 17ae4a4df0 fix mips64el base-files compile
SVN-Revision: 16018
2009-05-23 21:16:04 +00:00
Jo-Philipp Wich af8500e97d sysupgrade: use sysrq-trigger if available
SVN-Revision: 15865
2009-05-15 12:10:26 +00:00
Florian Fainelli 3dea7e450f create the lib64 symbolic links for 64-bits supported architectures (#5075)
SVN-Revision: 15698
2009-05-07 20:21:21 +00:00
Hamish Guthrie 42e35d0a95 base-files: Add additional base-files search paths
SVN-Revision: 15583
2009-05-04 12:39:21 +00:00
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
2009-04-27 15:53:00 +00:00
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
2009-04-24 02:07:24 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Nicolas Thill a245766507 move ldconfig & ldd to utils section
SVN-Revision: 15228
2009-04-14 16:28:18 +00:00
Jo-Philipp Wich a03e00bbcf base-files: remove redundant netmask handling in 10-routes
SVN-Revision: 15219
2009-04-12 16:39:29 +00:00
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
2009-03-25 19:13:15 +00:00
Felix Fietkau 566bdc37ad add uclibc 0.9.30.1
SVN-Revision: 15000
2009-03-23 21:04:30 +00:00
Jo-Philipp Wich 8a6acee2e2 sysupgrade: install /bin/sleep into ramdisk too and add completition notice (#4747)
SVN-Revision: 14784
2009-03-08 00:21:25 +00:00
Jo-Philipp Wich 2d672ef2f5 base-files: allow option dns to override dhcp assigned dns servers
SVN-Revision: 14562
2009-02-19 05:27:36 +00:00
Felix Fietkau ff89285b25 fix handling of eglibc config options for packaging
SVN-Revision: 14210
2009-01-26 19:46:12 +00:00
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
2009-01-13 03:21:25 +00:00
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
2009-01-08 01:49:11 +00:00
Jo-Philipp Wich 341c1dbdf5 package/base-files: fix chmod of /tmp/.uci, bump package revision
SVN-Revision: 13903
2009-01-06 21:53:45 +00:00
Nicolas Thill f456099ca5 clean NATIVE_TOOLCHAIN dependencies
SVN-Revision: 13314
2008-11-22 05:10:43 +00:00
Peter Denison 5ff6932c66 Allow dropbear to use shadow passwords, and correct base-files generation of /etc/shadow
SVN-Revision: 12809
2008-09-30 00:56:55 +00:00
Travis Kemen 99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
2008-08-16 06:35:14 +00:00
John Crispin 79aebec9e0 creates a passwd's shadow file if busybox supports the feature, fixes #2887
SVN-Revision: 12017
2008-07-30 17:09:01 +00:00
Florian Fainelli cc99e5b35d Disable smash stacking support by default, but allow to enable it as an experimental feature
SVN-Revision: 12010
2008-07-30 12:54:28 +00:00
Nicolas Thill a5df818e0d fix libraries packaging for uml on x86_64
SVN-Revision: 11970
2008-07-28 14:19:02 +00:00
John Crispin 0bf765b362 system now knows which timezone it is in
SVN-Revision: 11445
2008-06-11 19:59:16 +00:00
Matteo Croce ac8bf03f8e create /etc/fstab on boot (closes #3458)
SVN-Revision: 11225
2008-05-20 19:02:19 +00:00
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
2008-05-17 00:13:05 +00:00
Felix Fietkau ac2f4c97e7 fix typo
SVN-Revision: 9871
2007-12-23 02:13:57 +00:00
Felix Fietkau c2e873499a add profile specific base-files packages - does not work with the imagebuilder yet, but will be fixed later
SVN-Revision: 9870
2007-12-23 02:08:34 +00:00
Gabor Juhos 279f3719bf base-files: fix revision number in 'etc/banner'
SVN-Revision: 9755
2007-12-14 20:07:32 +00:00
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
2007-12-13 06:25:54 +00:00
Felix Fietkau 1fdd026406 fix path to the snapshot packages (snapshot build/upload needs to be fixed as well)
SVN-Revision: 9083
2007-09-30 21:29:55 +00:00
Gabor Juhos 438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
2007-09-29 14:27:54 +00:00
Rod Whitby ac8f66b987 base-files: Added support for swap configuration in /etc/config/fstab
SVN-Revision: 8947
2007-09-22 13:47:20 +00:00
Rod Whitby cd95009fc6 Added support for /etc/default/fstab - a means of automatically mounting devices on boot.
SVN-Revision: 8916
2007-09-21 13:20:50 +00:00
John Crispin f3b9e06a14 made HOME=/root global instead of x86 specific
SVN-Revision: 8845
2007-09-19 19:58:07 +00:00
Florian Fainelli 9dfd1faee3 Revert the InstallDev section, was only there testing
SVN-Revision: 8787
2007-09-16 10:24:10 +00:00
Florian Fainelli 776bc05179 Put back ldd and ldconfig (#1543)
SVN-Revision: 8786
2007-09-16 10:21:53 +00:00
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
2007-09-08 19:55:42 +00:00
Felix Fietkau 4db9556f99 bump package versions after updates
SVN-Revision: 8680
2007-09-07 20:41:57 +00:00
Nicolas Thill 34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
2007-09-07 08:34:51 +00:00
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
2007-09-06 16:27:37 +00:00
Nicolas Thill be0de75a3e package Makefile cleanup: remove uneeded vars
SVN-Revision: 8587
2007-09-03 08:20:36 +00:00
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Florian Fainelli 650ee7c337 libgcc is not available with host-toolchain, DEPENDS was overriden with the avr32 condition
SVN-Revision: 8038
2007-07-18 13:50:25 +00:00
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
2007-07-09 07:09:44 +00:00
Florian Fainelli 096917d10f Package libstdc++ (#1883)
SVN-Revision: 7581
2007-06-12 11:06:39 +00:00
Imre Kaloz 08c7265613 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
2007-06-08 10:44:01 +00:00
Felix Fietkau d96d98a88d Small bugfix for dependency handling - mostly for base-files and symlinks
SVN-Revision: 7058
2007-04-26 18:04:16 +00:00
Felix Fietkau 383a21f3c5 use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
SVN-Revision: 7043
2007-04-24 12:05:52 +00:00
Florian Fainelli 7b89c1622c Create /lib/firmware
SVN-Revision: 7033
2007-04-22 15:00:19 +00:00
Florian Fainelli ed654ae6bd Remove ldd/ldconfig for the moment (#1551)
SVN-Revision: 6866
2007-04-04 20:24:06 +00:00
Florian Fainelli da8174507a Add ldd and ldconfig support, template packages derived from gcc and uclibc
SVN-Revision: 6856
2007-04-03 22:50:27 +00:00
Felix Fietkau e68e6f4be9 fix default netmask
SVN-Revision: 6589
2007-03-17 03:15:41 +00:00
Felix Fietkau f38df5a0af package libssp for apps that need it (only enabled for gcc4)
SVN-Revision: 6584
2007-03-16 20:37:04 +00:00
Felix Fietkau c96e173c28 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481
2007-03-03 22:32:13 +00:00
Tim Yardley 484609eeb0 commit profile support for base-files... patches still need to be done
SVN-Revision: 6465
2007-03-02 18:17:40 +00:00
Felix Fietkau 68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6
SVN-Revision: 6450
2007-03-02 01:23:36 +00:00
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
2007-01-12 11:09:05 +00:00
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
2007-01-08 21:33:53 +00:00
Felix Fietkau c2211dc51e replace lots of manual install commands with INSTALL_* variables
SVN-Revision: 5624
2006-11-23 00:29:07 +00:00
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00
Felix Fietkau 37362df7ea move platform specific base-files into target/linux/<targetname>
SVN-Revision: 5621
2006-11-22 23:27:29 +00:00
Felix Fietkau 105a602ecf implement target profiles in menuconfig
SVN-Revision: 5512
2006-11-12 05:06:56 +00:00
Felix Fietkau 137d2b4d43 fix jffs2root compile
SVN-Revision: 5500
2006-11-12 01:35:03 +00:00
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
2006-11-03 22:03:50 +00:00
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00