summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build_rootfs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build_rootfs.sh b/scripts/build_rootfs.sh
index ac31541..b7ee533 100755
--- a/scripts/build_rootfs.sh
+++ b/scripts/build_rootfs.sh
@@ -154,6 +154,10 @@ disable_services() {
done
}
+create_manifest() {
+ $OPKG list-installed > $instroot/etc/openwrt_manifest
+}
+
unpack
disable_root
if test -n "$metadata"; then
@@ -170,5 +174,6 @@ add_files $files_dir $instroot
if test -n "$files"; then
add_files $files $instroot
fi
+create_manifest
pack
#pack_squashfs