Browse Source

Add /etc/openwrt_manifest

Mikael Magnusson 5 years ago
parent
commit
eac1d0b868
1 changed files with 5 additions and 0 deletions
  1. 5 0
      scripts/build_rootfs.sh

+ 5 - 0
scripts/build_rootfs.sh

@@ -154,6 +154,10 @@ disable_services() {
     done
     done
 }
 }
 
 
+create_manifest() {
+    $OPKG list-installed > $instroot/etc/openwrt_manifest
+}
+
 unpack
 unpack
 disable_root
 disable_root
 if test -n "$metadata"; then
 if test -n "$metadata"; then
@@ -170,5 +174,6 @@ add_files $files_dir $instroot
 if test -n "$files"; then
 if test -n "$files"; then
 	add_files $files $instroot
 	add_files $files $instroot
 fi
 fi
+create_manifest
 pack
 pack
 #pack_squashfs
 #pack_squashfs