소스 검색

Add /etc/openwrt_manifest

Mikael Magnusson 5 년 전
부모
커밋
eac1d0b868
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      scripts/build_rootfs.sh

+ 5 - 0
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