summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-08-16 06:35:14 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-08-16 06:35:14 +0000
commit99dd3e13fc1c48a75842dbe87ddd1e87a3e213de (patch)
treee966dbb2081e58c2555cc54f339ce70140b5944f /package/base-files
parent64a8d6c4059674ddade73eb13866c6c14328f872 (diff)
downloadmtk-20170518-99dd3e13fc1c48a75842dbe87ddd1e87a3e213de.zip
mtk-20170518-99dd3e13fc1c48a75842dbe87ddd1e87a3e213de.tar.gz
mtk-20170518-99dd3e13fc1c48a75842dbe87ddd1e87a3e213de.tar.bz2
make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/files/bin/firstboot2
-rw-r--r--package/base-files/files/etc/ipkg.conf4
3 files changed, 1 insertions, 7 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 231647e..9f745aa 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -53,7 +53,6 @@ define Package/base-files$(TARGET)/conffiles
/etc/passwd
/etc/profile
/etc/shells
-/etc/ipkg.conf
/etc/sysctl.conf
$(call $(TARGET)/conffiles)
endef
@@ -149,7 +148,6 @@ define Package/base-files$(TARGET)/install
)
$(if $(CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS),cp $(1)/etc/passwd $(1)/etc/shadow)
$(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner
- $(SED) 's,$$$$S,$(BOARD),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf
mkdir -p $(1)/dev
mkdir -p $(1)/etc/crontabs
mkdir -p $(1)/jffs
diff --git a/package/base-files/files/bin/firstboot b/package/base-files/files/bin/firstboot
index ad87f74..c245d51 100755
--- a/package/base-files/files/bin/firstboot
+++ b/package/base-files/files/bin/firstboot
@@ -25,7 +25,7 @@ dupe() { # <new_root> <old_root>
case "$file" in
./rom/note) ;; #nothing
./etc/config*|\
- ./usr/lib/ipkg/info/*) cp -af $2/$file $file;;
+ ./usr/lib/opkg/info/*) cp -af $2/$file $file;;
*) ln -sf /rom/${file#./*} $file;;
esac
done
diff --git a/package/base-files/files/etc/ipkg.conf b/package/base-files/files/etc/ipkg.conf
deleted file mode 100644
index c6c9dc7..0000000
--- a/package/base-files/files/etc/ipkg.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-src snapshots http://downloads.openwrt.org/snapshots/$S/packages
-dest root /
-dest ram /tmp
-lists_dir ext /var/ipkg-lists