summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-09-02 13:33:59 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2019-09-02 13:33:59 +0000
commiteac1d0b868858f560cd06d49a9b7f85e6f498e69 (patch)
tree06e7d914452554d0bf2d47ec38c0ff8eb73bbfe1
parente7d351990a1670917bd877d594b3bc0d704a0270 (diff)
Add /etc/openwrt_manifest
-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