1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 11:20:39 +02:00
Commit Graph

265 Commits

Author SHA1 Message Date
jow
69b947b01b [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 14:03:32 +00:00
jow
feaf88f721 [package] base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-07 22:20:26 +00:00
jow
24b8a250a0 [package] base-files: make build dependant on opkg/host
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 02:13:19 +00:00
nbd
dc74adf445 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
jow
e3198ce2ac [package] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 00:45:15 +00:00
jow
b8e09b9b3c [package] base-files: unconditionally unlock the rootfs_data partition (#7437)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 15:47:15 +00:00
jow
0218c10c87 [package] base-files: add "mtu" option for route sections, allows setting per-route mtu values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 23:46:34 +00:00
jow
4ff430ad8a [package] base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 16:59:12 +00:00
jow
85773b84be [package] base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 21:43:52 +00:00
jow
9c250a1ea9 [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 18:23:43 +00:00
jow
2f1ada2c70 [package] base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:35:54 +00:00
jow
526fb3c824 [package] base-files: respect .auto option when running coldplug_interface_*() hooks on boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 23:04:56 +00:00
jow
5d18a177d8 [package] base-files (#7316)
- improve rdate reliability
	- make rdate config more ntp like
	- move time server list to /etc/config/timeserver
	- bump package revision            


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:54:35 +00:00
nico
d0ba466fb6 package/base-files: fix libraries packaging on 64bits targets (closes: #6918)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 13:29:04 +00:00
nico
b4f7ed76fd package/base-files: fix typo in r20874 (thanks to rhk for spotting it)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 08:22:39 +00:00
nico
bcd27e686e package/base-files: use a single $(CP) instead of two to copy shared library files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 06:01:45 +00:00
jow
c07af08426 [package] base-files: also regenerate wifi config if existing config contains only whitespace
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 13:31:59 +00:00
jow
1ac5ad687b [package] base-files: add a hotplug handler for rdate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:13:33 +00:00
florian
9e7554db87 change from /jffs to /overlay, patch from Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:50 +00:00
juhosg
86a0b33fa1 package/base-files: call preinit_ip_deconfig before processing init on
initramfs images


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 14:37:19 +00:00
jow
ef34750d84 [package] base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 02:06:57 +00:00
jow
767efecb56 [package] base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-05 07:57:07 +00:00
juhosg
0d86c01993 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 14:41:26 +00:00
nbd
a9929695c6 add preinit modularization work by Daniel Dickinson (cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 17:11:17 +00:00
jow
5b24113601 [package] base-files: disable bridge firewalling by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 05:38:44 +00:00
jow
89a382a252 [package] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 13:39:13 +00:00
nico
c07f9537ab [package] 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 10:32:38 +00:00
jow
7e63500a28 [package] base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-20 23:02:35 +00:00
kaloz
62cade03b8 neither avr32 or coldfire has a shared libgcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 12:20:38 +00:00
nbd
b3c44ec1cc do not relink libresolv, it makes iproute2 barf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 22:22:59 +00:00
jow
11adc3d3d9 [package] base-files: only try to execute watchdog if binary is present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 17:07:08 +00:00
nbd
96ff9f58c6 fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 07:26:34 +00:00
nbd
12efcae535 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 06:57:19 +00:00
jow
1106afd9fe [package] base-files: add hotplug rules for /dev/lpX (#863)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-28 20:05:50 +00:00
nbd
bd6f974a3f base-files: add libgcc dependency to libc (#5262)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-24 22:02:39 +00:00
nico
6a36104faa [toolchain] add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-23 02:27:38 +00:00
nbd
ac7068d7d7 base-files: fix conffiles entry check (patch from #2425)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-19 23:04:34 +00:00
jow
9fbe9e1ad0 [package] base-files: clear ip addresses on interfaces that are about to be added to a bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 14:21:19 +00:00
jow
b8df1b4c80 [package] base-files: dispatch ifdown events for proto=none interfaces and fix a race condition between revert state and hotplug handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-14 16:14:27 +00:00
jow
f4a0466de8 [package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-11 21:35:03 +00:00
agb
fcf2c28149 [package] bump some revisions and update copyrights
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 10:07:04 +00:00
juhosg
e325b77df1 package/base-files: set state to 'preinit' before preinit.arch is used, and set state to 'failsafe' when entering failsafe mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05 18:44:48 +00:00
nbd
237a5a2c34 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-29 11:56:27 +00:00
nbd
dc91a5dcef allow mklibs.py to optimize libgcc_s.so.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-29 03:51:43 +00:00
nbd
3784adc486 now that each target has its own package directory, remove the base-files package renaming hack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 15:31:22 +00:00
jow
11a916c4df [package] 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-10 23:48:10 +00:00
nbd
5d58e1d922 install static libraries from uclibc to the rootfs staging dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:45 +00:00
jow
ef1435675c [package] base-files: ensure that ipv6 is loaded if interfaces have an ip6addr defined, clean trailing whitespace, bump pkg revision (#5356)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-04 00:06:47 +00:00
florian
c69d98c0cc [package] prevent rebuild issues on creation of lib64 with 64-bits targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 10:51:19 +00:00
agb
32976620d3 [package] base-files: explicitly create /etc/rc.d/, fixes ImageBuilder when using git instead of svn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 07:24:44 +00:00
kaloz
dccbe704f2 add preliminary coldfire v4e support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21 18:34:07 +00:00
jow
032f0de1f9 [package] sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-17 11:09:10 +00:00
juhosg
4e613cd1e8 [package] base-files: set rules file for hotplug2 in the boot script (closes #5235)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-30 17:09:41 +00:00
juhosg
13a73da7c8 [package] base-files: update command line for the new hotplug2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 18:48:54 +00:00
nbd
e7a59d0518 fix mips64el base-files compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-23 21:16:04 +00:00
jow
e5b98fff8d [package] sysupgrade: use sysrq-trigger if available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-15 12:10:26 +00:00
florian
9b45f88413 [package] create the lib64 symbolic links for 64-bits supported architectures (#5075)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 20:21:21 +00:00
hcg
15f5d5dcaa base-files: Add additional base-files search paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 12:39:21 +00:00
nico
db6a8626c2 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:53:00 +00:00
nico
d0c10785e7 [toolchain] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 02:07:24 +00:00
nbd
796a9d1091 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
nico
ad0ca46aad move ldconfig & ldd to utils section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-14 16:28:18 +00:00
jow
dda4e674ce [package] base-files: remove redundant netmask handling in 10-routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-12 16:39:29 +00:00
jow
bc175c58b0 [package]
- fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this
	- fix possible regression with different interface protocols
	- bump PKG_RELEASE


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 19:13:15 +00:00
nbd
2e28f5f0ab add uclibc 0.9.30.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:04:30 +00:00
jow
3099fb8fb3 [package] sysupgrade: install /bin/sleep into ramdisk too and add completition notice (#4747)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 00:21:25 +00:00
jow
cc9443e4a7 [package] base-files: allow option dns to override dhcp assigned dns servers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 05:27:36 +00:00
nbd
7132841ab1 fix handling of eglibc config options for packaging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:46:12 +00:00
nbd
928d915afc add support for an optional staging directory for debug binaries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:25 +00:00
nico
c3c59f4189 [massive] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
jow
15f9be1011 package/base-files: fix chmod of /tmp/.uci, bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06 21:53:45 +00:00
nico
50a164a2e0 clean NATIVE_TOOLCHAIN dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22 05:10:43 +00:00
noz
85aaffee65 Allow dropbear to use shadow passwords, and correct base-files generation of
/etc/shadow

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-30 00:56:55 +00:00
thepeople
d5dc9a9087 make opkg the default package manager, disable busybox ipkg from building by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 06:35:14 +00:00
blogic
3e7128271b creates a passwd's shadow file if busybox supports the feature, fixes #2887
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 17:09:01 +00:00
florian
2c8df11418 Disable smash stacking support by default, but allow to enable it as an experimental feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
nico
088ae0f64d fix libraries packaging for uml on x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-28 14:19:02 +00:00
blogic
2964b01abc system now knows which timezone it is in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 19:59:16 +00:00
matteo
722c752a01 create /etc/fstab on boot (closes #3458)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-20 19:02:19 +00:00
rwhitby
9dfc3e092d base-files: Update /etc/init.d/fstab with new location of swapon and swapoff (they moved from /sbin to /usr/sbin)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-17 00:13:05 +00:00
nbd
9af5c8e8cf fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 02:13:57 +00:00
nbd
213a25b6eb add profile specific base-files packages - does not work with the imagebuilder yet, but will be fixed later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 02:08:34 +00:00
juhosg
8a1d2d9ac0 [package] base-files: fix revision number in 'etc/banner'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-14 20:07:32 +00:00
nbd
f2ea91f2c1 clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 06:25:54 +00:00
nbd
b7bfd6b6ea fix path to the snapshot packages (snapshot build/upload needs to be fixed as well)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-30 21:29:55 +00:00
juhosg
7aa11efc17 get rid of per-profile base-files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 14:27:54 +00:00
rwhitby
23bfa7ede3 base-files: Added support for swap configuration in /etc/config/fstab
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22 13:47:20 +00:00
rwhitby
5753958314 Added support for /etc/default/fstab - a means of automatically mounting devices on boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 13:20:50 +00:00
blogic
f3aa8f5895 made HOME=/root global instead of x86 specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 19:58:07 +00:00
florian
e7c233e67e Revert the InstallDev section, was only there testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 10:24:10 +00:00
florian
418adb8b4e Put back ldd and ldconfig (#1543)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 10:21:53 +00:00
nbd
6db7ad74f6 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nbd
235b19acea bump package versions after updates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 20:41:57 +00:00
nico
c4b73fa154 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
nbd
17c7b6c3fd 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
nico
76c7aa6ffa package Makefile cleanup: remove uneeded vars
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 08:20:36 +00:00
nbd
12c49b6a6a build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
florian
ab9b22a07a libgcc is not available with host-toolchain, DEPENDS was overriden with the avr32 condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 13:50:25 +00:00
nbd
059ccded98 add second package source for packages built from the /packages repository
fix up first package source (should be release, not snapshots on 7.07)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 07:09:44 +00:00
florian
534abbee1d Package libstdc++ (#1883)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 11:06:39 +00:00
kaloz
ac52e3bd03 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
nbd
561a7c4c00 Small bugfix for dependency handling - mostly for base-files and symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 18:04:16 +00:00
nbd
2d4bdf6086 use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 12:05:52 +00:00
florian
bdece74f4d Create /lib/firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-22 15:00:19 +00:00
florian
11543233b2 Remove ldd/ldconfig for the moment (#1551)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 20:24:06 +00:00
florian
3195575d36 Add ldd and ldconfig support, template packages derived from gcc and uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 22:50:27 +00:00
nbd
54da7c4cde fix default netmask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 03:15:41 +00:00
nbd
2c1882e0bb package libssp for apps that need it (only enabled for gcc4)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:37:04 +00:00
nbd
1ce8862ab4 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:32:13 +00:00
pavlov
f5ab57b335 commit profile support for base-files... patches still need to be done
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 18:17:40 +00:00
nbd
1ebe6d3488 make squashfs overlay support more generic and integrate it for x86-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
nbd
f8c8554553 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-12 11:09:05 +00:00
nbd
5ad62fbdd3 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 21:33:53 +00:00
nbd
a4a6443af1 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
nbd
05adaa9794 rename default/ to files/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:30:57 +00:00
nbd
356535ffd7 move platform specific base-files into target/linux/<targetname>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:27:29 +00:00
nbd
5be70dfb57 implement target profiles in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
nbd
d923cf1e3f fix jffs2root compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:35:03 +00:00
nbd
8167175013 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-03 22:03:50 +00:00
nbd
3cf72ac0ab move arch specific base-files install call to the end of the generic one - fixes wrong /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:03:26 +00:00
nico
8afb23270d new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +00:00
nbd
6c87a8b877 remove default network config for brcm
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-04 23:51:30 +00:00
mbm
20f30a6346 add secret option to use host's toolchain when native compiling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-10 19:25:26 +00:00
nbd
432ce85854 add support for per-package prereq checks, run global prereq checks before (menu-)config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-29 11:30:06 +00:00
nbd
37ba07b32c use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-25 18:12:30 +00:00
mbm
bbeb64c6e9 cleanup of [4123]
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-10 23:21:56 +00:00
mbm
e9437d222f add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt each time make is run
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-10 21:17:45 +00:00
nico
48e7e69b2a move libpthread in since it's part of uclibc, standardize Makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-02 13:36:54 +00:00
mbm
02cdebbb91 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
mbm
9dfcb239f2 .pkginfo cleanup #2
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 00:49:42 +00:00
nbd
0b0afa4d81 add INCLUDE_DIR variable for $(TOPDIR)/include
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
nbd
859e8f7f7d build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00
nico
4e00d98efd normalize Makefiles.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:30:40 +00:00
nbd
7f7c42abe9 add conffiles for base-files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 13:38:23 +00:00
nbd
72f68d6763 remove libgcc hack
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-13 23:33:21 +00:00
nbd
716ea88394 fix a typo that prevents base-files from being installed
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-02 16:03:03 +00:00
nbd
50a26cd5e2 fix base-files version number
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-01 23:20:10 +00:00
nbd
9e0015224d kernel package cleanup, move madwifi from target/linux/package/ to package/, update to 0.9.0
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 14:32:17 +00:00
nbd
83ce4604cc cleanup; change base-files build directory
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 13:27:11 +00:00
nbd
f21c448c6d allow building of kernel-specific stuff in package/ instead of target/linux/package/ and merge target/linux/package/base-files into package/base-files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 12:33:06 +00:00
nico
3c17bb247f fix base-files packages build.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 06:49:51 +00:00
nbd
34d342e6d4 convert base-files to new format
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 20:22:58 +00:00
mbm
f47790856c more BR2_ / CONFIG_ patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-15 23:13:49 +00:00
nbd
676c017ecf large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-05 02:09:22 +00:00
mbm
577eddc90d link /proc/mounts to /etc/mtab (fixes mkfs.ext3 issues)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-31 18:25:00 +00:00
mbm
82daa5e9c0 change cp to $(CP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-01 23:53:19 +00:00
mbm
46225926c8 move sysfs to mount_root
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-01 10:47:17 +00:00
wbx
972fedb946 build libgcc when selected as builtin, fix from Ge0rG via irc.freenode.net, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-20 14:11:31 +00:00
wbx
93a1cc78a5 patch for spec file of gcc 3.4.4, so that libgss library is not
automatically linked into every binary. explicitely link it into needed
packages (kismet, nmap, samba) and add dependencies. 
idea and patch from sven-ola, thx. Saves 16 kb in the default squashfs
images.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-04 08:37:19 +00:00
wbx
6535064031 change ipkg.conf to use snapshots
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-12-25 00:56:25 +00:00