aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-09-29 14:27:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-09-29 14:27:54 +0000
commit9233c3cdb934c97f06168a0ad51379806fef5ae0 (patch)
tree68991157c40028c3c75e338767cc54f5effa8190
parentc4d5ba64e414d98d01c15e0cf0c88072907702cf (diff)
downloadmaster-187ad058-9233c3cdb934c97f06168a0ad51379806fef5ae0.tar.gz
master-187ad058-9233c3cdb934c97f06168a0ad51379806fef5ae0.tar.bz2
master-187ad058-9233c3cdb934c97f06168a0ad51379806fef5ae0.zip
get rid of per-profile base-files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/base-files/Makefile17
-rwxr-xr-xtarget/linux/adm5120/base-files/etc/diag.sh (renamed from target/linux/adm5120/base-files/default/etc/diag.sh)0
-rwxr-xr-xtarget/linux/adm5120/base-files/lib/adm5120.sh (renamed from target/linux/adm5120/base-files/default/lib/adm5120.sh)0
-rwxr-xr-xtarget/linux/adm5120/router_le/base-files/sbin/wget2nand (renamed from target/linux/adm5120/router_le/base-files/default/sbin/wget2nand)0
-rw-r--r--target/linux/amazon/base-files/etc/config/network (renamed from target/linux/amazon/base-files/default/etc/config/network)0
-rw-r--r--target/linux/amcc/base-files/etc/inittab (renamed from target/linux/amcc/base-files/default/etc/inittab)0
-rw-r--r--target/linux/ar7/base-files/etc/config/network (renamed from target/linux/ar7/base-files/default/etc/config/network)0
-rw-r--r--target/linux/ar7/base-files/etc/diag.sh (renamed from target/linux/ar7/base-files/default/etc/diag.sh)0
-rwxr-xr-xtarget/linux/ar7/base-files/etc/init.d/adam2 (renamed from target/linux/ar7/base-files/default/etc/init.d/adam2)0
-rw-r--r--target/linux/at91/base-files/etc/inittab (renamed from target/linux/at91/base-files/default/etc/inittab)0
-rw-r--r--target/linux/at91/base-files/etc/ipkg.conf (renamed from target/linux/at91/base-files/default/etc/ipkg.conf)0
-rwxr-xr-xtarget/linux/atheros/base-files/etc/preinit.arch (renamed from target/linux/atheros/base-files/default/etc/preinit.arch)0
-rw-r--r--target/linux/au1000/base-files/etc/diag.sh (renamed from target/linux/au1000/base-files/default/etc/diag.sh)0
-rw-r--r--target/linux/brcm-2.4/base-files/etc/diag.sh (renamed from target/linux/brcm-2.4/base-files/default/etc/diag.sh)0
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig (renamed from target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig)0
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/preinit.arch (renamed from target/linux/brcm-2.4/base-files/default/etc/preinit.arch)0
-rw-r--r--target/linux/brcm-2.4/base-files/lib/upgrade/platform.sh (renamed from target/linux/brcm-2.4/base-files/default/lib/upgrade/platform.sh)0
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/sbin/hotplug.failsafe (renamed from target/linux/brcm-2.4/base-files/default/sbin/hotplug.failsafe)0
-rw-r--r--target/linux/etrax/base-files/etc/config/network (renamed from target/linux/etrax/base-files/default/etc/config/network)0
-rw-r--r--target/linux/etrax/base-files/etc/ipkg.conf (renamed from target/linux/etrax/base-files/default/etc/ipkg.conf)0
-rw-r--r--target/linux/etrax/base-files/etc/passwd (renamed from target/linux/etrax/base-files/default/etc/passwd)0
-rw-r--r--target/linux/iop32x/base-files/etc/config/network (renamed from target/linux/iop32x/base-files/default/etc/config/network)0
-rw-r--r--target/linux/ixp4xx/base-files/etc/config/network (renamed from target/linux/ixp4xx/base-files/default/etc/config/network)0
-rw-r--r--target/linux/rb532/base-files/etc/config/network (renamed from target/linux/rb532/base-files/default/etc/config/network)0
-rw-r--r--target/linux/rb532/base-files/etc/diag.sh (renamed from target/linux/rb532/base-files/default/etc/diag.sh)0
-rwxr-xr-xtarget/linux/rb532/base-files/sbin/cf2nand (renamed from target/linux/rb532/base-files/default/sbin/cf2nand)0
-rwxr-xr-xtarget/linux/rb532/base-files/sbin/wget2nand (renamed from target/linux/rb532/base-files/default/sbin/wget2nand)0
-rw-r--r--target/linux/rdc/base-files/etc/diag.sh (renamed from target/linux/rdc/base-files/default/etc/diag.sh)0
-rw-r--r--target/linux/rdc/base-files/etc/inittab (renamed from target/linux/rdc/base-files/default/etc/inittab)0
-rw-r--r--target/linux/sibyte/base-files/etc/config/network (renamed from target/linux/sibyte/base-files/default/etc/config/network)0
-rw-r--r--target/linux/sibyte/base-files/etc/inittab (renamed from target/linux/sibyte/base-files/default/etc/inittab)0
-rw-r--r--target/linux/x86/base-files/etc/preinit.arch (renamed from target/linux/x86/base-files/default/etc/preinit.arch)0
-rw-r--r--target/linux/x86/base-files/lib/upgrade/platform.sh (renamed from target/linux/x86/base-files/default/lib/upgrade/platform.sh)0
33 files changed, 6 insertions, 11 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index d81ec4f1c4..f5bf1adce7 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -1,5 +1,5 @@
-#
-# Copyright (C) 2006 OpenWrt.org
+#
+# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -130,19 +130,14 @@ define Package/base-files$(TARGET)/install
if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \
$(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \
fi
- if [ -d $(PLATFORM_DIR)/base-files/default/. ]; then \
- $(CP) $(PLATFORM_DIR)/base-files/default/* $(1)/; \
+ if [ -d $(PLATFORM_DIR)/base-files/. ]; then \
+ $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \
fi
$(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \
- if [ -d $(PLATFORM_SUBDIR)/base-files/default/. ]; then \
- $(CP) $(PLATFORM_SUBDIR)/base-files/default/* $(1)/; \
+ if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \
+ $(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \
fi \
)
- if [ "$(PROFILE)" != "Default" ]; then \
- if [ -d $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/. ]; then \
- $(CP) $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/* $(1)/; \
- fi; \
- fi
$(SED) 's,$$$$R,r$(REV),g' $(1)/etc/banner
$(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf
mkdir -p $(1)/dev
diff --git a/target/linux/adm5120/base-files/default/etc/diag.sh b/target/linux/adm5120/base-files/etc/diag.sh
index 3d5d9d84aa..3d5d9d84aa 100755
--- a/target/linux/adm5120/base-files/default/etc/diag.sh
+++ b/target/linux/adm5120/base-files/etc/diag.sh
diff --git a/target/linux/adm5120/base-files/default/lib/adm5120.sh b/target/linux/adm5120/base-files/lib/adm5120.sh
index d599a09b15..d599a09b15 100755
--- a/target/linux/adm5120/base-files/default/lib/adm5120.sh
+++ b/target/linux/adm5120/base-files/lib/adm5120.sh
diff --git a/target/linux/adm5120/router_le/base-files/default/sbin/wget2nand b/target/linux/adm5120/router_le/base-files/sbin/wget2nand
index adb56b946f..adb56b946f 100755
--- a/target/linux/adm5120/router_le/base-files/default/sbin/wget2nand
+++ b/target/linux/adm5120/router_le/base-files/sbin/wget2nand
diff --git a/target/linux/amazon/base-files/default/etc/config/network b/target/linux/amazon/base-files/etc/config/network
index 72e39f88a4..72e39f88a4 100644
--- a/target/linux/amazon/base-files/default/etc/config/network
+++ b/target/linux/amazon/base-files/etc/config/network
diff --git a/target/linux/amcc/base-files/default/etc/inittab b/target/linux/amcc/base-files/etc/inittab
index 859dc530ce..859dc530ce 100644
--- a/target/linux/amcc/base-files/default/etc/inittab
+++ b/target/linux/amcc/base-files/etc/inittab
diff --git a/target/linux/ar7/base-files/default/etc/config/network b/target/linux/ar7/base-files/etc/config/network
index 5fa112cc6e..5fa112cc6e 100644
--- a/target/linux/ar7/base-files/default/etc/config/network
+++ b/target/linux/ar7/base-files/etc/config/network
diff --git a/target/linux/ar7/base-files/default/etc/diag.sh b/target/linux/ar7/base-files/etc/diag.sh
index 22acc71abf..22acc71abf 100644
--- a/target/linux/ar7/base-files/default/etc/diag.sh
+++ b/target/linux/ar7/base-files/etc/diag.sh
diff --git a/target/linux/ar7/base-files/default/etc/init.d/adam2 b/target/linux/ar7/base-files/etc/init.d/adam2
index 6b786270ea..6b786270ea 100755
--- a/target/linux/ar7/base-files/default/etc/init.d/adam2
+++ b/target/linux/ar7/base-files/etc/init.d/adam2
diff --git a/target/linux/at91/base-files/default/etc/inittab b/target/linux/at91/base-files/etc/inittab
index a627ce5ffa..a627ce5ffa 100644
--- a/target/linux/at91/base-files/default/etc/inittab
+++ b/target/linux/at91/base-files/etc/inittab
diff --git a/target/linux/at91/base-files/default/etc/ipkg.conf b/target/linux/at91/base-files/etc/ipkg.conf
index 10c4f67c66..10c4f67c66 100644
--- a/target/linux/at91/base-files/default/etc/ipkg.conf
+++ b/target/linux/at91/base-files/etc/ipkg.conf
diff --git a/target/linux/atheros/base-files/default/etc/preinit.arch b/target/linux/atheros/base-files/etc/preinit.arch
index 7e911ab2ad..7e911ab2ad 100755
--- a/target/linux/atheros/base-files/default/etc/preinit.arch
+++ b/target/linux/atheros/base-files/etc/preinit.arch
diff --git a/target/linux/au1000/base-files/default/etc/diag.sh b/target/linux/au1000/base-files/etc/diag.sh
index d97461532a..d97461532a 100644
--- a/target/linux/au1000/base-files/default/etc/diag.sh
+++ b/target/linux/au1000/base-files/etc/diag.sh
diff --git a/target/linux/brcm-2.4/base-files/default/etc/diag.sh b/target/linux/brcm-2.4/base-files/etc/diag.sh
index 3b08554c64..3b08554c64 100644
--- a/target/linux/brcm-2.4/base-files/default/etc/diag.sh
+++ b/target/linux/brcm-2.4/base-files/etc/diag.sh
diff --git a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
index 643ba35d31..643ba35d31 100755
--- a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
diff --git a/target/linux/brcm-2.4/base-files/default/etc/preinit.arch b/target/linux/brcm-2.4/base-files/etc/preinit.arch
index 43df591ab7..43df591ab7 100755
--- a/target/linux/brcm-2.4/base-files/default/etc/preinit.arch
+++ b/target/linux/brcm-2.4/base-files/etc/preinit.arch
diff --git a/target/linux/brcm-2.4/base-files/default/lib/upgrade/platform.sh b/target/linux/brcm-2.4/base-files/lib/upgrade/platform.sh
index ac53b9d591..ac53b9d591 100644
--- a/target/linux/brcm-2.4/base-files/default/lib/upgrade/platform.sh
+++ b/target/linux/brcm-2.4/base-files/lib/upgrade/platform.sh
diff --git a/target/linux/brcm-2.4/base-files/default/sbin/hotplug.failsafe b/target/linux/brcm-2.4/base-files/sbin/hotplug.failsafe
index 0544339de8..0544339de8 100755
--- a/target/linux/brcm-2.4/base-files/default/sbin/hotplug.failsafe
+++ b/target/linux/brcm-2.4/base-files/sbin/hotplug.failsafe
diff --git a/target/linux/etrax/base-files/default/etc/config/network b/target/linux/etrax/base-files/etc/config/network
index b3632fd068..b3632fd068 100644
--- a/target/linux/etrax/base-files/default/etc/config/network
+++ b/target/linux/etrax/base-files/etc/config/network
diff --git a/target/linux/etrax/base-files/default/etc/ipkg.conf b/target/linux/etrax/base-files/etc/ipkg.conf
index a5ffc79bc7..a5ffc79bc7 100644
--- a/target/linux/etrax/base-files/default/etc/ipkg.conf
+++ b/target/linux/etrax/base-files/etc/ipkg.conf
diff --git a/target/linux/etrax/base-files/default/etc/passwd b/target/linux/etrax/base-files/etc/passwd
index c5c9e46cc0..c5c9e46cc0 100644
--- a/target/linux/etrax/base-files/default/etc/passwd
+++ b/target/linux/etrax/base-files/etc/passwd
diff --git a/target/linux/iop32x/base-files/default/etc/config/network b/target/linux/iop32x/base-files/etc/config/network
index 1d9b55b2d3..1d9b55b2d3 100644
--- a/target/linux/iop32x/base-files/default/etc/config/network
+++ b/target/linux/iop32x/base-files/etc/config/network
diff --git a/target/linux/ixp4xx/base-files/default/etc/config/network b/target/linux/ixp4xx/base-files/etc/config/network
index 1d5ded3728..1d5ded3728 100644
--- a/target/linux/ixp4xx/base-files/default/etc/config/network
+++ b/target/linux/ixp4xx/base-files/etc/config/network
diff --git a/target/linux/rb532/base-files/default/etc/config/network b/target/linux/rb532/base-files/etc/config/network
index 8279690574..8279690574 100644
--- a/target/linux/rb532/base-files/default/etc/config/network
+++ b/target/linux/rb532/base-files/etc/config/network
diff --git a/target/linux/rb532/base-files/default/etc/diag.sh b/target/linux/rb532/base-files/etc/diag.sh
index d8f9a88257..d8f9a88257 100644
--- a/target/linux/rb532/base-files/default/etc/diag.sh
+++ b/target/linux/rb532/base-files/etc/diag.sh
diff --git a/target/linux/rb532/base-files/default/sbin/cf2nand b/target/linux/rb532/base-files/sbin/cf2nand
index fb3717499b..fb3717499b 100755
--- a/target/linux/rb532/base-files/default/sbin/cf2nand
+++ b/target/linux/rb532/base-files/sbin/cf2nand
diff --git a/target/linux/rb532/base-files/default/sbin/wget2nand b/target/linux/rb532/base-files/sbin/wget2nand
index 67e4a94a81..67e4a94a81 100755
--- a/target/linux/rb532/base-files/default/sbin/wget2nand
+++ b/target/linux/rb532/base-files/sbin/wget2nand
diff --git a/target/linux/rdc/base-files/default/etc/diag.sh b/target/linux/rdc/base-files/etc/diag.sh
index 8d5c38262c..8d5c38262c 100644
--- a/target/linux/rdc/base-files/default/etc/diag.sh
+++ b/target/linux/rdc/base-files/etc/diag.sh
diff --git a/target/linux/rdc/base-files/default/etc/inittab b/target/linux/rdc/base-files/etc/inittab
index 02b920c8d0..02b920c8d0 100644
--- a/target/linux/rdc/base-files/default/etc/inittab
+++ b/target/linux/rdc/base-files/etc/inittab
diff --git a/target/linux/sibyte/base-files/default/etc/config/network b/target/linux/sibyte/base-files/etc/config/network
index 9b65652f06..9b65652f06 100644
--- a/target/linux/sibyte/base-files/default/etc/config/network
+++ b/target/linux/sibyte/base-files/etc/config/network
diff --git a/target/linux/sibyte/base-files/default/etc/inittab b/target/linux/sibyte/base-files/etc/inittab
index a6f4e17f01..a6f4e17f01 100644
--- a/target/linux/sibyte/base-files/default/etc/inittab
+++ b/target/linux/sibyte/base-files/etc/inittab
diff --git a/target/linux/x86/base-files/default/etc/preinit.arch b/target/linux/x86/base-files/etc/preinit.arch
index f29f0d448b..f29f0d448b 100644
--- a/target/linux/x86/base-files/default/etc/preinit.arch
+++ b/target/linux/x86/base-files/etc/preinit.arch
diff --git a/target/linux/x86/base-files/default/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh
index ffd0b93ab4..ffd0b93ab4 100644
--- a/target/linux/x86/base-files/default/lib/upgrade/platform.sh
+++ b/target/linux/x86/base-files/lib/upgrade/platform.sh