summaryrefslogtreecommitdiff
path: root/scripts/build_rootfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build_rootfs.sh')
-rwxr-xr-xscripts/build_rootfs.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build_rootfs.sh b/scripts/build_rootfs.sh
index 10f3a93..b4f6ce9 100755
--- a/scripts/build_rootfs.sh
+++ b/scripts/build_rootfs.sh
@@ -139,7 +139,7 @@ install_packages() {
local packages="$1"
for pkg in $packages; do
echo Install $pkg
- $OPKG install $pkg
+ $OPKG install --force-downgrade $pkg
done
}
@@ -149,7 +149,6 @@ if test -n "$metadata"; then
add_file $metadata $metadata_dir $dir
fi
add_files templates/ $dir/templates/
-add_packages bin/packages/${arch}/${subarch}
opkg_update
if test -n "$upgrade"; then
update_packages