openwrt-mkipk

command module
v0.0.0-...-7bf7bc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: MIT Imports: 11 Imported by: 0

README

Mkipk - Openwrt ipk 打包工具

使用方法:

  1. 将要打包的目录按如下布局放入目录中,例如:
/home/gaorx/tmp/RexGatewayApp
├── control
│   ├── control
│   └── postinst
└── data
    ├── app
    │   ├── BackupPack
    │   ├── DeviceOta
    │   ├── GateWayDaemon.bin
    │   ├── ObjectModelList
    │   │   └── RexGateWayModel.ini
    │   ├── RexGateWayApp
    │   ├── ScenesModelList
    │   ├── SubDevicesList
    │   └── ca
    │       ├── client.crt
    │       ├── client.key
    │       └── root-ca.crt
    ├── etc
    │   ├── rc.local.back
    │   └── sysctl.conf.back
    └── usr
        └── lib
            ├── libcrypto.so.1.1
            ├── libcurl.so.4
            ├── libpaho-mqtt3c.so.1
            ├── libpaho-mqtt3cs.so.1
            ├── librexgatewaysdk.so
            └── libssl.so.1.1
  1. 执行命令:
# 需将输入和输出换成自己的路径
go run mkipk.go -i /path/to/input_dir -o /path/to/output_dir
  1. 执行完成后,在/path/to/output_dir中就可以看到输出的ipk文件了

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL